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.

AppHealthStarsLicenseDockerRAM (est.)From
PrivateBinActive8.7kZlib–1 GB$5/mo
OpengistActive3.4kAGPL-3.0✓1 GB$5/mo
ByteStashActive2.6kGPL-3.0✓1 GB$5/mo
rustypasteActive1.2kMIT–512 MB$3.5/mo
WastebinActive884MIT✓512 MB$3.5/mo
paasterActive568AGPL-3.0✓1 GB$5/mo
dpasteMaintained642MIT✓1 GB$5/mo
Local Content ShareMaintained495MIT✓512 MB$3.5/mo
PastefyMaintained463MIT✓2 GB$10/mo
snowshareActive91CC0-1.0✓1 GB$5/mo
SnipoActive73AGPL-3.0✓512 MB$3.5/mo
ChiyogamiMaintained82BSD-3-Clause✓1 GB$5/mo
BinPastesActive19Apache-2.0–2 GB$10/mo
not-th.reActive17AGPL-3.0✓1 GB$5/mo
lesmaMaintained9GPL-3.0✓512 MB$3.5/mo
SnyPyUnknown–MIT✓1 GB$5/mo
pacebinSlowing0AGPL-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 →

8. Local Content Share

Store and share text snippets and files within your local network.

Maintained Last commit 2026-01-28. Latest release v37 (2026-01-28). Needs roughly 512 MB 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 →

10. snowshare

File and link sharing platform with URL shortening, code snippet sharing, and file uploads, featuring customizable expiration, privacy settings, and QR codes.

Active Last commit 2026-11-03. Latest release v1.5.8 (2026-11-03). Needs roughly 1 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?

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

Pastebins

Other alternatives guides

Pastebin alternativesWeTransfer alternativesImgur alternativesBitly alternativesTinyURL alternativesRebrandly alternatives

GitHub Gist is a trademark of its owner; this site is not affiliated with it. Listings come from the community-maintained awesome-selfhosted list.