Rust rewrite of THR (Mirror because Codeberg is broken) https://codeberg.org/haras/thrapirs
This repository has been archived on 2025-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2025-04-07 06:46:02 +03:00
migrations services: fix created_at and updated_at 2025-03-19 11:03:57 +03:00
src api: updated all category endpoints 2025-04-07 06:22:13 +03:00
.gitignore cli: finished comments interface 2025-03-19 06:39:56 +03:00
Cargo.lock api: added thread DELETE routes 2025-04-01 05:12:28 +03:00
Cargo.toml api: added user routes 2025-03-29 01:26:02 +03:00
diesel.toml Initialization 2025-03-18 07:32:36 +03:00
LICENSE Initialization 2025-03-18 07:32:36 +03:00
README.md Updated README.md 2025-04-07 06:46:02 +03:00

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

  1. Clone the repo and install THRAPIRS by running $ cargo install --path .
  2. Set the following environment variables:
    1. THRAPIRS_DATA_DIR: THRAPI data directory (default: ./data/).
    2. THRAPIRS_DATABASE_URL: SQLite database path (default: ./data/thrapirs.db).
  3. $ thrapirs run, Pass --help for more options.

License

THRAPIRS is licensed under the Affero General Public License V3.0.