3 ms·
Literally trying this out on a raspberry pi right before I saw this. I wanted to try building from scratch. 0 issues with compiling. Still trying to talk to it
by ashton314 5y ago
Literally trying this out on a raspberry pi right before I saw this.
I wanted to try building from scratch. 0 issues with compiling. Still trying to talk to it—probably just some issues with my local DNS. Very impressive to see this kind of thing though! This looks like an excellent candidate for a p2p implementation!
UPDATE: It is running! I just need to get nginx set up. It was really easy to get everything else running, (really nice to not have to configure a db!) and that I think will be a boon to those interested in starting up their own home servers.
- 1MachineElf 5y agoGood luck! Please let us know how it goes.
- nucleardog 5y agoNot the guy you replied to, but I'd had my eye on Conduit for a while--after going deep down the rabbit hole dealing with Synapse, I'd given up on self-hosting Matrix for the time being and waiting for Conduit or something similar to get far enough along. After seeing the announcement, went and got it deployed out in like an hour (would've been less but I spent 45 minutes compiling because I'm running FreeBSD). The whole process was super easy. I'll have to play a bit more tomorrow--if I can figure out how to get stickers or something working I can probably convince at least my wife to move our conversations off of Telegram.
- ashton314 5y agoHere's how it went: - acquired DO droplet running FreeBSD (minimum build = $5/mo) [5 mins] - install Rust with `pkg` [2 mins] - install other important tools (git, nginx, certbot, etc.) [3 mins] - compile conduit from source [idk, something like 40 mins] Yes, building conduit takes a long time. - meanwhile, configure nginx, get certificates, etc. [concurrent with compile step] - set up daemon to run conduit [5 mins; took me more like 50 mins because this is the first daemon I've set up in rc.d–I'm a FreeBSD admin newbie, so I had to learn a bunch] - ??? - profit! All in all, remarkably slick with near-zero hiccups. Most issues result from quirks of FreeBSD that the install instructions don't cover specifically, as they're targeted for a Debian-based install. (In that case, things will go very, very fast because they hold your hand through everything. Way to go Conduit team!) Federation is working. It's largely just working. Mind flippin' blown. You do have to register on the web client https://app.element.io https://app.element.io because something is broken with the mobile SDKs I guess. Once you create an account through the web, you can sign in on Element, Fluffychat, whatever on mobile without a problem. Again, remarkably smooth setup. This is fantastic work.
- tym0 5y agoFor the people who, like me, were curious about the lack of DB to configure, the options for storage seem to be Sled[1] or SQLite. [1] https://github.com/spacejam/sled https://github.com/spacejam/sled
- koalp 5y agoConduit was built around sled in the past. It has been depreciated in favor of sqlite as sled was using too much memory. (and sqlite is used as a key-value storage) As there is now an interface allowing to add several storage backend, more backends could be added later (for instance a real key-value storage rather than a RDBMS used as a KV-store) (according to the article)