Pastebin like app in rust
Securely share texts on the internet with password protection and expiry date.
- Install Rust
- Clone the Repository
- Setup Database
- Install SQLX with
cargo install sqlx-cli sqlx database setup
- Install SQLX with
- For Web Interface
cargo run --bin httpd
- For Command Line Interface
cargo run --bin clipclient-
Zingat API Client USAGE: clipclient --api-key <api-key> [addr] <SUBCOMMAND> FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: --api-key <api-key> ARGS: <addr> [env: ZINGAT_ADDR=] [default: http://127.0.0.1:8000] SUBCOMMANDS: get help Prints this message or the help of the given subcommand(s) new update
- Rust
- SQLX
- Rocket
- Tokio
- Instead of logging each view (hit) directly into the database, we defer these operations into separate threads. This allows us to batch multiple hits into a single database commit, significantly improving performance and reducing contention on the database.

