---
title: Deploy Zipline with AI on Blossom
url: "/deploy/zipline/"
canonical_url: https://blossom88.com/deploy/zipline/
markdown_url: https://blossom88.com/deploy/zipline.md
summary: Share files with a password and an expiration date. Keep uploads through
  Container updates with one Volume.
categories:
- deployment
- file sharing
stack:
- TypeScript
- React
- Node.js
- PGlite
---

# Deploy Zipline with AI on Blossom

[Zipline](https://github.com/diced/zipline) is an open-source file and
screenshot sharing app. You can add a password and an expiration date
to a file link.

## Ask Your Agent

> **Ask your AI agent:** Deploy Zipline privately on Blossom. Help me share a file with a password and an expiration date.
>
> Follow this guide: https://blossom88.com/deploy/zipline/

[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 |
|---|---|---|
| Zipline | Serve the dashboard and store uploads and file metadata | Blossom Persistent Service |

## Deploy Zipline

Use one Persistent Service with Blossom Account access. Set up the
first Zipline admin account before inviting anyone else. Recipients
need access to the Blossom Environment as well as the file password.

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

Use the official Zipline image on port 3000 and check
`/api/healthcheck`. Mount a Volume at `/zipline/data`, set
`DATABASE_URL=pglite:///zipline/data/database`, and use the
local datasource at `/zipline/data/uploads`. Set
`CORE_RETURN_HTTPS_URLS=true` so links use Blossom’s HTTPS endpoint.
Keep `CORE_SECRET` private and stable across updates.
[Zipline configuration](https://zipline.diced.sh/docs/config/).

</details>

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

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

</details>

## Share a File With a Password

Upload a sample image with a password and set it to expire in an
hour. Open the share link in a separate browser session that can
access the Environment. Enter the password to see and download the image.

![Enter the file password to open the workshop schedule.](/deploy/assets/images/zipline/zipline-password.webp)

> **Ask your AI agent:** Help me upload a sample image with a password and a one-hour expiration. Open the link to verify it.

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



## Reopen the Link After an Update

Update Zipline with the same Volume. Open your link again and check
that the password, image, and expiration still work.

![View the same schedule after replacing the Container.](/deploy/assets/images/zipline/zipline-recovered.webp)


> **Ask your AI agent:** Update Zipline and check that my protected file still opens with the same password and expiration.

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



## What You Get

- A private workspace for screenshots and files
- Links that ask recipients for a password and expire when you choose
- One Volume that keeps your files and their settings through updates

Tested on Blossom: The same password-protected file, bytes, and expiration survived Container replacement on the original Volume. A separate file expired.
