Opengist
Pastebin for code snippets, powered by Git, like GitHub Gist
- ghcr.io/thomiceli/opengist:1.16.0
- v1.16.0
- Updated 24 Nov 2026
- port 6815
- port 6816
- amd64 · arm64
- Developer
- 3.4k stars
Open the app
About Opengist
Opengist is a place for your code snippets, notes and config files. Every gist is a Git repository, so you can edit it in the page or clone, change and push it with git.
Features
- Public, unlisted and private gists with several files each
- Syntax highlighting, Markdown and CSV previews
- Full history of every change, likes and forks
- Clone and push over http or SSH
- Search across all gists, topics and an embed code
- Users, admin panel, sign-in with GitHub, GitLab, Gitea or OIDC
How to use
- Open Opengist right away and register. The first account is the admin.
- Press New, paste your snippet and save.
- In the Admin panel, turn off sign-ups if only you should have an account.
Before you install
Right after installing, open http://[ZIMAOS-IP-ADDRESS]:6815 and register; the first account becomes the admin, and until then anyone on your network can take it. Git over SSH uses port 6816 (git clone ssh://[ZIMAOS-IP-ADDRESS]:6816/user/gist.git); add your SSH key in Settings first. All settings are listed in the configuration cheat sheet; each one can be added in the app settings as an OG_... variable.
The settings in the first table are already in the app settings. To use any other one, open the app settings, add the variable with your value, save, and the app restarts with it. A setting you leave out uses its default.
In the app settings
| Variable | Default value | Description |
|---|---|---|
TZ | $TZ | Your time zone. It is filled in from your ZimaOS time zone. |
UID | $PUID | The user that owns the data folder. It is filled in by ZimaOS. |
GID | $PGID | The group that owns the data folder. It is filled in by ZimaOS. |
OG_ | 6816 | The port of the built-in SSH server for git clone and push. It must stay the same as the published port (6816), so clone links show the right port. |
Server
| Variable | Default value | Description |
|---|---|---|
OG_ | — | Your https address, like https://gist.example.com, when Opengist is behind a reverse proxy. Needed for sign-in with GitHub, GitLab, Gitea or OIDC. |
OG_ | warn | How much is logged: debug, info, warn, error or fatal. |
Git
| Variable | Default value | Description |
|---|---|---|
OG_ | builtin | Set to disabled to turn off git over SSH. |
OG_ | true | Set to false to turn off clone and push over http. |
Features
| Variable | Default value | Description |
|---|---|---|
OG_ | false | Set to true to stop people uploading files into gists. |
OG_ | false | Set to true to turn off comments on gists. |
Sign-in
| Variable | Default value | Description |
|---|---|---|
OG_ | — | A GitHub OAuth app's client ID, to sign in with GitHub (with OG_GITHUB_SECRET and OG_EXTERNAL_URL). |
OG_ | — | That GitHub OAuth app's client secret. |
OG_ | — | An OpenID Connect client ID (with OG_OIDC_SECRET, OG_OIDC_DISCOVERY_URL and OG_EXTERNAL_URL). |
OG_ | — | That OpenID Connect client's secret. |
OG_ | — | Your provider's discovery address, ending in /.well-known/openid-configuration. |
name: opengist
services:
opengist:
image: ghcr.io/thomiceli/opengist:1.16.0
container_name: opengist
restart: unless-stopped
network_mode: bridge
environment:
- TZ=$TZ
- UID=$PUID
- GID=$PGID
- OG_SSH_PORT=6816
ports:
- target: 6157
published: "6815"
protocol: tcp
- target: 6816
published: "6816"
protocol: tcp
volumes:
- type: bind
source: /DATA/AppData/$AppID/data
target: /opengist
bind:
create_host_path: true
healthcheck:
test: ["CMD", "curl", "-fsS", "-o", "/dev/null", "http://127.0.0.1:6157/healthcheck"]
interval: 1m
timeout: 10s
retries: 3
start_period: 15s
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 32M
labels:
icon: https://cdn.jsdelivr.net/gh/HSinghHira/IceStore@main/Apps/opengist/icon.png
x-casaos:
id: com.icestore.opengist
envs:
- container: TZ
description:
en_US: >-
Your time zone. It is filled in from your ZimaOS time zone.
- container: UID
description:
en_US: >-
The user that owns the data folder. It is filled in by ZimaOS.
- container: GID
description:
en_US: >-
The group that owns the data folder. It is filled in by ZimaOS.
- container: OG_SSH_PORT
description:
en_US: >-
The port of the built-in SSH server for git clone and push. It
must stay the same as the published port (6816), so clone
links show the right port.
ports:
- container: "6157"
description:
en_US: Opengist web app and git over http, published on host as 6815
- container: "6816"
description:
en_US: Git over SSH, published on host as 6816
volumes:
- container: /opengist
description:
en_US: >-
Your gists (git repositories), the database, the search index,
the session key (opengist-secret.key) and logs. Back it up.
x-casaos:
id: com.icestore.opengist
architectures:
- amd64
- arm64
main: opengist
author: HSinghHira
category: Developer
developer: thomiceli
icon: https://cdn.jsdelivr.net/gh/HSinghHira/IceStore@main/Apps/opengist/icon.png
title:
en_US: Opengist
tagline:
en_US: Pastebin for code snippets, powered by Git, like GitHub Gist
description:
en_US: >-
Visit: [https://icestore.hsinghhira.me/app/opengist/](https://icestore.hsinghhira.me/app/opengist/) for full details
Opengist is a place for your code snippets, notes and config files.
Every gist is a Git repository, so you can edit it in the page or
clone, change and push it with git.
**Features**
- Public, unlisted and private gists with several files each
- Syntax highlighting, Markdown and CSV previews
- Full history of every change, likes and forks
- Clone and push over http or SSH
- Search across all gists, topics and an embed code
- Users, admin panel, sign-in with GitHub, GitLab, Gitea or OIDC
**How to use?**
1. Open Opengist right away and register. The first account is the
admin.
2. Press New, paste your snippet and save.
3. In the Admin panel, turn off sign-ups if only you should have an
account.
tips:
before_install:
en_US: >-
1. Start the installation. It is ready in a few seconds.
2. Right away, open Opengist and register. The first account
becomes the admin. Until you do, anyone on your network can.
3. Then open the Admin panel and turn off new sign-ups if you want
to be the only user.
index: /
port_map: "6815"
scheme: http
is_uncontrolled: false
version: "1.16.0"
update_at: "2026-11-24"
release_notes:
en_US: |-
- First IceStore release: ghcr.io/thomiceli/opengist 1.16.0
- Web app on port 6815 and git over SSH on port 6816
repo: "https://github.com/thomiceli/opengist"
support: "https://github.com/thomiceli/opengist/issues"
docs: "https://opengist.io/docs/"Install Opengist
Something not working with Opengist?
Report it so it gets fixed, or ask for an app that is not here yet.
ZimaOS
Add the store link, then find Opengist in the App Store and install it.
CasaOS
Add the store link, then find Opengist in the App Store and install it.
ReCasaOS
Add the store link, then find Opengist in the App Store and install it.
Homeio
Add the store link, then find Opengist in the App Store and install it.
MOS
Add the repository in MOS Hub Settings, then find Opengist in Docker → MOS Hub and install it.