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
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
Gogs
CI/CD & DevOps
The painless way to host your own Git service
MITvs GitHub★ 48k
Gitea
CI/CD & DevOps
Gitea - Git with a cup of tea! Painless self-hosted all-in-one software development servic
MITvs Bitbucket★ 59k
Harness
CI/CD & DevOps
Harness Open Source is an end-to-end developer platform with Source Control Management, CI
Apache-2.0vs GitHub Actions★ 39k
OneDev
CI/CD & DevOps
Git, issues, pull requests, CI/CD, packages, wiki, and workspaces in one place. Assign wor
MITvs Bitbucket★ 15k
GitBucket
CI/CD & DevOps
A Git platform powered by Scala with easy installation, high extensibility & GitHub API co
Apache-2.0vs GitHub★ 9.4k
Soft Serve
CI/CD & DevOps
The mighty, self-hostable Git server for the command line🍦
MITvs GitHub★ 7.3k
GitHub