---
title: Deploy Opengist with AI on Blossom
url: "/deploy/opengist/"
canonical_url: https://blossom88.com/deploy/opengist/
markdown_url: https://blossom88.com/deploy/opengist.md
summary: Save a private code snippet, clone it with Git, and reopen it after replacing
  its Container.
categories:
- deployment
- git
- developer-tools
stack:
- Go
- Git
- SQLite
---

# Deploy Opengist with AI on Blossom

[Opengist](https://opengist.io/) is a Git-backed code snippet manager.
Save a private note in the browser and clone it with Git when you
need it in your editor.

![Create a private workshop checklist.](/deploy/assets/images/opengist/private-checklist.webp)

## Ask Your Agent

> **Ask your AI agent:** Deploy Opengist on Blossom and help me create and clone my first private snippet.
>
> Follow this guide: https://blossom88.com/deploy/opengist/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## How It Runs

| Part | Role | Where |
|---|---|---|
| Opengist | Serve the snippet editor and Git endpoint | Persistent Service behind Blossom Account access |
| SQLite and Git repositories | Keep accounts, snippets, and revisions | Volume mounted at /opengist |

## Deploy Opengist

Run the [official Opengist image](https://opengist.io/docs/installation/docker.html)
as one Persistent Service with a Volume at `/opengist`. Keep the
demo behind Blossom Account access.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

- Route Blossom HTTPS traffic to container port `6157`.
- Set `OG_EXTERNAL_URL` to the public address. Keep `OG_SECRET_KEY`
  stable in a secret environment variable.
- Use the default SQLite database and keep the Git repositories on
  the same Volume. Set `OG_SSH_GIT_ENABLED=disabled` for this HTTPS
  workflow.

</details>

## Save and Clone Your Snippet

Sign in, create a Markdown snippet, and change its visibility to
**Private**. Use the Git URL from the snippet to clone it. Read the
README in your local clone.

> **Ask your AI agent:** Create a private workshop checklist in Opengist and clone it with Git.

> Follow this guide: https://blossom88.com/deploy/opengist/



<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

An HTTPS Git client needs the same Blossom Account-access context
as the browser and its own Opengist credentials. Use a temporary
Git config file with restricted permissions for the access cookie
and a credential helper for the Opengist login.

</details>

## Keep It Running

Replace the Container, sign in from a new session, and open the
original snippet. A fresh clone should return the same README and
commit.

> **Ask your AI agent:** Replace the Opengist Container and confirm my private checklist still clones at the same revision.

> Follow this guide: https://blossom88.com/deploy/opengist/



<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom service:scale --id service-web-100 --desired-size 0 --follow
    blossom service:scale --id service-web-100 --desired-size 1 --follow

</details>

![Reopen the private checklist after replacing the Container.](/deploy/assets/images/opengist/checklist-after-replacement.webp)

## What You Get

- A private Markdown snippet at an HTTPS address
- A Git clone containing the exact saved file
- The same snippet and revision after replacing the Container

Tested on Blossom: A private snippet opened in a fresh session, and a Git clone returned the same commit after Container replacement.
