SH SelfHostAlt
Sponsored Self-host any open-source app on Hostinger KVM VPS from $4.99/mo (1-Click Docker) →
ArchiveBox logo

ArchiveBox

MIT Docker Ready ★ 29,115 Stars Active · 2026-11-27

Create HTML & screenshot archives of sites from your bookmarks, browsing history, RSS feeds, or other sources (alternative to Wayback Machine). ).

Category
Archiving and Digital Preservation (DP)
Tech Stack / Runtime
Python/Docker
Open-Source License
MIT
GitHub Health
★ 29,115 · 1,636 forks
#pocket#wget#browser-bookmarks#pinboard#chromium

Commercial SaaS Replaced

Official docker-compose.yml

Quick Docker Compose Reference for ArchiveBox

# Usage
#
#     mkdir -p ~/archivebox/data && cd ~/archivebox
#     curl -fsSL 'https://docker-compose.archivebox.io' > docker-compose.yml
#     docker compose up -d
#     Open /admin/ on the hostname or IP used to reach ArchiveBox e.g: http://admin.archivebox.localhost:5797/
#
#     docker compose exec archivebox archivebox add --depth=1 'https://news.ycombinator.com'
#     docker compose exec -T archivebox archivebox add < ~/Downloads/bookmarks.txt
#     docker compose exec archivebox archivebox help
#
# More Info: https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#docker-compose

services:
    archivebox:
        image: ${ARCHIVEBOX_IMAGE:-archivebox/archivebox:latest}
        restart: unless-stopped
        ports:
            - "${ARCHIVEBOX_PORT:-5797}:5797"
        volumes:
            - ./data:/data                                       # Required: main data directory must be on a fast local SSD
            # - /mnt/archivebox/data/archive:/data/archive       # Optional: store the bulky data/archive content on a slower HDD or remote network store
            - tmp:/tmp/archivebox                                # lets one-off `docker compose run` commands reuse main server's runners
        environment:
            # - ADMIN_USERNAME=admin                             # optional admin user to create on first run, skips first-time setup admin creation UI
            # - ADMIN_PASSWORD=SomeSecretPassword
            - BASE_URL                                           # canonical URL users will access this server at, can be set up via first-run wizard in the UI as well
            - SERVER_SECURITY_MODE                               # defaults to "auto", can be set up via first-run wizard in the UI as well
            - PUBLIC_ADD_VIEW=False                              # set to True to allow anonymous users to submit new URLs to archive
            - ARCHIVEDOTORG_ENABLED=True                         # set to False if you dont want to send URLs to Archive.org
            - PUID                                               # optional numeric UID for NFS/CIFS/FUSE mounts (defaults to collection owner or 911)
            - PGID                                               # optional numeric GID for NFS/CIFS/FUSE mounts (defaults to collection group or 911)
            # For all other options, it's better to use data/ArchiveBox.conf or the new Personas config feature in the admin UI...
            # - TIMEOUT=60
            # - CHECK_SSL_VALIDITY=False                         # settings here data/ArchiveBox.conf to be able to edit it in the UI
            # - USER_AGENT="..."                                 # ... move any settings like these into 
            # ...
            # For more info, see: https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#configuration
        shm_size: 1gb                                            # chrome runs better when it can use a decently sized shm pool
        pids_limit: 2048                                         # avoids low systemd task caps with Chrome and parallel extractors
        ulimits:
            nofile: 8192                                         # headroom for concurrent replay files, SQLite connections, and capture hooks


