{"id":23838333,"url":"https://github.com/lukehsiao/sitemap2urllist","last_synced_at":"2026-04-01T22:07:33.926Z","repository":{"id":270623171,"uuid":"910956739","full_name":"lukehsiao/sitemap2urllist","owner":"lukehsiao","description":"Read a sitemap and output a list of URLs.","archived":false,"fork":false,"pushed_at":"2026-03-21T14:07:52.000Z","size":149,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-21T18:23:36.979Z","etag":null,"topics":["cli","linkcheck","rust","sitemap","urllist"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lukehsiao.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-01T22:37:17.000Z","updated_at":"2026-03-21T14:07:37.000Z","dependencies_parsed_at":"2025-02-22T04:24:07.970Z","dependency_job_id":"a361fe2a-cdfa-40da-b424-b5d8b37c05fa","html_url":"https://github.com/lukehsiao/sitemap2urllist","commit_stats":null,"previous_names":["lukehsiao/sitemap2urllist"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/lukehsiao/sitemap2urllist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehsiao%2Fsitemap2urllist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehsiao%2Fsitemap2urllist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehsiao%2Fsitemap2urllist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehsiao%2Fsitemap2urllist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukehsiao","download_url":"https://codeload.github.com/lukehsiao/sitemap2urllist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukehsiao%2Fsitemap2urllist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","linkcheck","rust","sitemap","urllist"],"created_at":"2025-01-02T16:56:53.029Z","updated_at":"2026-04-01T22:07:33.913Z","avatar_url":"https://github.com/lukehsiao.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n    🌐\u003cbr\u003e\n    sitemap2urllist\n\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n    \u003cstrong\u003eRead a sitemap and output a list of URLs.\u003c/strong\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/lukehsiao/sitemap2urllist/actions/workflows/general.yml\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/lukehsiao/sitemap2urllist/general.yml\" alt=\"Build Status\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/sitemap2urllist\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/sitemap2urllist\" alt=\"Version\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/lukehsiao/sitemap2urllist/blob/main/LICENSE.md\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/l/sitemap2urllist\" alt=\"License\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\n`sitemap2urllist` is a CLI tool for parsing a sitemap and outputting a simple list of URLs, which can easily be piped into other tools (e.g., [lychee](https://github.com/lycheeverse/lychee)).\n\n## Install\n\n```\ncargo install --locked sitemap2urllist\n```\n\nOr, if you use [`cargo-binstall`](https://github.com/cargo-bins/cargo-binstall):\n\n```\ncargo binstall sitemap2urllist\n```\n\n## Usage\n\n```\nRead a sitemap and output a list of URLs.\n\nUsage: sitemap2urllist [OPTIONS] \u003cURL\u003e\n\nArguments:\n  \u003cURL\u003e  The URL to a sitemap\n\nOptions:\n      --no-cache                       Do NOT use request cache stored on disk\n      --max-cache-age \u003cMAX_CACHE_AGE\u003e  Discard all cached requests older than this duration [default: 30d]\n  -v, --verbose...                     Increase logging verbosity\n  -q, --quiet...                       Decrease logging verbosity\n  -h, --help                           Print help (see more with '--help')\n  -V, --version                        Print version\n```\n\n### Example Usage with Lychee\n\nAt some point, it is likely link checkers like lychee obviate the need for this tool by implementing [recursive link checking](https://github.com/lycheeverse/lychee/issues/78).\n\nIn the meantime, it is easy to run a link check from your local machine on an entire website as defined by its sitemap by doing something like the following.\n\n```\nsitemap2urllist https://alumni.cottonwoodhigh.school/sitemap-index.xml | xargs lychee --cache\n```\n\nNote you can combine this with [lychee's configuration](https://lychee.cli.rs/usage/config/) to do things like cache or ignore certain errors, etc.\n\n## Caching\n\nWe use OS-standard locations for caching.\n\n- **Linux**: `$XDG_CACHE_HOME/sitemap2urllist/cache.json` or `$HOME/.cache/sitemap2urllist/cache.json`\n- **macOS**: `$HOME/Library/Caches/dev.hsiao.sitemap2urllist/cache.json`\n- **Windows**: `{FOLDERID_LocalAppData}\\hsiao\\sitemap2urllist\\cache\\cache.json`\n\nThe cache file is simple JSON.\n\nThe cache only prevents refetching a feed if the feed source responds with a 429.\nIn this case, we respect `Retry-After`, or default to 4 hours.\nOtherwise, we use the cache to send conditional requests by respecting the `ETag` and `Last-Modified` headers.\n\n## Related Tools\n\n- [Sitemap-to-Urllist](https://github.com/matejkosiarcik/sitemap2urllist) (rust/shell/typescript): Simple sitemap.xml to urllist.txt converter (**abandoned**)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukehsiao%2Fsitemap2urllist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukehsiao%2Fsitemap2urllist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukehsiao%2Fsitemap2urllist/lists"}