Loading page
Loading page
Developer tools · GitHub Gist alternative
Share code snippets like GitHub Gist, with every snippet stored in its own Git repository.
Opengist is a self-hosted pastebin powered by Git. It works much like GitHub Gist. You paste code, give it a title and pick who can see it. Behind the scenes, each snippet is its own Git repository, so you can also clone it, edit it locally and push changes back.
The web side has the features you expect: syntax highlighting, Markdown rendering, search, revisions, likes, forks and topics. Snippets can be embedded in other sites. Login can use local accounts or OAuth through GitHub, GitLab, Gitea or OpenID Connect.
It suits developers and teams that pass around scripts, configs and examples, and want them in one searchable place. It is also a good fit for companies that cannot put internal code on public gist services.
Public gist sites live on someone else's servers, and secret gists are only hidden, not private. Opengist gives you real private snippets on your own domain, with your own access rules.
It is light to run, and the data is plain Git repositories, which are easy to back up and move. The trade-off is that you look after updates and backups. You also decide who can sign up, so lock down registration if the URL is public.
Containers: ghcr.io/thomiceli/opengist:1
Step 1
Choose the Starter plan. It costs $20 a month and runs up to 3 apps.
Step 2
Open App templates in the dashboard, choose OpenGist, and click Deploy. We set up the containers, secrets and domain.
Step 3
Wait a few minutes for the first deploy, then open your new URL and finish the OpenGist setup screen.