Skip to content

Replace docs scaffold with real content and download links#2

Merged
tamnd merged 1 commit into
mainfrom
docs-real-content
Jun 14, 2026
Merged

Replace docs scaffold with real content and download links#2
tamnd merged 1 commit into
mainfrom
docs-real-content

Conversation

@tamnd

@tamnd tamnd commented Jun 14, 2026

Copy link
Copy Markdown
Owner

The docs site shipped as scaffold. Pages told the reader to "add commands as you build", the CLI reference listed only version, the troubleshooting page referenced flags that do not exist (--rate, -v) and a cookie/session model that does not apply to Hacker News, and the template examples used the wrong field casing.

Every page is rewritten against the real tool and verified with a local tago build (20 pages, clean).

Installation gets real download links

The page now leads with a per-platform table linking every v0.1.1 prebuilt archive (macOS/Linux/Windows/FreeBSD across amd64/arm64/armv7/386), plus:

  • copy-paste install steps for macOS/Linux (curl + tar + install) and Windows
  • native package commands for deb / rpm / apk
  • go install, Docker (GHCR), and from-source
  • cosign + checksum verification

Guides

Five task-oriented walkthroughs replace the empty section: browse the front page, read a thread, search and filter, follow a user, and pipe into jq.

Reference corrected to the actual surface

  • CLI: every command with its own flags (item --depth, user --submissions, search --tags/--sort/--since/--points/--comments) and the full global flag set.
  • Output: the seven real formats, --fields, --no-header, and lowercase template keys with the join function.
  • Configuration: the real networking flags (-j, --delay, --timeout, --retries), and the fact that there are no env vars.
  • Troubleshooting: the real exit-code table (0/1/2/3), 429 handling via --delay/-j, and the macOS quarantine fix.

Home, quick-start, release notes

Real commands and sample output; added the v0.1.1 release note.

After merge the Docs workflow redeploys to GitHub Pages and Cloudflare Pages.

The docs site shipped as scaffold: pages told the reader to add commands later,
the CLI reference listed only version, the troubleshooting page named flags that
do not exist (--rate, -v) and a cookie session model that does not apply to HN,
and the template examples used the wrong field casing.

Rewrite every page against the real tool:

- Installation now leads with a per-platform download table linking the v0.1.1
  prebuilt archives, plus copy-paste install steps for macOS/Linux/Windows,
  native deb/rpm/apk commands, go install, Docker, source, and cosign
  verification.
- Five task guides (front page, threads, search, users, scripting) built around
  jobs rather than commands.
- CLI reference lists every command with its own flags and the global flag set.
- Output, configuration, and troubleshooting pages corrected to the actual
  formats, flags (--delay, -j, -q), lowercase template keys, and exit codes.
- Home and quick-start show real commands and sample output.
- Added the v0.1.1 release note.
@tamnd
tamnd merged commit 0cfcdaa into main Jun 14, 2026
7 checks passed
@tamnd
tamnd deleted the docs-real-content branch June 14, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant