Cobalt aims to be a lightweight implementation of the ActivityPub standard, allowing it to federate with other implementations such as Mastodon.
For a lightweight frontend see Kobold.
- Authentication -
⚠️ currently vulnerable to CSRF and possibly others⚠️ - User endpoint
- Following endpoint
- Followers endpoint
- Inbox endpoint
- Outbox endpoint
The roadmap will be expanded as the features will be implemented.
This relies on Rust Nightly, since that is what Rocket - the web framework we use - requires.
You need the Diesel CLI to set up the database. It can be installed with
cargo install diesel_cli --no-default-features --features postgres
To set up the database run
DATABASE_URL=postgres://cobalt@localhost/cobalt_development diesel run
You should now be able to start the server
DATABASE_URL=postgres://cobalt@localhost/cobalt_development ROCKET_SECRET_KEY=4Ei10ygh7KiPBkavOD0PV2lyiF6c20rJbECFkNfraw8= cargo run