Stacks / Docs
PrivateBin / Opengist
Pastes you host. PrivateBin is Zlib/libpng (GitHub license Other); Opengist is AGPL-3.0 — Pastebin without the hosted paste seat.
The problem
Pastebin is a hosted paste dump. GitHub Gists is a hosted snippet next to a git host. You wanted a snippet and an expiry on a box you run. PrivateBin is Zlib/libpng (PrivateBin/PrivateBin; GitHub license field is Other; last push 24 Oct 2026) — the browser encrypts, the server stores ciphertext. Opengist is AGPL-3.0 (thomiceli/opengist; last push 21 Oct 2026) if the job is a GitHub Gist you host. Microbin is BSD-3-Clause (szabodanika/microbin; last push 8 Sep 2026) if you want that Rust dump. This is not Pastebin Pro's every syntax SKU. CryptPad is an encrypted office pad, not a paste link. A git host stays on /replace/github.
Replaces
Pastebin / GitHub Gists
Replace Pastebin Replace GitHub Gists See all best open-source pastebins
Estimated SaaS saved
$1,200
per year, small team, before lock-in
Start on RailwayForgejo if this is a git host, not a paste
Placeholder: PrivateBin (PHP + a data path) or Opengist plus a volume for gists. Bind HTTP to 0.0.0.0:$PORT. No one-click template in this repo yet — Start on Railway.
The stack
- PrivateBin
Zlib/libpng zero-knowledge paste (GitHub license Other) — the published Pastebin path
- Opengist
AGPL-3.0 Git-backed gist if the job is Gist, not a paste
- Microbin
BSD-3-Clause Rust paste dump if that shape is the job
Cost table
| You stop paying | Typical / year | Self-host instead |
|---|---|---|
| Pastebin / hosted paste (small team) | $1,200 | PrivateBin, Opengist, or Microbin |
Agent setup prompt
Replace Pastebin with PrivateBin (preferred zero-knowledge paste) or Opengist (Gist-shaped). - Official image. Persist the data path. Create one paste. Do not claim Pastebin Pro syntax packs. - Microbin if you want that Rust dump. A git host stays on /stacks/forgejo-git. - Write AGENT_PROMPT.md.
Also as markdown: /stacks/privatebin-paste.md
FAQ
- PrivateBin or Opengist?
- PrivateBin if you want a zero-knowledge paste (the published Pastebin path). Opengist if you want a GitHub Gist you host — /replace/github-gists and /compare/privatebin-vs-opengist.
- Is the PrivateBin license OSI?
- The project documents Zlib/libpng. GitHub's license field is Other. The published path is still that paste.
- Are these free?
- PrivateBin is Zlib/libpng. Opengist is AGPL-3.0. Microbin is BSD-3-Clause. You pay hosting. Template users never pay c17.