Skip to content

Opengist

Self-hosted pastebin that stores snippets in Git, for developers who want their own Gist

Copyleft (OSI) · AGPL-3.0
  • Self-hosted

Listed by , founder & editor

78

Health

Thriving

Overview

Stars

3,418

Last commit

3 days ago

Nov 2026

Repository age

3 years

since Apr 2023

Latest version

v1.16.0

Nov 2026

Contributors

–

11 active in 90 days

Releases

11

last 12 months

Docker pulls

61k

thomiceli/opengist

Language

Go

Opengist is a self-hosted pastebin where every snippet is a Git repository. You can read and change snippets in the web interface or with ordinary Git commands over HTTP or SSH. It is similar to GitHub Gist, but you run it yourself.

It is written in Go and TypeScript. You can run it from a Docker image, a downloaded binary or from source, and a Helm chart is available. By default the web interface listens on port 6157.

Snippets can be public, unlisted or private. Features include syntax highlighting, Markdown and CSV rendering, code search, topics, likes, forks, revision history, embedding in other sites, and raw or ZIP downloads. Sign-in works through OAuth2 with GitHub, GitLab, Gitea or OpenID Connect. You can also hide snippets from anonymous visitors. It is licensed under AGPL-3.0 and replaces GitHub Gist for teams that want snippets on their own server.

Who it's for

Developer teams sharing code snippets internally

Private and unlisted snippets with OIDC or Gitea login keep sharing inside your own infrastructure.

Skip if: You only need a quick public paste with no accounts.

Homelab users who like Git workflows

You can clone, push and pull snippets with the Git client you already use.

Skip if: You do not want to maintain another service.

Organizations running GitLab or Gitea

Login through those providers means no new accounts to manage.

Skip if: Your policy rules out AGPL-licensed software.

The problem it solves

Hosted gist services keep your snippets, which may include internal code or configuration, on someone else's servers. Opengist lets you keep snippets on your own machine while still using Git to work with them.

Strengths

  • Every snippet is a Git repo, usable over HTTP or SSH
  • OAuth2 login with GitHub, GitLab, Gitea and OpenID Connect
  • Revisions, forks, likes, topics and code search
  • Docker image, binary and Helm chart available
  • Eleven contributors in the last 90 days

Trade-offs

  • AGPL-3.0 license has obligations if you modify and offer it as a service
  • Self-hosted only, so you handle backups and updates
  • SSH access needs an extra port exposed

Self-host Opengist

Self-hostable
Yes
Docker image
thomiceli/opengist
Kubernetes
Helm chart available

Quick start

docker pull ghcr.io/thomiceli/opengist:1.16.0

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is Opengist free?

Yes. It is open source under the AGPL-3.0 license.

Can I use Git with my snippets?

Yes. You can init, clone, pull and push snippets over HTTP or SSH.

How do I run it?

Use the Docker image, download a release binary, or build from source with Git, Go and Node.js. It listens on port 6157.

Which login methods are supported?

OAuth2 with GitHub, GitLab and Gitea, and OpenID Connect.

Similar tools in Developer utilities

Judge0 CE

Developer utilities

Self-hostable sandboxed code execution API for judges, learning platforms and AI agents

4.5k 945 29 days ago Slowing GPL-3.0

CyberChef

Developer utilities

Browser-based toolkit for encoding, encryption, hashing and data analysis

37k 4.2k 3 days ago Thriving Apache-2.0

IT-Tools by sharevb

Developer utilities

Self-hosted collection of browser-based developer utilities, a community fork of IT-Tools

1.8k 186 yesterday Active GPL-3.0

enclosed

Developer utilities

Self-hosted app for sharing end-to-end encrypted notes and files

2.1k 189 31 days ago Slowing Apache-2.0

snibox

Developer utilities

1.8k 115 7 years ago Dormant Unknown

snippet-box

Developer utilities

Small self-hosted library for storing and searching your own code snippets

1.1k 94 5 years ago Dormant MIT