686 B
686 B
WebArc
webarc
is a local website archive based on monolith.
Configuration
You can configure the application using environment variables:
$ROUTE_INTERNAL
: Rewrite links to point back to the archive itself$DOWNLOAD_ON_DEMAND
: Download missing routes with monolith on demand$BLACKLIST_DOMAINS
: Blacklisted domains (Comma-seperated regex, example:google.com,.*.youtube.com
)
Usage
Archived pages can be viewed at /s/<domain>/<path..>
.
For example, /s/en.wikipedia.org/wiki/Website
will serve en.wikipedia.org
at /wiki/Website
.
To select an archive from a certain time, add ?time=YYYY-MM-DD
parameter to the URL.