
Opengist
Opengist is a free, open-source pastebin that runs on your own server and uses Git to manage snippets.
What Opengist is
Opengist is a free, open-source pastebin that runs on your own server and uses Git to manage snippets. Each snippet is a Git repository: you can create one with a Git push or clone and update it over HTTP or SSH. Snippets may be public, unlisted or private, and can hold multiple files, including images and binary files; a ZIP download is available. The service provides revision history and diffs, along with full-text and code search across snippets and metadata. It supports syntax highlighting for hundreds of languages, plus Markdown, Mermaid, LaTeX, CSV and media files. Login options include GitHub, GitLab, Gitea, OIDC and LDAP, while accounts can use TOTP or WebAuthn security. Administrators can manage users, require login on private instances, permit anonymous snippets and expose Prometheus metrics. Deployment choices include a single binary, Docker or Kubernetes, with SQLite, PostgreSQL or MySQL. Snippets can be embedded or retrieved as JSON, and a REST API uses personal access tokens with per-resource scopes.
Good
- Snippets can be public, unlisted or private.
- Git push, clone and updates work over HTTP or SSH.
- Revision history includes diffs.
- Deployment supports SQLite, PostgreSQL or MySQL.
- Login supports several providers and LDAP.
Watch out
- Git is required to run Opengist.
- Git over SSH also requires OpenSSH.
- The documentation recommends Git 2.28 or later.
Who it suits
Opengist suits people who want to host and manage code or text snippets through Git. It also fits administrators who need controls for private instances and user access.
Verdict
Opengist pairs a self-hosted pastebin with Git-based versioning, search and access controls. It is free and open source, but operating it requires Git.
The facts
Each one read from Opengist's own pages, with the date it was checked.
What it does
- Account security
- The site says accounts can be secured with TOTP or WebAuthn.checked 5 Oct 2026
- Administration
- Administrators can require login, allow anonymous snippets, manage users, and expose Prometheus metrics.checked 5 Oct 2026
- API
- Opengist exposes a REST API using personal access tokens with per-resource read or read/write scopes.checked 5 Oct 2026
- API and embeds
- Snippets can be embedded in webpages or retrieved as JSON, and the documentation describes an API.checked 4 Oct 2026
- Authentication
- The site lists login through GitHub, GitLab, Gitea, OIDC, and LDAP, and account security with TOTP or WebAuthn.checked 4 Oct 2026
- Deployment
- The maker lists a single binary, Docker image, or Kubernetes deployment, with SQLite, PostgreSQL, or MySQL.checked 5 Oct 2026
- Deployment and databases
- Opengist can be deployed as a single binary, Docker image, or Kubernetes deployment, and supports SQLite, PostgreSQL, or MySQL.checked 4 Oct 2026
- Files
- A snippet can contain multiple files, including binary files and images, and can be downloaded as a ZIP.checked 5 Oct 2026
- Git access
- Users can clone and push snippets over HTTP or SSH, or create snippets with a plain git push.checked 5 Oct 2026
- Git workflow
- Each snippet is a Git repository that can be cloned and pushed over HTTP or SSH, or created with a plain Git push.checked 4 Oct 2026
- History
- Each snippet has a revision history with diffs between revisions.checked 5 Oct 2026
- Integrations
- Login can use GitHub, GitLab, Gitea, or OpenID Connect; the documentation also describes LDAP authentication.checked 5 Oct 2026
- Purpose
- Opengist is an open-source, self-hosted pastebin powered by Git, with snippets managed through its web interface or standard Git commands.checked 5 Oct 2026
- Rendering
- The site lists syntax highlighting for hundreds of languages and Markdown support for Mermaid, LaTeX, CSV, and media files.checked 5 Oct 2026
- Runtime requirement
- The documentation says Git is required and recommends Git 2.28 or later; OpenSSH is needed for Git over SSH.checked 4 Oct 2026
- Search
- Opengist supports full-text and code search across snippets and metadata.checked 4 Oct 2026
- Search and discovery
- Opengist supports full-text and code search across snippets, and snippets can be organized with topics, liked, and forked.checked 5 Oct 2026
- Snippet visibility
- Snippets can be public, unlisted, or private.checked 5 Oct 2026
- System requirement
- Git is required to run Opengist, and the documentation recommends Git 2.28 or later.checked 5 Oct 2026
Alternatives to Opengist
- 1

Bitbucket
Free planAndroidiOSWebAPI8.3From $3.65 a month - 2

GitHub CodeQL
Free planWebExtensionLinuxmacOS7.5From $30 a month - 3

Snipline
WebLinuxmacOSWindows7.4From $9 a year - 4

massCode
Free planOpen sourceAPIExtensionLinuxmacOS7.3Free plan - 5

Cacher
Free planWebExtensionLinuxmacOS7.2From $9.99 a month - 6
SafeScript
Free planLinuxmacOS6.6$7.99 one-time
