Self-hosted Code Snippet Manager
3.1k 2026-04-18
thomiceli/opengist
Opengist is a self-hosted, Git-powered pastebin and code snippet manager, providing an open-source alternative to GitHub Gist.
Core Features
Manage snippets via Git (clone, pull, push over HTTP/SSH)
Support for public, unlisted, and private snippets
Syntax highlighting, Markdown, and CSV support
OAuth2 login with GitHub, GitLab, Gitea, and OpenID Connect
Docker support for easy deployment
Quick Start
docker compose up -dDetailed Introduction
Opengist is an innovative self-hosted solution for managing code snippets and text pastes, designed as an open-source alternative to services like GitHub Gist. It uniquely leverages Git for storing all snippets, allowing users to interact with their data using standard Git commands or through a user-friendly web interface. This approach ensures data portability, version control, and robust management. With features like syntax highlighting, various visibility options, and OAuth2 integration, Opengist provides a powerful and flexible platform for developers and teams to share and organize their code.