A Rust utility for downloading and saving XKCD comics.
- Download and save XKCD comics directly from the official XKCD API.
- Concurrent downloads for faster fetching.
- Resilient to network issues with retry mechanisms.
-
Rust 2018 Edition or later. You can download Rust from the official website or using Rustup:
Clone the repository:
git clone https://github.com/ninenine/xkcd-rs.git
cd xkcd-rs
Build the project:
cargo build --release
After building the project, run:
./target/release/xkcd-rs
This will start downloading all XKCD comics to the specified directory.
You can modify certain parameters, such as the maximum number of concurrent downloads, by editing the source. Future versions may support a configuration file or command-line arguments.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Inspired by the wonderful world of XKCD.
- Thanks to all contributors and the Rust community.