Description
Opengist is a self-hosted pastebin powered by Git, which the project offers as an open-source alternative to GitHub Gist. Each snippet is a Git repository, so you can clone and push to it over HTTP or SSH, or create one with a plain git push, and you can browse the full history with diffs between revisions. Snippets can be public, unlisted or fully private, and they can hold several files, including binary files and images, with a download as a ZIP. Rendering covers syntax highlighting for hundreds of languages, and Markdown with Mermaid diagrams, LaTeX, CSV and media files. Snippets can be starred, forked and tagged with topics, and a snippet can be embedded in any web page or fetched as JSON. Search covers code and metadata. Login can use GitHub, GitLab, Gitea, OIDC, LDAP, TOTP or WebAuthn passkeys. Opengist runs as a single binary, a Docker image or a Kubernetes deployment, with SQLite, PostgreSQL or MySQL as the database. Its admin controls include requiring login for a private instance and exposing Prometheus metrics. It suits people who want to host their own snippets and keep them under their control.…
Highlights
- Each snippet is a Git repository
- Public, unlisted or private snippets
- Revision history and diffs
- Single binary, Docker or Kubernetes install
Ratings & Reviews
No ratings yet
Be the first to rate Opengist.
People also visit
PrivateBin
Minimalist pastebin/discussion board where the server has zero knowledge of
Opengist FAQ
What is Opengist?
A self-hosted pastebin where every snippet is a Git repository, offered as an open-source alternative to GitHub Gist.
How do I run it?
As a single binary, a Docker image or a Kubernetes deployment. The site gives a Docker command with port 6157 and a volume for its data.
Can I use the Git command line?
Yes. You can clone and push snippets over HTTP or SSH, or manage them through the API.
Which login methods does it support?
GitHub, GitLab, Gitea, OIDC, LDAP, and accounts secured with TOTP or WebAuthn passkeys.
Which databases can it use?
SQLite, PostgreSQL or MySQL.
What are the best Opengist alternatives?
Popular alternatives to Opengist include PrivateBin, paaster and rustypaste. See all Opengist alternatives

