Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Opengist

opengist.io

  • Free plan
  • Linux
  • Web
  • API
  • Self-hosted
7.3 Club score Visit opengist.io

What Opengist is

Opengist is a free, open-source, self-hosted pastebin powered by Git. Each snippet is a Git repository that users can create with a plain Git push or clone and update over HTTP or SSH. Snippets may be public, unlisted, or private, and can contain multiple files, including images and binary files, with ZIP downloads available. Users can browse revision history, compare changes with diffs, and search full text, code, and metadata. Syntax highlighting covers hundreds of languages, with support for Markdown, Mermaid, LaTeX, CSV, and media files. Snippets can be organized with topics, liked, forked, embedded in webpages, or retrieved as JSON. Login options include GitHub, GitLab, Gitea, OIDC, and LDAP, while TOTP and WebAuthn protect accounts. Administrators can manage users, require login, allow anonymous snippets, and expose Prometheus metrics. Deployment supports a single binary, Docker, or Kubernetes with SQLite, PostgreSQL, or MySQL.

Who it suits

Opengist suits individuals and teams wanting Git-based snippet sharing on their own infrastructure. It is useful for users who need private snippets, search, revision history, API access, or flexible deployment.

Good to know, and what to watch

  • Free, open-source, self-hosted pastebin
  • Git repositories support HTTP and SSH workflows
  • Public, unlisted, and private snippet visibility
  • Search spans full text, code, and metadata
  • Deployable as binary, Docker image, or Kubernetes
  • Git is required to run Opengist
  • OpenSSH is needed for Git over SSH
  • Self-hosting requires managing supported databases

The verdict

Opengist combines Git workflows with searchable, multi-file snippets and configurable access controls. Its deployment flexibility and API suit self-hosted teams, provided they can operate Git and a supported database.

What the maker publishes

Account security
The site says accounts can be secured with TOTP or WebAuthn. source
Administration
Instance controls include managing users, requiring login for a private instance, allowing anonymous snippets, and exposing Prometheus metrics. source
Administration
Administrators can require login, allow anonymous snippets, manage users, and expose Prometheus metrics. source
API
Opengist exposes a REST API using personal access tokens with per-resource read or read/write scopes. source
API and embeds
Snippets can be embedded in webpages or retrieved as JSON, and the documentation describes an API. source
Authentication
The site lists login through GitHub, GitLab, Gitea, OIDC, and LDAP, and account security with TOTP or WebAuthn. source
Deployment
The maker lists a single binary, Docker image, or Kubernetes deployment, with SQLite, PostgreSQL, or MySQL. source
Deployment and databases
Opengist can be deployed as a single binary, Docker image, or Kubernetes deployment, and supports SQLite, PostgreSQL, or MySQL. source
Files
A snippet can contain multiple files, including binary files and images, and can be downloaded as a ZIP. source
Files
A snippet can contain multiple files, including binary files and images, and can be downloaded as a ZIP. source
Git access
Users can clone and push snippets over HTTP or SSH, or create snippets with a plain git push. source
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. source
History
Users can browse snippet revision history and compare revisions with diffs. source
History
Each snippet has a revision history with diffs between revisions. source
Integrations
Login can use GitHub, GitLab, Gitea, or OpenID Connect; the documentation also describes LDAP authentication. source
Purpose
Opengist is a self-hosted, open-source pastebin powered by Git. source
Purpose
Opengist is an open-source, self-hosted pastebin powered by Git, with snippets managed through its web interface or standard Git commands. source
Rendering
The site lists syntax highlighting for hundreds of languages and support for Markdown, Mermaid, LaTeX, CSV, and media files. source
Rendering
The site lists syntax highlighting for hundreds of languages and Markdown support for Mermaid, LaTeX, CSV, and media files. source
Runtime requirement
The documentation says Git is required and recommends Git 2.28 or later; OpenSSH is needed for Git over SSH. source
Search
Opengist supports full-text and code search across snippets and metadata. source
Search and discovery
Opengist supports full-text and code search across snippets, and snippets can be organized with topics, liked, and forked. source
Snippet visibility
Snippets can be public, unlisted, or private. source
Snippet visibility
Snippets can be public, unlisted, or private. source

Checked against the maker's pages on 5 Oct 2026.