Opengist

Open source

Opengist is a self-hosted pastebin where every snippet is a Git repository, with revisions, search and OAuth login.

Open-source alternative to

opengist.io
Opengist homepage screenshot
GitHub stars
3.4k
Last 30 days
+28(+1%)
Last commit
2 days ago
Repository age
3 years
Version
v1.15.3
Licence
AGPL-3.0
Self-hosted
Yes

About Opengist

Opengist is a self-hosted, open-source pastebin powered by Git. Each snippet is a Git repository, so you can clone and push over HTTP or SSH, or create a snippet with a plain git push. Snippets can also be managed through the Git command line or an API.

Each snippet can be public, unlisted or private, can hold multiple files including binaries and images, and can be downloaded as a ZIP. Revision history shows diffs between every revision. Rendering includes syntax highlighting for hundreds of languages, plus Markdown with Mermaid, LaTeX, CSV and media files.

Sign-in works with GitHub, GitLab, Gitea, OIDC or LDAP, with TOTP or WebAuthn for added security. It runs as a single binary, Docker image or Kubernetes deployment backed by SQLite, PostgreSQL or MySQL, and is licensed under AGPL-3.0.

Key features

  • Public, unlisted and private snippets
  • Each snippet is a Git repository
  • Revision history with diffs
  • Full-text and code search across snippets
  • Embed widget and JSON output
  • OAuth, LDAP, TOTP and WebAuthn login

Good fit for

  • Sharing code snippets privately
  • Embedding snippets in web pages
  • Internal paste service with SSO
Tags
pastebin
snippets
git
self-hosted
docker
sharing

Opengist: questions and answers

What is Opengist used for?
Opengist is a self-hosted pastebin where every snippet is a Git repository, with revisions, search and OAuth login. It is a good fit for sharing code snippets privately, embedding snippets in web pages and internal paste service with SSO.
Is Opengist open source?
Yes. Opengist is open source under the AGPL-3.0 licence. Its source code is on GitHub at thomiceli/opengist and is written mainly in Go.
Is Opengist free?
Yes. Opengist is open source, so the software itself is free to use.
Can I self-host Opengist?
Yes. Opengist can be self-hosted on your own server or infrastructure.
What is Opengist an alternative to?
Opengist is an open-source alternative to GitHub. Other open-source alternatives to GitHub include Gogs, Gitea and Harness.
Is Opengist actively maintained?
Yes. The most recent commit to Opengist was on 19 November 2026, and the latest release is v1.15.3, published on 21 October 2026. The project has 3.4k stars on GitHub, with 28 added in the last 30 days.

Open-source alternatives to Opengist

See all

SaaS alternatives to Opengist

See all