Skip to content

docs: fix README accuracy and improve newcomer experience#61

Merged
bigspawn merged 2 commits intomainfrom
docs/fix-readme-and-quickstart
Mar 1, 2026
Merged

docs: fix README accuracy and improve newcomer experience#61
bigspawn merged 2 commits intomainfrom
docs/fix-readme-and-quickstart

Conversation

@bigspawn
Copy link
Owner

@bigspawn bigspawn commented Mar 1, 2026

Summary

Audit and fix of README.md, docker-compose.example.yaml, Dockerfile and CLAUDE.md based on deep comparison against actual code.

Changes

Critical fixes (blocked newcomers from running the project)

  • Add Prerequisites section — Docker/Go 1.25+ requirements were nowhere stated
  • Fix Quick Start Step 2 — missing cp docker-compose.example.yaml docker-compose.yaml step; without it Step 3 fails with "no configuration file provided"
  • Remove --service-ports from dry-run — only needed for login (OAuth callback), not for sync

UX / clarity fixes

  • Expand OAuth flow explanation (Step 3) — explain URL copy, browser redirect, why port 18080, token persistence in volume
  • Add docker-compose logs -f sync after daemon start — no way to verify it worked before
  • Move --config to Global options — it works for all commands (login/logout/status/unmapped) but was only documented under Sync
  • Replace login all with login everywhere — all was an ignored positional arg, misleading UX
  • Mark WATCH_INTERVAL as required for watch mode — listed as Optional but watch command errors without it
  • Add full local build section — Option A (go install), Option B (clone + build), complete first-run flow
  • Add docker compose v1/v2 compatibility note — most modern systems don't have docker-compose installed
  • Document reverse-direction strategy chains — Forward and Reverse (Anime + Manga) now all four chains are listed

Bug fixes

  • Dockerfile: replace placeholder github.com/username/anilist-mal-syncgithub.com/bigspawn/anilist-mal-sync in OCI label
  • docker-compose.example.yaml: sync usage comments with README
  • CLAUDE.md: fix build command (./cmd/main.go., directory doesn't exist); remove nonexistent deps (jikanGo, cenkalti/backoff) — Jikan and retry are custom implementations

Testing

No code changes — documentation only.

bigspawn added 2 commits March 1, 2026 16:51
- docker-compose.example.yaml: add command: watch --once, uncomment
  WATCH_INTERVAL=12h, add FAVORITES_SYNC_ENABLED comment — fixes silent
  restart-loop that hammered APIs on docker-compose up -d
- README: replace TODO section (falsely marked favorites as unimplemented)
  with Roadmap (only rewatching remains)
- README: add 'What gets synced' table (status, score, progress, dates,
  favorites) with conflict rule and link to docs/date-sync.md
- README: clarify Step 4 dry-run warning and watch daemon explanation
- README: fix --once description (first sync waits full interval without it)
- config.example.yaml: remove false Patreon NOTE from hato_api section
- config.example.yaml: add missing favorites: block
- main.go + cli.go: inject version via -ldflags instead of hardcoded 1.0.0
- Makefile: add VERSION and LDFLAGS, pass to go build
- Dockerfile: accept VERSION build arg and pass to -ldflags
- Add Prerequisites section (Docker/Go 1.25+ requirements)
- Fix Quick Start Step 2: add missing 'cp docker-compose.example.yaml docker-compose.yaml'
- Expand Step 3 OAuth flow: explain URL copy, browser redirect, token persistence
- Remove --service-ports from dry-run command (only needed for login)
- Add 'docker-compose logs -f sync' after daemon start
- Move --config to Global options (works for all commands, not just sync)
- Replace 'login all' with 'login' everywhere (positional arg was misleading)
- Mark WATCH_INTERVAL as required for watch mode
- Add full local build section (Option A: go install, Option B: clone + build)
- Add docker compose v1/v2 compatibility note
- Document reverse-direction strategy chains (Anime + Manga)
- Fix docker-compose.example.yaml usage comments
- Fix Dockerfile: replace placeholder 'username' with 'bigspawn' in image label
- Fix CLAUDE.md: correct build command (./cmd/main.go -> .), remove nonexistent
  dependencies (jikanGo, cenkalti/backoff) and document actual implementations
@bigspawn bigspawn merged commit 5b86b26 into main Mar 1, 2026
3 checks passed
@bigspawn bigspawn deleted the docs/fix-readme-and-quickstart branch March 1, 2026 16:08
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