Opengist logo

Opengist

Website

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 screenshot

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:

Share:

Similar to Opengist

Chiyogami

Self-hosted pastebin with client-side encryption and REST API

80
4
Last commit

Modern pastebin offering client-side encryption, configurable expiry, user accounts, public search and a REST API. Built with Go, SQLite and TailwindCSS.

BSD-3-ClauseActively maintained
Alternative to:
Pastebin logo
Pastebin
+5
Soft Serve logo

Soft Serve

Self-hosted Git server with an SSH-accessible terminal UI

7.2k
238
Last commit

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.

MITActively maintained
Alternative to:GitHub+7
Briefkasten logo

Briefkasten

Self-hosted bookmarking app built with Next.js and Prisma

1.2k
49
Last commit

Open-source, self-hosted bookmarking app with tags, import/export, full-text search, REST API, OAuth and browser extension support.

MITActively maintained
Alternative to:
Pinboard logo
Pinboard
+11

Listaway

Publish and share lists with team accounts and optional public links

9
0
Last commit

Self-hosted app for creating, managing, and publishing lists and collections with team accounts, OIDC support, randomized public share links, and Postgres storage.

MITActively maintained
Alternative to:
AnyList logo
AnyList
+7

VoidAuth

Self-hosted SSO and user management with OpenID Connect and ForwardAuth

2.5k
100
Last commit

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

AGPL-3.0Actively maintained
Alternative to:
Auth0 logo
Auth0
+19
Authgear logo

Authgear

Identity and authentication platform for apps and APIs

2k
125
Last commit

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.

Apache-2.0Actively maintained
Alternative to:
Auth0 logo
Auth0
+19