####################################################################################################################
    ### No Separate containers are needed for sonic or scheduled archiving, these are all optional addons: ###

    ### Optional: HTTPS ingress using Cloudflare
    #             https://developers.cloudflare.com/tunnel/reference/run-parameters/
    #
    # cloudflared:
    #     image: cloudflare/cloudflared
    #     command: tunnel --no-autoupdate --loglevel debug --retries 15 --protocol http2 --overwrite-dns --url http://archivebox:5797 --hostname archivebox.io --name archivebox.io
    #     volumes:                                                                                                                 # ^ (replace archivebox.io with your own domain)
    #         # Download a cert.pem into this folder from https://dash.cloudflare.com/argotunnel
    #         - ./etc/cloudflared:/etc/cloudflared
    

    ### Optional: ArchiveBox Bot + ArchiveBox AI Bot: save links and run archiving tasks from Slack, WhatsApp, etc.
    #             https://github.com/ArchiveBox/archivebox-chat-bot
    #
    # archivebox-chat-bot:
    #     build: https://github.com/ArchiveBox/archivebox-chat-bot.git#main
    #     restart: unless-stopped
    #     ports:
    #         - "127.0.0.1:5798:5798"
    #         # Open http://localhost:5798, choose a console password, then connect to http://archivebox:5797 with your API key.
    #     volumes:
    #         - ./archivebox-chat-bot:/data
    #     # Optional: set ADMIN_PASSWORD to skip the first-run password setup UI.
    #     # environment:
    #     #     ADMIN_PASSWORD: your-console-password


    ### Optional: container to run xvfb+noVNC so you can watch the ArchiveBox browser screen as it archives things /
    #             remote control it to set up a chrome profile w/ logins for sites you want to archive
    # 
    #             https://github.com/ArchiveBox/ArchiveBox/wiki/Chromium-Install#setting-up-a-chromium-user-profile
    #             https://github.com/ArchiveBox/ArchiveBox/wiki/Chromium-Install#docker-vnc-setup
    #
    # novnc:
    #     image: theasp/novnc:latest
    #     environment:
    #         - DISPLAY_WIDTH=1920
    #         - DISPLAY_HEIGHT=1080
# ... (see full file in official GitHub repository)

ArchiveBox System Requirements & Self-Hosting Guide

Deploy ArchiveBox (1 – 2 GB RAM) →

Recommended VPS

1 – 2 GB RAM

1 – 2 vCPU · $4 – $6/mo VPS

Deployment Method

Beginner-Friendly

Docker / Docker Compose (Recommended)

Commercial Use (MIT)

Yes — free for personal, internal company, and commercial use with attribution.

Maintenance Status

Active

Last commit: 2026-11-27

Frequently Asked Questions about ArchiveBox

Is ArchiveBox free to self-host for commercial use?

ArchiveBox is released under the MIT license. Yes — free for personal, internal company, and commercial use with attribution. It has 29,115 GitHub stars and was last updated on 2026-11-27.

What VPS specifications do I need to self-host ArchiveBox?

Based on its Python/Docker runtime and Archiving and Digital Preservation (DP) workload, we recommend at least 1 – 2 GB RAM and 1 – 2 vCPU (typically $4 – $6/mo VPS).

Does ArchiveBox support Docker deployment?

Yes — ArchiveBox supports Docker / Docker Compose (Recommended), making it beginner-friendly to spin up on any Linux VPS.

More Open-Source Archiving and Digital Preservation (DP)

View all →
★ 13.1k

Web application, formerly Poche, allowing you to save articles to read them later with improved readability. .

Replaces: Pocket Wayback Machine
★ 4.5k Docker

BitTorrent indexer, DHT crawler, content classifier and torrent search engine with web UI, GraphQL API and Servarr stack integration. .

MIT Go/Docker
Details →
★ 2.5k Docker

Email archiving solution with full-text search and eDiscovery search features. , Source Code.

AGPL-3.0 Docker
Details →
★ 2.3k Docker

Web application for archiving, searching, and exporting emails from multiple accounts (IMAP, M365 or Import). Featuring folder sync, attachment support, mailbox migration and a dashboard.

Replaces: Ring / Nest Cam
GPL-3.0 Docker
Details →
★ 2.3k

Toolkit for archiving webpages to the Internet Archive, archive.today, IPFS, and local file systems.

Replaces: Wayback Machine
GPL-3.0 Go
Details →