Categories
self-hosted developer-tools knowledge-management documentation pastebin code-snippets gitStars
Forks
Watchers
Developer links
Opengist
Every code snippet in Opengist lives inside a real Git repository that you can initialize, clone, pull, and push over HTTP or SSH while browsing syntax-highlighted files, revision diffs, and Markdown documents through a self-hosted web interface that replaces GitHub Gist. Create public, unlisted, or private multi-file gists directly from your browser, terminal Git client, or the OpenAPI-documented REST API v1 using personal access tokens. Rich rendering displays source code across hundreds of languages alongside Markdown documents with Mermaid diagrams, LaTeX math, CSV tables, images, and downloadable ZIP archives. Full-text code and metadata search powered by Bleve or Meilisearch lets teams locate snippets by content, filename, extension, language, user, or topic tags in milliseconds. Users can star, fork, archive, and embed snippets into external websites via JavaScript widgets or fetch raw files and structured JSON payloads. Enterprise authentication supports GitHub, GitLab, Gitea, OpenID Connect, and LDAP directories, reinforced by TOTP two-factor authentication and WebAuthn passkeys, while administrators control anonymous access and monitor Prometheus metrics. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.
Benefits
- True Git-Backed Snippet Version Control
- Store every snippet as a genuine Git repository that developers can clone, pull, branch, and push over HTTP or the built-in SSH server on port 2222 with full commit history and diffs.
- Private and Flexible Snippet Sharing
- Publish snippets as public, unlisted, or strictly private multi-file repositories, embed live code widgets on external web pages, or download complete multi-file gists as raw text or compressed ZIP archives.
- Instant Code and Metadata Indexing
- Locate code across thousands of gists using the embedded Bleve indexer or an external Meilisearch engine that filters by file content, programming language, extension, topic tag, author, and description.
- Enterprise SSO and Passkey Security
- Authenticate teams via OAuth2 with GitHub, GitLab, Gitea, and OpenID Connect or LDAP directory bind, while protecting individual accounts with TOTP authenticators, WebAuthn hardware passkeys, and scoped access tokens.
Features
- Git Over HTTP and SSH
- Initialize, clone, pull, and push multi-file gists directly from standard Git CLI tools over HTTP or the embedded SSH server with automated authorized_keys synchronization.
- Syntax Highlighting and Rich Media
- Render source files across hundreds of languages alongside GitHub-flavored Markdown, Mermaid diagrams, LaTeX equations, interactive CSV tables, images, and binary file attachments.
- Bleve and Meilisearch Code Search
- Index snippet contents and metadata using the built-in Bleve full-text engine or external Meilisearch server to query by language, filename, topic, or code body.
- OpenAPI REST API v1
- Automate snippet creation, updates, starring, forking, and archiving through the bearer-token authenticated REST API at /api/v1 with a built-in OpenAPI 3.0 specification.
- OAuth2, OIDC, LDAP, and Passkeys
- Integrate single sign-on with GitHub, GitLab, Gitea, OpenID Connect, and LDAP servers while enforcing two-factor security via TOTP apps and WebAuthn passkeys.
- Prometheus Metrics and Admin Controls
- Manage users, toggle anonymous gist creation or private instance mode, and export real-time server telemetry on port 6158 for Prometheus and Grafana monitoring.