0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00
No description
Find a file
2017-11-30 11:23:44 -08:00
boost@436ad1dfcf stick boost 2017-11-30 11:23:41 -08:00
charybdis charybdis: Add -execute command line option; support console execute. 2017-11-30 11:23:44 -08:00
doc Update README. 2017-10-03 04:17:08 -07:00
gecko-dev@090fadc2ca ircd::js: Upgrade SpiderMonkey to esr52 from esr45. 2017-08-23 15:25:22 -06:00
help Really fix the help index. 2016-03-12 06:26:50 -06:00
include/ircd ircd::db: Improve column find by name from linear to logn; can still be O(1) with more work. 2017-11-30 11:23:44 -08:00
ircd ircd::net/db: Hard debug log quiet for now; minor cleanup. 2017-11-30 11:23:44 -08:00
m4 m4: Add missing C++17 related stub and possibly helpful message. 2017-10-15 21:32:48 -07:00
modules client: Update; Add m.room.name timeline display handler; Various. 2017-11-30 11:23:43 -08:00
rocksdb@7f5f0e0c03 ircd::db: Improve/comment DB subsystem; Add version identification. 2017-08-23 15:38:51 -06:00
scripts Refactor repository layout. 2016-07-21 20:51:02 -07:00
testsuite testsuite: Update startall.sh 2016-03-28 00:09:01 -04:00
tools tools: Add very preliminary synapse db dump tool. 2017-11-30 11:23:43 -08:00
.appveyor-build.sh Introduce Mozilla SpiderMonkey. 2016-10-25 01:55:50 -07:00
.appveyor.yml appveyor: Update for C++ 2016-07-22 19:46:27 -07:00
.gitignore ircd: add local .gitignore. 2016-07-22 19:46:27 -07:00
.gitmodules stick boost 2017-11-30 11:23:41 -08:00
.mailmap mailmap: Sam is Christine now apparently. 2016-03-17 14:48:46 -05:00
.travis.yml travis.yml: Update travis.yml. 2017-09-24 18:16:38 -07:00
autogen.sh Build system cleanup. 2016-07-22 19:46:28 -07:00
configure.ac configure.ac: Update warning suppressions; reasoning/commentaries. 2017-11-30 11:23:39 -08:00
CREDITS CREDITS: charybdis official channel will now be on irc.charybdis.io. 2016-06-04 23:53:21 -05:00
LICENSE Remove more $Id tags. 2016-03-06 02:58:32 -06:00
Makefile.am ircd;modules: Minor Makefile tweaks. 2017-04-04 16:10:29 -07:00
NEWS.md NEWS: document websocket availability 2016-05-14 17:24:56 -05:00
README.md Update README. 2017-11-30 11:23:42 -08:00
shtool Add these for now until travis actually gets their shit together. 2016-04-10 17:07:33 -05:00

IRC++d

Internet Relay Chat daemon: charybdis/5

IRCd is a free and open source server which facilitates real-time communication over the internet. It was started by Jarkko Oikarinen in 1988 at the University of Oulu and its derivatives underpinned the major IRC networks for decades. Eventually the project found itself under the curation of William Pitcock et al, whom after 2005 further developed it under the brand Charybdis.

In 2014 a new approach was proposed to reinvigorate real-time communication in lieu of growing proprietary competition from opaque cloud services. This is known as the Matrix Protocol: a superset of IRC that evolves it into a federation of networks and provides a means for interoperability with the modern 21st century internet messaging ecosystem.

IRCd has been rewritten to implement the Matrix Protocol using some of the latest techniques available for modern C++ free software. Just like the first iteration of IRCd, the latest Charybdis employs technologies in vogue for this era which provide a fulfilling experience for users and a powerfully extensible environment for developers.

Charybdis is designed to be fast and highly scalable, and to be community developed by volunteer contributors over the internet. This mission strives to make the software easy to understand, modify, audit, and extend. It remains true to its roots with its modular design and having minimal requirements. Even though almost all of the old code has been rewritten, the same spirit and philosophy of the predecessor is still obvious throughout.

charybdis/5 federates your IRC network with the atheme/8 module

This is the first implementation of a Matrix homeserver written in C++; it serves matrix clients over HTTP. The RFC1459 family of legacy grammars are employed to translate matrix to and from legacy IRC networks supporting TS6 in a module called atheme/8.

Installation

Getting up and running with Charybdis is easy. A deployment can scale from as little as a low-end virtual machine running a stock linux distribution to a large load balanced cluster operating in synchrony.

Dependencies

Boost (1.61 or later) - We have replaced libratbox with the well known and actively developed Boost libraries. These are included as a submodule in this repository.

RocksDB (based on LevelDB) - We replace sqlite3 with a lightweight and embedded database and have furthered the mission of eliminating the need for external "IRC services"

Other dependencies: sodium (NaCl crypto), OpenSSL, zlib, snappy (for rocksdb)

Build dependencies: gnu++14 compiler, automake, autoconf, autoconf2.13, autoconf-archive, libtool, shtool

Downloading Charybdis

git clone https://github.com/charybdis-ircd/charybdis cd charybdis git checkout 5 - Verify you have the latest source tree and are on the Matrix branch.

Building from git (production)

./autogen.sh ./configure make sudo make install

Building from git (DEVELOPER PREVIEW INSTRUCTIONS)

This is only intended to allow development with dependencies that have not made their way to mainstream systems yet. Not for release.

The developer preview will install charybdis in a specific directory isolated from the system. It will avoid using system libraries by downloading and building the dependencies from the submodules we have pinned here and build them the way we have configured. You may need to set the LD_LIBRARY_PATH to the built libraries and/or maintain an intact build directory.

./autogen.sh mkdir build

  • The install directory may be this or another place of your choosing.
  • If you decide elsewhere, make sure to change the --prefix in the ./configure statement below.

CXX=g++-6 ./configure --prefix=$PWD/build --enable-debug --with-included-boost=shared --with-included-rocksdb=shared

  • Many systems alias g++ to an older version. To be safe, specify a version manually in CXX. This will also build the submodule dependencies with that version.
  • The --with-included-* will fetch, configure and build the dependencies included as submodules. Include =shared for now until static libraries are better handled.

make make install

Platforms

Charybdis This branch is not meant for production. Use at your own risk.

Continuously Integrated Host Compiler Third party Status
Linux Ubuntu 16.04 Xenial GCC 6 Boost 1.62 POSIX Build Status
Linux Ubuntu 14.04 Xenial Clang 3.8 Boost 1.62 POSIX Build Status
Apple Darwin 15.5 LLVM 7.3.0 Boost 1.62 POSIX Build Status
Windows mingw 3.5 Boost 1.62 Windows Build Status

Tips

  • Please read doc/index.txt to get an overview of the current documentation.

  • Read the NEWS file for what's new in this release.

Developers

  • Generate doxygen using /usr/bin/doxygen tools/doxygen.conf the target directory is doc/html. Browse to doc/html/index.html