ArchiveBox Proxy
Browse once. Archive in the background. Replay from your collection.
HTTPS caching · Automatic captures · HTTP/3 · Archive replay
Installation
Linux & macOS · ARM64 & AMD64 · Python 3.11+
Install with uv, trust the certificate, and start:
uv tool install archivebox-proxy
archivebox-proxy --install-ca
archivebox-proxy --socks
Already using a Python environment? Install with uv pip install archivebox-proxy or pip install archivebox-proxy instead.
Look for ArchiveBox Proxy is ready, then connect your browser.
Archive pages as you browse: install ArchiveBox and initialize a collection, then select it:
archivebox-proxy --socks --archivebox ~/archivebox/data
For authenticated pages, add --persona NAME to use the same saved session as your browser. Captures reuse the proxy cache, and saved snapshots become available for replay.
Docker Compose
Download this repository and run docker compose up -d --build. Look for ArchiveBox Proxy is ready in docker compose logs.
Export its certificate and trust it on your computer:
docker compose exec -T proxy archivebox-proxy --export-ca > proxelar-ca.pem
archivebox-proxy --install-ca proxelar-ca.pem
The included docker-compose.yml starts both ArchiveBox Proxy and archivebox/archivebox:dev. Open archivebox.localhost:8000 to browse your snapshots. Your collection is saved in ~/archivebox/data; set ARCHIVEBOX_DATA to use another location.
Configuring an HTTPS Client
On macOS, open System Settings → Wi-Fi → Details → Proxies. Enable SOCKS proxy, enter 127.0.0.1, port 8080, and click OK. Chrome uses these settings automatically.
Browse normally. With --archivebox, your visits also become ArchiveBox snapshots.
| Connect using | Setup |
|---|---|
| HTTP/HTTPS | Start with --http; set both browser proxy fields to 127.0.0.1:8080 |
| SOCKS5 | Start with --socks; use 127.0.0.1:8080 and enable proxy DNS in your browser |
| WireGuard | Start with --wireguard; import the generated configuration shown at startup into WireGuard |
For another device or a Wi-Fi hotspot, use this computer's LAN address, e.g. --bind 192.168.1.189. Export the certificate with --export-ca proxelar-ca.pem and trust it on the other computer with archivebox-proxy --install-ca proxelar-ca.pem. For WireGuard, also set --wireguard-endpoint 192.168.1.189:8080.
ArchiveBox's capture tools receive their proxy and certificate settings automatically.
Modes
One command selects how clients connect:
| Command | Transport |
|---|---|
archivebox-proxy --http |
HTTP/HTTPS proxy; default |
archivebox-proxy --socks |
SOCKS5 |
archivebox-proxy --wireguard |
WireGuard tunnel |
archivebox-proxy --reverse --target https://news.ycombinator.com |
Reverse proxy |
archivebox-proxy --dns |
DNS proxy |
archivebox-proxy --udp --target 1.1.1.1:53 |
UDP forwarding |
HTTP/3 capture and replay are available in reverse mode with an http3:// target. WebSocket connections are supported.
Turn recording, caching, and archive replay on or off:
| Setting | CLI | Environment |
|---|---|---|
| Automatically archive page visits | --record / --no-record |
PROXY_RECORD=true / false |
| Proxy response cache | --cache / --no-cache |
PROXY_CACHE=true / false |
| Replay from the ArchiveBox collection | --replay / --no-replay |
PROXY_REPLAY=true / false |
All three are enabled by default. Select a collection with --archivebox PATH for capture and replay, or --archive PATH for replay only.
Cache settings and advanced options
| Option | Default |
|---|---|
--policy auto |
Fresh cache → ArchiveBox archive → upstream |
--policy record |
Upstream; replace matching cache entries |
--policy replay |
Cache, including expired entries → archive → upstream |
--policy offline |
Cache, including expired entries → archive → HTTP 504 on a miss |
--cache-gb 50 |
50 GiB disk budget, least-recently-used eviction |
--body-limit 67108864 |
64 MiB per request or response body |
--data PATH |
Your user's application data directory |
--port 8080 |
Browser listener |
--worker-port 8082 |
Capture listener |
Cached responses are reused for at least 24 hours. Sites can allow longer reuse. Use --policy record to fetch fresh responses, or --no-cache to turn caching off.
Options also accept PROXY_ environment variables: --data → PROXY_DATA, --port → PROXY_PORT, and --archivebox-dir → PROXY_ARCHIVEBOX_DIR. CLI flags take precedence. Run archivebox-proxy --help for all options.
Use --hook to run your own command when you visit a page. See archivebox-proxy --help for its arguments.
MIT. Powered by Proxelar and ArchiveBox.
Metadata
Release files for archivebox-proxy 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| archivebox_proxy-0.1.1-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details for archivebox_proxy-0.1.1-py3-none-manylinux_2_28_x86_64.whl |
| archivebox_proxy-0.1.1-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details for archivebox_proxy-0.1.1-py3-none-manylinux_2_28_aarch64.whl |
| archivebox_proxy-0.1.1-py3-none-macosx_11_0_x86_64.whl | Python 3 | none | macOS 11.0+ x86-64 | Details for archivebox_proxy-0.1.1-py3-none-macosx_11_0_x86_64.whl |
| archivebox_proxy-0.1.1-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for archivebox_proxy-0.1.1-py3-none-macosx_11_0_arm64.whl |
Total release size: 28.2 MB
Release files / archivebox_proxy-0.1.1-py3-none-manylinux_2_28_x86_64.whl
| Download URL | archivebox_proxy-0.1.1-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 7.2 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
18692b4a5e2e604e80d40a75565d6409c1c4b41cc85e2fd4d727d5c7da5e36f1
|
|
BLAKE2b-256 checksum How to use checksums |
dc3835da49255bf0f540b06673f7e58d97a08ac8d0bab6b860e0387eed568b0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / archivebox_proxy-0.1.1-py3-none-manylinux_2_28_aarch64.whl
| Download URL | archivebox_proxy-0.1.1-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 7.2 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
d9296c04c1485b5c7059d49b5cb2e1a4609a61164df7ba63fbf5279170b96d32
|
|
BLAKE2b-256 checksum How to use checksums |
7d72f8540f9b3699721bf2dd3bd60bbca027d4bd77e6c9242ad760e6cbe68ab4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / archivebox_proxy-0.1.1-py3-none-macosx_11_0_x86_64.whl
| Download URL | archivebox_proxy-0.1.1-py3-none-macosx_11_0_x86_64.whl |
|---|---|
| Size | 7.1 MB |
| Tags | Python 3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
f71ae5c9a0613e33caf2e00de13e566ee868921416f658dac10e89aef7da5461
|
|
BLAKE2b-256 checksum How to use checksums |
d8f77b40702d1f19ee81c6e0c6e421286eee31205d0913743ddcc2c4f5818a39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / archivebox_proxy-0.1.1-py3-none-macosx_11_0_arm64.whl
| Download URL | archivebox_proxy-0.1.1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.8 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
cfd3bb401f1a3e055c1cfd09ed95b2cf0df5d9c89eb4495e109760d061558f4e
|
|
BLAKE2b-256 checksum How to use checksums |
356a9ae7b1b118e84e0bbac31129339e6544dc6b4c7086f0ecb45278003eb084
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for archivebox-proxy 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.