Files
cottongin 8ba32e128c docs: comprehensive API documentation from source code
Replace existing docs with fresh documentation built entirely from source
code analysis. OpenAPI 3.1 spec as source of truth, plus human-readable
Markdown with curl examples, response samples, and workflow guides.

- OpenAPI 3.1 spec covering all 42 endpoints (validated against source)
- 7 endpoint reference docs (auth, games, sessions, picker, stats, votes, webhooks)
- WebSocket protocol documentation (auth, subscriptions, 4 event types)
- 4 guide documents (getting started, session lifecycle, voting, webhooks)
- API README with overview, auth docs, and quick reference table
- Old docs archived to docs/archive/

Made-with: Cursor
2026-03-15 16:44:53 -04:00

1.6 KiB

TODO:

Chrome Extension

  • /.old-chrome-extension/ contains OLD code that needs adjusting for new game picker format. (COMPLETED: New simplified extension in /chrome-extension/)
  • remove clunky gamealias system, we are only tracking "thisgame++" and "thisgame--" now.
  • ensure the extension is watching for "thisgame++" or "thisgame--" anywhere in each chat line.
  • if a chat line matches capture the whole message/line, the author, and the timestamp (UTC).
  • ensure our JSON output matches the new format:
        [
            {
            "username": "Alice",
            "message": "thisgame++",
            "timestamp": "2024-10-30T20:15:00Z"
            },
            {
            "username": "Bob",
            "message": "This is fun! thisgame++",
            "timestamp": "2024-10-30T20:16:30Z"
            }
        ]
    

Game Manager

  • implement favoring system (for packs and games). (COMPLETED: Full weighted selection system with visual indicators)
    • if a game or pack is marked favored (👍), then we bias the picking algorithm to pick those games.
    • if a game or pack is marked as disfavored (👎), then we bias the picking algorithm to not pick those games.
    • biased games/packs should be highlighted subtley somehow in any lists they're in elsewhere in the UI, like the Pool Viewer.

Bug Fixes

  • Entire App: local timezone display still isn't working. I see UTC times. (FIXED: Created dateUtils.js to properly parse SQLite UTC timestamps)

Other Features

  • Session History: export sessions to plaintext and JSON. (COMPLETED: Export buttons in History page)