webarc/README.md
JMARyA 83b2eec003
Some checks failed
ci/woodpecker/push/build Pipeline failed
docs
2024-12-29 18:39:34 +01:00

14 lines
579 B
Markdown

# WebArc
`webarc` is a local website archive based on [monolith](https://github.com/Y2Z/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
## 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.