# Opengist

> Self-hosted pastebin powered by Git, open-source alternative to GitHub Gist

Source: https://talira.ai/catalog/opengist-53xdgfzc
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app
- Categories: [developer tools / code snippets](https://talira.ai/categories/developer-tools/code-snippets)
- Platforms: linux, docker, kubernetes, web[^2][^3]
- Licence: AGPL-3.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- SSO: yes[^2]
- API: yes[^2]
- Backed by: [thomiceli](https://talira.ai/orgs/thomiceli.md)

Opengist is a self-hosted pastebin where every snippet is a Git repository, an open source alternative to GitHub Gist written in Go. Snippets can be public, unlisted or private, and can be created, cloned, pulled and pushed over Git via HTTP or SSH as well as edited in the browser, with syntax highlighting, Markdown and CSV rendering, revision history, topics, likes, forks, comments and embedding in other sites. It stores its data in SQLite, PostgreSQL or MySQL, signs people in with OAuth2 through GitHub, GitLab, Gitea or OpenID Connect, can import gists from GitHub and serves snippet data as JSON. It ships as a single binary, Docker images and a Helm chart, and is AGPL-3.0 licensed.

## Links

- Website: https://opengist.io/
- GitHub: https://github.com/thomiceli/opengist
- Docs: https://opengist.io/docs/

## Problems it solves

- I want GitHub Gist but on my own server
- share code snippets inside the company without putting them on a public site
- push and clone my snippets with git like any other repository
- keep a revision history of config snippets my team shares
- embed a code snippet from my own server in a blog post
- move my existing GitHub gists to a self-hosted place
- let my team sign in to our snippet site with our GitLab or OIDC accounts
- a pastebin where some pastes are unlisted and others private to my account
- search the code in all our saved snippets

## Features

- public, unlisted and private snippets
- init, clone, pull and push over Git via HTTP or SSH
- syntax highlighting, Markdown and CSV rendering
- code search across snippets
- revision history, topics, likes, forks and comments
- embed snippets in other websites
- download raw files or a ZIP
- OAuth2 sign-in with GitHub, GitLab, Gitea and OpenID Connect
- SQLite, PostgreSQL or MySQL database
- import gists from GitHub
- snippet data as JSON and access tokens
- admin panel, metrics and healthcheck
- Docker images, binary releases and a Helm chart

## Capabilities

- Has an API: plan not known
- Has single sign-on: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by thomiceli

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [ByteStash](https://talira.ai/catalog/bytestash-9rrtagc5.md): A code snippet storage solution written in React & Node.js
- [PrivateBin](https://talira.ai/catalog/privatebin-594e69gr.md): A minimalist, open source online pastebin where the server has zero knowledge of stored data

## Sources

[^1]: https://github.com/thomiceli/opengist/blob/master/LICENSE (checked 22 Nov 2026)
[^2]: https://opengist.io/docs/ (checked 22 Nov 2026)
[^3]: https://github.com/thomiceli/opengist (checked 22 Nov 2026)
