Show HN: Wikitool – CLI for fetching Wikipedia content I wanted Wikipedia access for scripts and AI agents without scraping rendered pages. Using the API is lighter on Wikipedia's servers and compliant with their guidelines. So I built a command-line tool for fetching Wikipedia articles and search results via the REST API.
It parses Wikipedia URLs automatically (extracts language + title), supports all 300+ language editions, and exposes CirrusSearch query syntax for search.Output is wikitext by default, with `--html` and `--output json` options. Single static Go binary, no dependencies. Repo: https://github.com/teal-bauer/wikitool There's also a skill file (https://github.com/teal-bauer/wikitool-skill) that teaches Claude Code how to use it. |
No comments yet