0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 16:04:15 +01:00
No description
Find a file
2017-08-23 15:52:15 -06:00
boost@ea02095164 Convert IRCd to C++ 2016-07-22 19:46:27 -07:00
charybdis charybdis: Various improvements / fixes to console etc. 2017-08-23 15:46:35 -06:00
doc Towards a leak-free repository. 2016-07-21 20:51:02 -07:00
gecko-dev@090fadc2ca ircd::js: Upgrade SpiderMonkey to esr52 from esr45. 2017-08-23 15:25:22 -06:00
help
include/ircd fixup! ircd::json: Improve object interface; remove dot traversal. 2017-08-23 15:52:15 -06:00
ircd ircd: Add std::random subsystem and utils. 2017-08-23 15:52:15 -06:00
m4 configure.ac: Support boost::filesystem / boost::dll. 2016-09-09 16:17:01 -07:00
modules ircd:Ⓜ️ Reorg location of database descriptions. 2017-08-23 15:52:14 -06: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 ircd::js: Upgrade SpiderMonkey to esr52 from esr45. 2017-08-23 15:25:22 -06: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 ircd::js: Upgrade SpiderMonkey to esr52 from esr45. 2017-08-23 15:25:22 -06:00
.mailmap
.travis.yml travis.yml: Update target matrix. 2017-03-10 17:51:19 -08:00
autogen.sh Build system cleanup. 2016-07-22 19:46:28 -07:00
configure.ac ircd: Add std::random subsystem and utils. 2017-08-23 15:52:15 -06:00
CREDITS CREDITS: charybdis official channel will now be on irc.charybdis.io. 2016-06-04 23:53:21 -05:00
LICENSE
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.md 2017-08-23 15:52:14 -06:00
shtool Add these for now until travis actually gets their shit together. 2016-04-10 17:07:33 -05:00

IRCd

Internet Relay Chat daemon: Charybdis

Charybdis is designed to be fast and highly scalable. It is also designed to be community- developed by volunteer contributors over the internet. This makes Charybdis easy to understand, modify, audit, and extend.

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 alias 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 protcol is known as the Matrix protocol.

IRCd now implements the Matrix protocol.

Charybdis/5

Charybdis Five is the first high performance 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 the architecture is the same.

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"

Building from git (DEVELOPER PREVIEW INSTRUCTIONS)

The developer preview will install charybdis in a specific directory isolated from the
system. It will not use or install system libraries. It will download and build the
dependencies from the submodules we have pinned here and build them the way we have
configured. Charybdis should be executed using those builds. You may need to set the
`LD_LIBRARY_PATH` to the built libraries. None of this will be required when released.

* `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**.

* `./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 things are changed around.

* `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 12.04 Precise GCC 5 Boost 1.61 POSIX Build Status
Linux Ubuntu 14.04 Trusty GCC 6 Boost 1.61 POSIX Build Status
Linux Ubuntu 14.04 Trusty Clang 3.8 Boost 1.61 POSIX Build Status
Apple Darwin 15.5 LLVM 7.3.0 Boost 1.61 POSIX Build Status
Windows mingw 3.5 Boost 1.61 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

Style

Misc

* When using a `switch` over an `enum` type, put what would be the `default` case after/outside
of the `switch` unless the situation specifically calls for one. We use -Wswitch so changes to
the enum will provide a good warning to update any `switch`.