Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.16 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.16 KB

Zingat

Rust License Contributions Welcome

Pastebin like app in rust

Securely share texts on the internet with password protection and expiry date.

browser-screenshot.png

Local Installation

  • Install Rust
  • Clone the Repository
  • Setup Database
    • Install SQLX with cargo install sqlx-cli
    • sqlx database setup
  • For Web Interface
    • cargo run --bin httpd
  • For Command Line Interface
    • cargo run --bin clipclient

Tech Stack

  • Rust
  • SQLX
  • Rocket
  • Tokio

Nuggets for devs

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