Opengist

Opengist Overview

Opengist is a self-hosted, open-source pastebin powered by Git. It functions as a privacy-focused alternative to GitHub Gist, allowing users to create, manage, and share code snippets with full Git versioning, public/private access control, and a sleek web interface. Ideal for developers and teams that want control over their code snippet hosting.


⚙️ Key Features

  • Git-Backed Storage
    All snippets are stored in a Git repository and can be cloned, pushed, or pulled like any Git project.

  • Web & Git Interface
    Create, edit, and manage snippets via a modern UI or through standard Git commands.

  • Public, Unlisted, and Private Snippets
    Choose your visibility level for every snippet.

  • Authentication Options
    Supports OAuth2 login via GitHub, GitLab, Gitea, and more.

  • Syntax Highlighting & Markdown Support
    Automatically highlights code syntax and renders Markdown files.

  • Search and Tagging
    Quickly find snippets using full-text search and tags.

  • Revision History & Forks
    Built-in Git features allow tracking changes, forking, and version control.

  • Dark Mode & Responsive UI
    Mobile-friendly with theme toggle for better usability.

  • Database Support
    Compatible with SQLite, PostgreSQL, and MySQL.

  • Easy Deployment
    Available as a Docker container and ready for Kubernetes or traditional deployments.


🚀 Use Cases

  • Self-hosted code snippet management
  • Private pastebin for teams or internal tools
  • Markdown and code note sharing
  • Git-integrated code snippet archive

📚 Learn More