sido

Crates.iosido
lib.rssido
version0.1.0
created_at2025-07-22 18:29:45.353941+00
updated_at2025-07-22 18:29:45.353941+00
descriptionExecute commands for every URL in a sitemap
homepagehttps://github.com/paulvandermeijs/sido
repositoryhttps://github.com/paulvandermeijs/sido
max_upload_size
id1763835
size73,452
Paul van der Meijs (paulvandermeijs)

documentation

README

sido

Execute commands for every URL in a sitemap.

Description

sido (Sitemap Do) is a command-line tool that fetches URLs from XML sitemaps and runs a specified command for each URL. It supports recursive sitemap processing and parallel execution.

Installation

cargo install sido

Or build from source:

git clone https://github.com/paulvandermeijs/sido.git
cd sido
cargo install --path .

Usage

sido <SITEMAP_URL> <COMMAND> [OPTIONS]

Use {} in your command as a placeholder for each URL.

Examples

# Check HTTP status
sido https://example.com/sitemap.xml "curl -I {}"

# Validate all URLs return 200
sido https://example.com/sitemap.xml "curl -s -o /dev/null -w '%{http_code}' {} | grep -q 200"

# Warm cache
sido https://example.com/sitemap.xml "curl -s {} > /dev/null"

Options

-c, --concurrency <N>     Maximum concurrent jobs [default: 10]
-t, --timeout <SECONDS>   HTTP timeout for sitemaps [default: 30]
--job-timeout <SECONDS>   Command execution timeout [default: 300]
-u, --user-agent <UA>     Custom User-Agent [default: sido/0.1.0]

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Commit count: 0

cargo fmt