Anilist Chart
Read-only render layer for the AniList chat statistics site: turns the
anilist_metadata and user_scores ClickHouse tables (written by the
@anilist/api ingest model) into the six static pages — the «Доска почёта»
board, the /anime landing, and the four genre charts (chart, current, fresh,
bayes). This is a faithful port of the legacy Python (generate_board.py,
generate_landing.py, anilist_chart*.py); every ranking rule, formatter, and
award is reproduced from the oracle. The render boundary is strictly
read-only — the worst failure is a stale page for a week, fixable by re-run.
Methods render the pages from whatever data is present and publish each page that rendered (fan-out; one failing page never suppresses the rest).
Merge pull request #60 from umag/feat/anilist-chart-extension
feat(anilist-chart): add @magistr/anilist-chart render+publish extension
Global Arguments
| Argument | Type | Description |
|---|---|---|
| clickhouseUrl? | string | ClickHouse HTTP endpoint for the read-only render user, e.g. https://host:8443. |
| clickhouseUser? | string | Read-only ClickHouse user (sent as the X-ClickHouse-User header). |
| clickhouseKey? | string | Password for the read-only ClickHouse user (X-ClickHouse-Key header). |
| clickhouseDatabase | string | ClickHouse database holding anilist_metadata and user_scores. |
| userNames | array | AniList usernames whose scores feed the four genre charts. |
| topK | number | Rows per genre in each chart; also advertised on the /anime landing. |
| bayesMinVotes | number | Bayesian prior weight m (minimum votes for confidence) on the /bayes chart. |
| penaltyRate | number | Per-season age penalty applied on the /fresh chart. |
| nodeHost? | string | SSH host of the node serving the pages. Required for `publish`. |
| nodeUser | string | SSH user for the serving node. |
| outputDir? | string | Absolute path of the nginx-served output directory on the node. Required for `publish`. |
| Argument | Type | Description |
|---|---|---|
| topK | number | Rows per genre; threaded into BOTH the chart compute and the landing copy. |
| bayesMinVotes | number | Bayesian prior weight m; threaded into the /bayes chart. |
Resources
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive0/1missing
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned