---
title: Deploy Chibisafe with AI on Blossom
url: "/deploy/chibisafe/"
canonical_url: https://blossom88.com/deploy/chibisafe/
markdown_url: https://blossom88.com/deploy/chibisafe.md
summary: Run a private Chibisafe workspace and keep original file downloads available
  through app updates.
categories:
- deployment
- productivity
stack:
- TypeScript
- Next.js
- Fastify
- SQLite
- Caddy
---

# Deploy Chibisafe with AI on Blossom

[Chibisafe](https://chibisafe.app/) is an open-source file vault. Upload
a file, preview it in the browser, or group it with other files in an album.

## Ask Your Agent

> **Ask your AI agent:** Deploy Chibisafe privately on Blossom. Help me upload a sample file and download the original.
>
> Follow this guide: https://blossom88.com/deploy/chibisafe/

[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 |
|---|---|---|
| Chibisafe frontend | Show the dashboard and file library | Blossom App Capacity |
| Chibisafe backend and gateway | Store uploads and SQLite and serve the private HTTPS endpoint | Blossom Persistent Service |

## Deploy Chibisafe

Use the [Dockerfile Project](/deploy/recipes/chibisafe/README.md) for the
backend and gateway. Before you start, create a private admin password.

After the deploy, sign in as `admin` and set **Settings** → **Service** →
**Serve Uploads From** to your App's full HTTPS origin.

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

Keep the frontend private. Direct the gateway to the frontend's internal
address. Direct the frontend to the gateway's internal API. Run the
backend and gateway together with a Volume at `/data` so they can access
the same files. Keep Blossom Account access on the gateway because both
download paths are reachable through it. Preserve the upload sandbox
headers in the supplied Caddyfile.

</details>

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

    blossom app_plan:preview --data chibisafe-plan.yml
    blossom service:create --data chibisafe-web.yml
    blossom service:create --data chibisafe-frontend.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Upload and Download a File

Open **Uploads** and select **Upload file**. Open the resulting file card
to preview it, then use the download control to get the original.

![Find an uploaded checklist in the Chibisafe dashboard.](/deploy/assets/images/chibisafe/chibisafe-dashboard.webp)

> **Ask your AI agent:** Help me upload a sample file and check both download links.

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



## Keep Your Files Through an Update

Update the App with the same Volume. Sign in again, open the file card,
and download the original.

![Open the same checklist after replacing the backend Container.](/deploy/assets/images/chibisafe/chibisafe-file.webp)


> **Ask your AI agent:** Update Chibisafe and check that I can still download my sample file.

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



## What You Get

- A private workspace for files and albums
- Browser previews and original file downloads
- One Volume for your uploads and the file catalog

Tested on Blossom: The same file opened and downloaded after Container replacement. Both paths denied a visitor without the Blossom Account session.
