---
title: Deploy Otter Wiki with AI on Blossom
url: "/deploy/otter-wiki/"
canonical_url: https://blossom88.com/deploy/otter-wiki/
markdown_url: https://blossom88.com/deploy/otter-wiki.md
summary: Run a private Markdown wiki and keep its Git-backed page history through
  app updates.
categories:
- deployment
- productivity
stack:
- Python
- Flask
- Git
- SQLite
---

# Deploy Otter Wiki with AI on Blossom

[Otter Wiki](https://github.com/redimp/otterwiki) is an open-source
Markdown wiki. It records page edits in Git so you can open earlier
versions from your browser.

## Ask Your Agent

> **Ask your AI agent:** Deploy Otter Wiki privately on Blossom. Help me create a page and open its history.
>
> Follow this guide: https://blossom88.com/deploy/otter-wiki/

[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 |
|---|---|---|
| Otter Wiki | Serve the wiki and store its Git repository and accounts | Blossom Persistent Service |

## Deploy Otter Wiki

Use one Persistent Service with Blossom Account access. Register the
first native account to administer your wiki.

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

Use the official image on port 80 with a Volume mounted at `/app-data`.
The image initializes its Git repository, settings, and SQLite account
database on that Volume. Use `/-/healthz` for HTTP readiness. Restrict
reading and editing to registered accounts for a private wiki.
[Upstream installation](https://otterwiki.com/Installation).

</details>

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

    blossom app_plan:preview --data otter-wiki-plan.yml
    blossom service:create --data otter-wiki-service.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Create a Page and Edit It

Write a short Markdown page and save it with a commit message. Change a
line and save it again. Open **History** and select the first version.

![Open the latest version of a Markdown wiki page.](/deploy/assets/images/otter-wiki/otter-wiki-page.webp)

> **Ask your AI agent:** Help me edit a wiki page and open the original version from History.

> Follow this guide: https://blossom88.com/deploy/otter-wiki/



## Reopen History After an Update

Update Otter Wiki using the same Volume. Sign in and open the page and
its history again.

![Review both saved page revisions after replacing the Container.](/deploy/assets/images/otter-wiki/otter-wiki-history.webp)


> **Ask your AI agent:** Update Otter Wiki and check that both versions of my page still open.

> Follow this guide: https://blossom88.com/deploy/otter-wiki/



## What You Get

- A private Markdown wiki you can edit in the browser
- Named revisions you can open from page history
- A Volume that keeps the wiki and its history through updates

Tested on Blossom: The same two Git-backed page revisions opened after replacing the Container on its original Volume.
