Rust rewrite of THR (Mirror because Codeberg is broken)
https://codeberg.org/haras/thrapirs
migrations | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
diesel.toml | ||
LICENSE | ||
README.md |
THRAPIRS
A Rust rewrite of The House - Reloaded using diesel, actix-web and clap.
Why?
Rust is faster than Python. Also felt curious.
Status
THRAPIRS is in early stages of development. It is incomplete and needs a lot more work to finish. As of compatibility with the THR API, It is not compatible! It might however replace the original python implementation.
Setup
- Clone the repo and install THRAPIRS by running
$ cargo install --path .
- Set the following environment variables:
THRAPIRS_DATA_DIR
: THRAPI data directory (default:./data/
).THRAPIRS_DATABASE_URL
: SQLite database path (default:./data/thrapirs.db
).
$ thrapirs run
, Pass--help
for more options.
License
THRAPIRS is licensed under the Affero General Public License V3.0.