Skip to content
fandom

v0.1.0

The first public release: six commands covering the Fandom v1 REST API.

Released 2026-06-18

The first public release. fandom is a single pure-Go binary that puts Fandom's public data behind a tool that feels like curl: search a wiki, list popular pages, fetch an article by ID, and check recent edit activity. No API key, no signup.

What you get

  • Search. fandom search queries the Fandom v1 Search/List endpoint and returns ranked article stubs.
  • Popular articles. fandom top returns the most-viewed articles in a wiki from Articles/Top.
  • Paginated list. fandom list paginates through all articles via Articles/List.
  • Article detail. fandom article <id> fetches one article by its numeric page ID from Articles/Details.
  • Recent activity. fandom activity returns recent edit events from Activity/LatestActivity.
  • Wiki metadata. fandom info returns the wiki name, language, and topic from Mercury/WikiVariables.

Every command shares a common output layer with --output table|jsonl|json|csv|tsv|url|raw, column filtering with --fields, Go template rendering with --template, and automatic format detection (table on a terminal, JSONL in a pipe).

Install

go install github.com/tamnd/fandom-cli/cmd/[email protected]

Or download a prebuilt binary from the release page. The container image is on GHCR:

docker run --rm ghcr.io/tamnd/fandom:0.1.0 --wiki starwars top