Skip to content

asonix/cobalt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cobalt

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.

⚠️ This is nowhere near production ready ⚠️

⚠️ The passwords are currently stored in plain text ⚠️

Features

  • 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.

Getting started

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

About

ActivityPub implementation in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published