Self-hosted alternatives to GitHub Gist
Want code snippet sharing without handing your data to GitHub Gist? These 17 self-hosted apps run on your own server. Cheapest estimated hosting starts at about $3.5/month.
About GitHub Gist: GitHub's service for sharing code snippets.
| App | Health | Stars | License | Docker | RAM (est.) | From |
|---|---|---|---|---|---|---|
| PrivateBin | Active | 8.7k | Zlib | – | 1 GB | $5/mo |
| Opengist | Active | 3.4k | AGPL-3.0 | ✓ | 1 GB | $5/mo |
| ByteStash | Active | 2.6k | GPL-3.0 | ✓ | 1 GB | $5/mo |
| rustypaste | Active | 1.2k | MIT | – | 512 MB | $3.5/mo |
| Wastebin | Active | 884 | MIT | ✓ | 512 MB | $3.5/mo |
| paaster | Active | 568 | AGPL-3.0 | ✓ | 1 GB | $5/mo |
| dpaste | Maintained | 642 | MIT | ✓ | 1 GB | $5/mo |
| Local Content Share | Maintained | 495 | MIT | ✓ | 512 MB | $3.5/mo |
| Pastefy | Maintained | 463 | MIT | ✓ | 2 GB | $10/mo |
| snowshare | Active | 91 | CC0-1.0 | ✓ | 1 GB | $5/mo |
| Snipo | Active | 73 | AGPL-3.0 | ✓ | 512 MB | $3.5/mo |
| Chiyogami | Maintained | 82 | BSD-3-Clause | ✓ | 1 GB | $5/mo |
| BinPastes | Active | 19 | Apache-2.0 | – | 2 GB | $10/mo |
| not-th.re | Active | 17 | AGPL-3.0 | ✓ | 1 GB | $5/mo |
| lesma | Maintained | 9 | GPL-3.0 | ✓ | 512 MB | $3.5/mo |
| SnyPy | Unknown | – | MIT | ✓ | 1 GB | $5/mo |
| pacebin | Slowing | 0 | AGPL-3.0 | – | 512 MB | $3.5/mo |
The options in detail
1. PrivateBin
Minimalist pastebin/discussion board where the server has zero knowledge of hosted data.
Active Last commit 2026-11-04. Latest release 2.1.1 (2026-11-04). Needs roughly 1 GB RAM. How to run it →
2. Opengist
Pastebin powered by Git.
Active Last commit 2026-10-21. Latest release v1.15.3 (2026-10-21). Needs roughly 1 GB RAM. How to run it →
3. ByteStash
Pastebin and file storage service with a simple web interface. Supports syntax highlighting, optional user authentication and public sharing.
Active Last commit 2026-11-01. Latest release v1.6.1 (2026-11-01). Needs roughly 1 GB RAM. How to run it →
4. rustypaste
Minimal file upload/pastebin service.
Active Last commit 2026-11-04. Latest release v0.18.1 (2026-09-07). Needs roughly 512 MB RAM. How to run it →
5. Wastebin
Lightweight, minimal and fast pastebin with an SQLite backend.
Active Last commit 2026-10-20. Latest release 3.9.0 (2026-10-15). Needs roughly 512 MB RAM. How to run it →
6. paaster
End-to-end encrypted pastebin built with the objective of simplicity.
Active Last commit 2026-10-26. Latest release v3.6.2 (2026-10-21). Needs roughly 1 GB RAM. How to run it →
7. dpaste
Simple pastebin with multiple text and code option, with short url result easy to remember.
Maintained Last commit 2026-02-20. Latest release v3.8 (2023-11-18). Needs roughly 1 GB RAM. How to run it →
9. Pastefy
Beautiful, simple and easy to deploy Pastebin with optional client encryption, multitab pastes, an API, a highlighted editor and more.
Maintained Last commit 2026-06-01. Latest release 7.2.6 (2026-06-01). Needs roughly 2 GB RAM. How to run it →
11. Snipo
Lightweight, self‑hosted snippet manager for saving and organizing code and text snippets with folders, tags, API, and GitHub Gist sync.
Active Last commit 2026-11-05. Latest release v2.1.1 (2026-11-05). Needs roughly 512 MB RAM. How to run it →
12. Chiyogami
Pastebin with API, client-side encryption, user accounts, syntax highlighting, markdown rendering, and more.
Maintained Last commit 2026-07-21. Latest release 1.5.6 (2026-07-21). Needs roughly 1 GB RAM. How to run it →
13. BinPastes
Minimal pastebin supporting client-side encryption, fulltext search, one-time messages. Intended for one to few users looking for a simple pastebin deployment.
Active Last commit 2026-11-01. Latest release v1.0.707 (2026-10-04). Needs roughly 2 GB RAM. How to run it →
14. not-th.re
Simple paste sharing platform, with client side encryption, featuring the monaco browser-based code editor.
Active Last commit 2026-10-06. Latest release 2.X.X (2025-02-01). Needs roughly 1 GB RAM. How to run it →
15. lesma
Simple paste app friendly with browser and command line.
Maintained Last commit 2026-01-21. 2 releases in the past year. Latest release 1.3.2 (2026-01-21). Needs roughly 512 MB RAM. How to run it →
16. SnyPy
On-prem code snippet manager.
Unknown Needs roughly 1 GB RAM. How to run it →
17. pacebin
Super-minimal pastebin and file upload service focusing on small executable size, portability, and ease of configuration.
Slowing Last commit 2025-09-06. Needs roughly 512 MB RAM. How to run it →
Why self-host instead of GitHub Gist?
- Own your data — it lives on a server you control, with backups you decide on.
- Predictable cost — a small VPS often replaces per-seat pricing for a whole team or family.
- No lock-in — open-source licenses let you keep running the software even if a vendor disappears.
The trade-off: you are responsible for updates, backups and security. Pick an app marked Active (a commit in the last 90 days) and with Docker support for the easiest ride.
Browse related categories
Other alternatives guides
GitHub Gist is a trademark of its owner; this site is not affiliated with it. Listings come from the community-maintained awesome-selfhosted list.