Skip to content

Self-host Opengist

updated Sep 2026prices checked · Jul 2026Install verified on Ubuntu 26.04 · Sep 2026 · how we test
We earn commissions when you shop through the links below. Full disclosure →

A self-hosted pastebin powered by Git: every snippet is a Git repository you can clone and push to over HTTP or SSH, with revisions, search and embeds, as an open-source alternative to GitHub Gist.

Key facts

CategoryPastebin
LicenseAGPL-3.0
StackGo, Git
Min RAM256 MB
Official imageyes
Measured idle RAM24 MB
Difficulty

What you need

  • Any VPS with at least 256 MB of RAM
  • A domain you control — most self-hosted setups need HTTPS in front of them
  • Under an hour if you've used Docker before
Where to host itaffiliate disclosure
Hetzner Cloudrun it on
From $23.59/mo · 2 vCPU / 4 GB / 80 GB · EU + US
Get Hetzner Cloud (opens in new tab)
Kamaterafree trial
From $4/mo · 1 vCPU / 1 GB / 20 GB · US + EU + Asia
Start free on Kamatera → (opens in new tab)
DigitalOceanalso works on
From $6/mo · 1 vCPU / 1 GB / 25 GB · US + EU + Asia
Deploy on DigitalOcean → (opens in new tab)

Paid link — we earn a commission if you shop through it.

Install with Docker Compose

Save this as compose.yml and run docker compose up -d:

# Opengist — official image; port 2222 is Git over SSH (drop it if unused)
services:
  opengist:
    image: ghcr.io/thomiceli/opengist:1.15.2
    restart: unless-stopped
    ports: ["6157:6157", "2222:2222"]
    volumes: ["opengist:/opengist"]
volumes: { opengist: {} }
# docker compose up -d  →  http://SERVER_IP:6157 (the first account created becomes admin)

More self-hosted tools

We use analytics cookies (Google Analytics, PostHog) to see which guides are useful. No ad networks, no cross-site tracking. See our privacy policy.