---
title: Deploy ArchiveBox with AI on Blossom
url: "/deploy/archivebox/"
canonical_url: https://blossom88.com/deploy/archivebox/
markdown_url: https://blossom88.com/deploy/archivebox.md
summary: Save an owned web page to a private archive and reopen the stored copy after
  an app update.
categories:
- deployment
- productivity
stack:
- Python
- Django
- SQLite
---

# Deploy ArchiveBox with AI on Blossom

[ArchiveBox](https://archivebox.io/) saves a copy of a web page so you
can reopen it after the source changes or goes away.

## Ask Your Agent

> **Ask your AI agent:** Deploy ArchiveBox privately on Blossom and help me save a copy of one of my web pages.
>
> Follow this guide: https://blossom88.com/deploy/archivebox/

[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 |
|---|---|---|
| ArchiveBox | Capture pages and serve saved copies | Persistent Service |
| Volume | Keep archive files and SQLite records | Blossom Persistent Capacity |

## Deploy ArchiveBox

Use a [Persistent Service](/docs/apps/persistent-services/) and keep
the archive behind Blossom Account access. Start with a page you
own and ArchiveBox's private capture settings.

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

Use the official Container on port 5797 and mount a Volume at `/data`.
Run `archivebox server --init 0.0.0.0:5797` through the image's entrypoint
and set `BASE_URL` from `BLOSSOM_SERVICE_URL` at startup. Set private
owner credentials and probe `/health/`. Use `safe-onedomain-nojsreplay`
for replay and keep the index, submissions, and saved copies private.
Turn off Archive.org submissions and use Wget and Title for this example.
[ArchiveBox Docker settings](https://docs.archivebox.io/Docker.html).

</details>

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

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

</details>

## Save a Page You Own

Sign in, open **Create Crawl**, and paste your page URL. Wait for the
capture to finish before opening the snapshot.

![Open the captured page’s record in ArchiveBox.](/deploy/assets/images/archivebox/archivebox-snapshot.webp)

> **Ask your AI agent:** Help me save this page in ArchiveBox.

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



## Open the Stored Copy

Open the record in **Snapshots**. Have your agent locate the saved
HTML from the Wget capture and open it. Check that you can still read
the text from your original page.

> **Ask your AI agent:** Open the stored HTML for my ArchiveBox snapshot.

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



## Reopen the Same Copy

After an update, sign in again and open the saved snapshot. The
same page should still be readable if the source has changed or stopped.

![Open the stored page after the source and first Container stop.](/deploy/assets/images/archivebox/archivebox-saved-page.webp)


> **Ask your AI agent:** Update ArchiveBox and check that my saved page still opens.

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



## What You Get

- A private archive for your saved pages
- A first page you can open from your archive
- The same stored copy after an app update

Tested on Blossom: ArchiveBox returned the same saved HTML on a replacement Container after the sample source went offline.
