Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
Opengist

Opengist

Opengist is a self-hosted pastebin powered by Git. Every snippet lives in a Git repository you can read, clone, and push to over HTTP or SSH. AGPL-3.0 licensed with 3,200+ GitHub stars.

At a glance

3.3k

GitHub stars

114

Active installs

License AGPL-3.0 Version 1.12 OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4,IPV6

Active installs is sample data (staging preview); real metric wires in before launch.

Accessing Opengist

  • Open in browser: http://<SERVER_IP>:6157
  • Git SSH access: ssh://git@<SERVER_IP>:2222

Initial Setup

  1. Open the web interface.
  2. Register a new account.
  3. The first registered account automatically becomes the admin user.

Important Files & Directories

  • Install Path: /opt/opengist
  • Compose File: /opt/opengist/docker-compose.yml
  • Environment File: /opt/opengist/.env
  • Data Volume: /var/lib/docker/volumes/opengist_opengist-data

Managing the Stack

cd /opt/opengist

Check status:

docker compose ps

View logs:

docker compose logs -f

Restart services:

docker compose restart

Stop stack:

docker compose down

Start stack:

docker compose up -d


Notes

  • New account registration can be managed by the admin from the Opengist configuration panel.
  • Git over SSH is exposed on port 2222.
  • The web interface is exposed on port 6157.

More in Self Hosted

Related apps.

Deploy Opengist now. From $2.48/mo.