1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2024-12-29 12:44:35 +01:00
No description
Find a file
Timo Kösters 1ab209736a Merge branch 'forbidden' into 'master'
fix: Forbidden instead of InvalidParam when joining

See merge request famedly/conduit!84
2021-05-22 19:56:46 +00:00
.gitea Change license to Apache-2.0 2020-10-18 13:47:52 +02:00
.gitlab/issue_templates Chore: Add Issue Template 2021-02-26 14:55:06 +00:00
.vscode add settings.json 2021-03-14 11:55:28 +01:00
debian Purge debconf changes from the DB on purge 2021-04-22 21:52:47 +02:00
docker Fix wrong env var name in traefik compose 2021-05-22 20:49:07 +02:00
src fix: bad except in ruma wrapper 2021-05-22 21:33:31 +02:00
tests Merge remote-tracking branch 'famedly/master' into develop 2021-04-14 10:26:28 +02:00
.dockerignore Update dockerignore 2020-09-17 20:14:07 +02:00
.gitignore Add more gitignore 2021-03-13 20:33:16 +01:00
.gitlab-ci.yml fix: run ci with docker 2021-05-22 21:41:08 +02:00
APPSERVICES.md docs: APPSERVICES setup guide 2021-05-22 13:55:28 +02:00
Cargo.lock improvement: federation get_keys and optimize signingkey storage 2021-05-21 13:25:24 +02:00
Cargo.toml Merge branch 'cargo-deb-packaging-update' into 'master' 2021-05-22 09:03:43 +00:00
conduit-example.toml Merge branch 'cargo-deb-packaging-update' into 'master' 2021-05-22 09:03:43 +00:00
CROSS_COMPILE.md Merge branch 'tls-name' into 'master' 2021-04-23 05:22:07 +00:00
DEPLOY.md docs: APPSERVICES setup guide 2021-05-22 13:55:28 +02:00
docker-compose.yml Add CONDUIT_TRUSTED_SERVERS config param 2021-05-22 16:53:48 +02:00
Dockerfile Add CONDUIT_CONFIG to all relevant docker files 2021-05-22 16:53:48 +02:00
LICENSE Change license to Apache-2.0 2020-10-18 13:47:52 +02:00
README.md Add CONDUIT_CONFIG to all relevant docker files 2021-05-22 16:53:48 +02:00
rust-toolchain chore: get rid of warnings 2021-03-18 18:33:43 +01:00
rustfmt.toml chore: get rid of warnings 2021-03-18 18:33:43 +01:00

Conduit

A Matrix homeserver written in Rust

What is the goal?

A fast Matrix homeserver that's easy to set up and just works. You can install it on a mini-computer like the Raspberry Pi to host Matrix for your family, friends or company.

Can I try it out?

Yes! Just open a Matrix client (https://app.element.io or Element Android for example) and register on the https://conduit.koesters.xyz homeserver.

What is it build on?

  • Ruma: Useful structures for endpoint requests and responses that can be (de)serialized
  • Sled: A simple (key, value) database with good performance
  • Rocket: A flexible web framework

What is the current status?

Conduit can already be used chat with other users on Conduit, chat with users from other Matrix servers and even to chat with users on other platforms using appservices. When chatting with users on the same Conduit server, everything should work assuming you use a compatible client.

You should not join Matrix rooms without asking the admins first. We do not know whether Conduit is safe for general use yet, so you should assume there is some chance that it breaks rooms permanently for all participating users. We are not aware of such a bug today, but we would like to do more testing.

There are still a few important features missing:

  • Database stability (currently you might have to do manual upgrades or even wipe the db for new versions)
  • End-to-end encrypted chats over federation
  • Typing, presence, read receipts etc. over federation
  • Lots of testing

Check out the Conduit 1.0 Release Milestone.

How can I deploy my own?

Deploy

Download or compile a Conduit binary, set up the config and call it from somewhere like a systemd script. Read more

If you want to connect an Appservice to Conduit, take a look at the Appservice Guide.

If you want to cross compile Conduit to another architecture, read the Cross-Compile Guide.

Deloy using a Debian package

You need to have the deb helper command installed that creates Debian packages from Cargo projects (see cargo-deb for more info):

$ cargo install cargo-deb

Then, you can create and install a Debian package at a whim:

$ cargo deb
$ dpkg -i target/debian/matrix-conduit_0.1.0_amd64.deb

This will build, package, install, configure and start Conduit. Read more.

Note that cargo deb supports cross-compilation too! Official Debian packages will follow once Conduit starts to have stable releases.

Deploy using Docker

Pull and run the docker image with

docker pull matrixconduit/matrix-conduit:latest
docker run -d -p 8448:8000 -v ~/conduit.toml:/srv/conduit/conduit.toml -v db:/srv/conduit/.local/share/conduit matrixconduit/matrix-conduit:latest

Note: You also need to supply a conduit.toml config file, you can find an example here. Or you can pass in -e CONDUIT_CONFIG="" and configure Conduit purely with env vars.

Or build and run it with docker or docker-compose. Read more

How can I contribute?

  1. Look for an issue you would like to work on and make sure it's not assigned to other users
  2. Ask someone to assign the issue to you (comment on the issue or chat in #conduit:nordgedanken.dev)
  3. Fork the repo and work on the issue. #conduit:nordgedanken.dev is happy to help :)
  4. Submit a MR

Donate

Liberapay: https://liberapay.com/timokoesters/
Bitcoin: bc1qnnykf986tw49ur7wx9rpw2tevpsztvar5x8w4n

Lightning Bolt Logo: https://github.com/mozilla/fxemoji/blob/gh-pages/svgs/nature/u26A1-bolt.svg
Logo License: https://github.com/mozilla/fxemoji/blob/gh-pages/LICENSE.md