0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00
No description
Find a file
2017-10-03 04:27:12 -07:00
boost@ea02095164
charybdis Add support for libsodium (NaCl) cryptography. 2017-10-03 04:27:10 -07: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
include/ircd ircd: Use chrono_literals. 2017-10-03 04:27:12 -07:00
ircd ircd::http: Minor urldecode grammar fix. 2017-10-03 04:27:12 -07:00
m4
modules client: Fixes to client. 2017-10-03 04:17:11 -07:00
rocksdb@7f5f0e0c03 ircd::db: Improve/comment DB subsystem; Add version identification. 2017-08-23 15:38:51 -06:00
scripts
testsuite
tools Update doxygen config. 2017-09-24 18:16:33 -07:00
.appveyor-build.sh
.appveyor.yml
.gitignore
.gitmodules .gitmodules: Fix boost branch. 2017-09-08 03:47:50 -07:00
.mailmap
.travis.yml travis.yml: Update travis.yml. 2017-09-24 18:16:38 -07:00
autogen.sh
configure.ac Add support for libsodium (NaCl) cryptography. 2017-10-03 04:27:10 -07:00
CREDITS
LICENSE
Makefile.am ircd;modules: Minor Makefile tweaks. 2017-04-04 16:10:29 -07:00
NEWS.md
README.md Add support for libsodium (NaCl) cryptography. 2017-10-03 04:27:10 -07:00
shtool

IRCd

Internet Relay Chat daemon: Charybdis

IRCd is a free and open source server which facilitates real-time communication over the internet. It was started in 1988 by Jarkko Oikarinen in the University of Oulu and eventually made its way to William Pitcock et al, whom after 2005 developed the project under the brand Charybdis.

In 2014 a protocol was proposed to reinvigorate real-time communication in lieu of growing commercial competition and a lack of innovation from open source alternatives to compete. This protocol is known as the Matrix protocol.

IRCd now implements the Matrix protocol.

Charybdis/5

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.

Charybdis Five is the first implementation of Matrix written in C++. It remains true to its roots for being highly scalable, modular and having minimal requirements. Most of the old code has been rewritten but with the same architecture and spirit of the original.

Installation

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