Hasty Briefsbeta

Show HN: Pbnj – A minimal, self-hosted pastebin you can deploy in 60 seconds

6 days ago
  • #Deployment
  • #API
  • #CLI
  • Authentication for write operations requires a Bearer token.
  • Endpoints include creating a paste via POST /api.
  • CLI installation is done via npm install -g @pbnj/cli.
  • Configuration is set up using pbnj --init, creating a ~/.pbnj file.
  • Cost breakdown mentions Cloudflare D1 Free Tier with specific limits.
  • Deployment guide recommends a one-click deploy to Cloudflare.
  • pbnj is a minimal self-hosted pastebin solution for sharing code snippets and text files.
  • Web interface uses the same AUTH_KEY as CLI and API for authentication.
  • Configuration is managed through a pbnj.config.js file in the project root.