pastebin

A minimalist, high-performance paste service written in Go.
Deployment
Docker Compose
services:
pastebin:
image: ghcr.io/skidoodle/pastebin:latest
container_name: pastebin
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- ./data:/data
Manual Installation
Requires Go 1.25 or higher.
go build -o pastebin .
./pastebin -addr :3000 -db-path pastebin.db
Configuration
| Flag |
Description |
Default |
-addr |
Socket address to bind to. |
:3000 |
-db-path |
Path to the BoltDB database file. |
pastebin.db |
-max-size |
Maximum allowed paste size in bytes. |
10485760 |
-ttl |
Time to live for pastes before expiration. |
168h0m0s |
License
This project is licensed under the Zero-Clause BSD.