
Opengist
Self-hosted Git-backed pastebin and Gist-compatible code snippet manager
3.3k stars 186 forks last commit first released AGPL-3.0
Actively maintained
Last commit 27 Aug 2026.

Opengist is a self-hosted pastebin that stores snippets as Git repositories and exposes a web UI and JSON API for creating, browsing and embedding code snippets. It is written in Go and designed for fast deployment with Docker or a native binary.
Key Features
- Store snippets in Git repositories with full revision history and standard git push/pull over HTTP or SSH
- Create public, unlisted or private snippets; like, fork and tag snippets with topics
- Syntax highlighting, Markdown and CSV rendering; editor with indentation controls and drag-and-drop files
- Search snippets, browse users, likes and forks; download raw files or ZIP archives
- OAuth2 login (GitHub, GitLab, Gitea, OpenID Connect) and avatar support via Gravatar/OAuth providers
- Admin panel with user/gist management, repo sync and git garbage collection
- Supports SQLite, PostgreSQL or MySQL as backend databases
- Distributed deployment options: Docker image, docker-compose configuration and Helm chart
Use Cases
- Host an internal team gist/pastebin for sharing code snippets, configs and small scripts
- Publish embeddable code samples or documentation snippets on blogs and docs sites
- Maintain private or unlisted snippets for onboarding, secure notes, or ephemeral sharing between developers
Limitations and Considerations
- Requires Git (recommended 2.28+) and OpenSSH for SSH-based Git operations; SSH support depends on system OpenSSH setup
- Because each snippet is stored in Git, very large numbers of fragments can increase repository size and may impact search or git operation performance; plan storage and backups accordingly
Opengist is a focused, Git-centric alternative to gist-style services, offering familiar git workflows and a lightweight web UI. It is suitable for teams that want snippet hosting under their own control and integrates with common auth providers and containerized deployment workflows.
Categories:
Tags:
Tech Stack:
Similar to Opengist
Chiyogami
Self-hosted pastebin with client-side encryption and REST API
Modern pastebin offering client-side encryption, configurable expiry, user accounts, public search and a REST API. Built with Go, SQLite and TailwindCSS.

Soft Serve
Self-hosted Git server with an SSH-accessible terminal UI
Self-hostable Git server focused on SSH, featuring a terminal UI, access control, and Git LFS support, with cloning via SSH, HTTP, or the Git protocol.

Briefkasten
Self-hosted bookmarking app built with Next.js and Prisma
Open-source, self-hosted bookmarking app with tags, import/export, full-text search, REST API, OAuth and browser extension support.
Listaway
Publish and share lists with team accounts and optional public links
Self-hosted app for creating, managing, and publishing lists and collections with team accounts, OIDC support, randomized public share links, and Postgres storage.

VoidAuth
Self-hosted SSO and user management with OpenID Connect and ForwardAuth
VoidAuth is a self-hosted SSO provider with OpenID Connect, ForwardAuth proxy auth, and built-in user and group management plus MFA and passkeys.

Authgear
Identity and authentication platform for apps and APIs
Open-source Auth0/Clerk/Firebase Auth alternative with passkeys, MFA, SSO (OIDC/SAML), user management portal, and extensible auth flows for web and mobile apps.




