What problem does it solve?
It automates the daily production of a ranked community-model leaderboard image, eliminating manual data querying, chart design, rendering, and Discord posting for the Pollinations community.
Core Features & Use Cases
- Automated Leaderboard Generation: Queries Tinybird for tokens served per model in the last 24 hours and builds a ranked pixel-art HTML board with speed panels and stability badges.
- Headless Chromium Rendering: Screenshots the HTML via the chromium snap with sandbox workarounds, then crops whitespace using a python3-pil script.
- Direct Upload and Posting: Uploads the image to the Pollinations media API and outputs ready-to-post Discord markdown.
- Use Case: A maintainer asks to regenerate or redesign the daily leaderboard (e.g., adding a new stat panel or changing the palette) and previews it with a dry run before the scheduled post.
Quick Start
Regenerate the community model leaderboard with a dry run to preview the HTML before rendering and posting it to Discord.