A minimalist self-hosted pastebin service with Reed-Solomon (RS) error correction.
Built with FastAPI and served via Granian.
-
Clone the repository
git clone https://github.com/mango-habanero/paste-rs.git cd paste-rs -
Install dependencies
uv sync --extra dev
-
Create environment configuration
cp .env.example .env
-
Configure environment variables (
.env):# server configuration HOST=127.0.0.1 PORT=8000 WORKERS=1 # application configuration ENVIRONMENT=development
-
Start the development server
granian --interface asgi src.app:app
-
Verify the installation
curl http://localhost:8000/health
-
Access the API documentation Open
http://localhost:8000/docsin your browser.
- TDD.md – Technical Design Document