Skip to content

Docs: accurate README build/test/CI, API route index, open follow-ups - #5

Merged
techmore merged 1 commit into
mainfrom
improve/docs-accuracy
Oct 21, 2026
Merged

techmore merged 1 commit into
mainfrom
improve/docs-accuracy

Conversation

@techmore

Copy link
Copy Markdown
Owner

Summary

Documentation-only PR that brings README.md, API.md and REFACTOR_CHECKLIST.md in line with what the repository actually contains. Every route and behaviour added to API.md was checked against server/internal/httpapi/server.go and the handlers before being written down.

What changed

  • README
    • The "Repo caveat" about IOS_Client_Xcode/TM_Sonder_Client being a bare gitlink is stale: the sources are vendored and CI runs their tests and an unsigned build. Replaced with the accurate note.
    • Build section lists make linux / make linux-amd64 alongside make mac, and the Go 1.25 / Node requirements.
    • transcode.hwaccel note: VideoToolbox is macOS-only; Linux should use none/vaapi/qsv.
    • New Web UI table naming every embedded page, with a screenshots placeholder.
    • make test comment, the Tests section (adds the web client and deploy script tests) and the CI paragraph (four jobs, including the linux/amd64 cross-compile and the iOS job) now match Makefile and ci.yml.
  • API.md
    • The reference-implementation note pointed at a go-port branch; the Go server is on main and authoritative, the macOS embedded server is legacy.
    • Audiobooks: chapters, download, chapter-lookup/chapter-map, conversion and the classic/beta page aliases.
    • New Ebooks section (/api/ebooks, /ebooks, /read/{id}); Artwork gains /artwork/curated/{id}.
    • New Route index for the ~45 registered routes that had no entry anywhere: movie continue/preparation/VOD/HLS assets, reading lists, shared reading queue and Google link, catalog reports, settings/maintenance (browse, rescan, enrich, subtitles, youtube, prioritize/promote), the Jellyfin and Audiobookshelf compatibility surfaces, and the browser pages and public static assets.
  • REFACTOR_CHECKLIST.md: all existing items were checked off; adds an open "Go server follow-ups" list from this audit (staticcheck dead code, the unserved /project-analytics.js, macOS-only template paths, phone header strip affordance, staticcheck in CI).

How verified

  • Route list diffed against grep HandleFunc server/internal/httpapi/server.go (139 registrations); each one-line purpose checked against the handler or the existing docs/*.md note for that feature.
  • Markdown renders; no code changes, so CI is unaffected beyond the docs.

Risks / follow-ups

  • Wording for the Jellyfin/Audiobookshelf tables is deliberately limited to paths and auth scope rather than payload shapes, which API.md does not document for those clients today.
  • The screenshots section is a placeholder; images are best captured from the production instance by the owner.

🤖 Generated with Claude Code

README: the iOS client caveat described a bare gitlink that no longer
exists (the sources are vendored and CI tests them); the build section now
lists the Linux targets and the Go/Node requirements; the hwaccel note says
VideoToolbox is macOS-only; a Web UI table names every embedded page with a
screenshots placeholder; the Tests and CI paragraphs describe what actually
runs (web client tests, deploy script tests, the four CI jobs).

API.md: the reference-implementation note pointed at a `go-port` branch;
the Go server is on main and authoritative. The Audiobooks section lists
the chapter, download, chapter-lookup/map and conversion routes, a new
Ebooks section covers /api/ebooks, /ebooks and /read/{id}, Artwork gains
the curated poster route, and a Route index documents every other
registered route that had no entry: movie continue/preparation/VOD/HLS,
reading lists, the shared reading queue and Google link, catalog reports,
settings and maintenance, the Jellyfin and Audiobookshelf compatibility
surfaces, and the browser pages and static assets.

REFACTOR_CHECKLIST.md: every item was checked; a new section records the
open Go server follow-ups found in this audit (staticcheck dead code, the
unserved /project-analytics.js, macOS-only template paths, the phone header
strip affordance, adding staticcheck to CI).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@techmore
techmore merged commit 14ae73b into main Oct 21, 2026
8 checks passed
@techmore
techmore deleted the improve/docs-accuracy branch October 21, 2026 20:37
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