Commit graph

1 commit

Author SHA1 Message Date
google-labs-jules[bot]
5d71a365cd feat: Add Wayback Machine integration
This commit introduces a new `wayback` command to interact with the Internet Archive's Wayback Machine.

The `wayback` command has two subcommands:
- `list`: Lists available snapshots for a given URL.
- `collect`: Collects a snapshot of a website for offline viewing.

The `collect` subcommand supports the following features:
- Recursive downloading of all assets (CSS, JS, images, etc.).
- Deduplication of content to avoid downloading the same file multiple times.
- Rate-limiting to avoid overwhelming the Wayback Machine's API.
- Rewriting of internal links for offline viewing.

The implementation follows the existing command structure and includes unit and integration tests.

Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
2026-02-02 00:46:49 +00:00