Elle grignote vos jetons : suivez ce que coûtent vos fournisseurs de LLM et ce qu'il reste de chaque quota.
Grignote est un tableau de bord web et une app de barre des menus macOS, open source (licence MIT), à héberger chez vous. Elle adapte le design de CodexBar, de Peter Steinberger (licence MIT).
Alpha 0.6.0 : le contrat de données et les réglages peuvent encore changer entre versions mineures. Code sur GitHub Versions
Installation rapide : le web
Il faut Rust 1.99 ou plus. Aucune donnée ne part nulle part ; pas de connexion dans ce mode d'essai (boucle locale seulement).
git clone https://github.com/Fguarien/grignote && cd grignote
cargo build --release -p grignote -p grignote-collector --locked
target/release/grignote-collector --demo --out /tmp/vue.json
GRIGNOTE_AUTH=none GRIGNOTE_BIND=127.0.0.1 GRIGNOTE_VUE=/tmp/vue.json \
GRIGNOTE_PARAMS=/tmp/grignote-params.json PORT=8080 target/release/grignote
Le collecteur
grignote-collector lit LiteLLM et OpenRouter et écrit le vue.json que le web sert. Les clés d'API viennent de variables d'environnement, jamais d'un fichier. Exemples systemd, cron et Docker Compose dans le dépôt.
LITELLM_BASE_URL=http://litellm.example.org:4000 LITELLM_API_KEY=... OPENROUTER_API_KEY=... \
target/release/grignote-collector --out web/data/vue.json
L'app Mac
macOS 12 ou plus. Elle n'a aucune adresse de serveur intégrée : vous lui donnez la vôtre.
cargo build --release -p grignote-menu --locked
target/release/grignote-menu bundle build/ --install
defaults write io.github.fguarien.grignote-menu serveur_url "https://grignote.example.org"
Crédits
Design et catalogue de fournisseurs adaptés de CodexBar, par Peter Steinberger (licence MIT) ; l'avis de licence est conservé dans le fichier NOTICE du dépôt. Les noms et logos des fournisseurs sont la propriété de leurs titulaires.
English
It nibbles your tokens: track what your LLM providers cost and how much of each quota you have left.
Grignote is an open-source (MIT) web dashboard and macOS menu bar app that you host yourself. It adapts the design of CodexBar by Peter Steinberger (MIT).
Alpha 0.6.0: the data contract and the settings may still change between minor versions. Source on GitHub Releases
Quick install: the web app
Needs Rust 1.99 or newer. Nothing is sent anywhere; no login in this trial mode (loopback only).
git clone https://github.com/Fguarien/grignote && cd grignote
cargo build --release -p grignote -p grignote-collector --locked
target/release/grignote-collector --demo --out /tmp/vue.json
GRIGNOTE_AUTH=none GRIGNOTE_BIND=127.0.0.1 GRIGNOTE_VUE=/tmp/vue.json \
GRIGNOTE_PARAMS=/tmp/grignote-params.json PORT=8080 target/release/grignote
The collector
grignote-collector reads LiteLLM and OpenRouter and writes the vue.json the web app serves. API keys come from environment variables, never from a file. systemd, cron and Docker Compose examples are in the repository.
LITELLM_BASE_URL=http://litellm.example.org:4000 LITELLM_API_KEY=... OPENROUTER_API_KEY=... \
target/release/grignote-collector --out web/data/vue.json
The Mac app
macOS 12 or newer. It has no built-in server address: you give it yours.
cargo build --release -p grignote-menu --locked
target/release/grignote-menu bundle build/ --install
defaults write io.github.fguarien.grignote-menu serveur_url "https://grignote.example.org"
Credits
Design and provider catalogue adapted from CodexBar by Peter Steinberger (MIT); the licence notice is kept in the repository's NOTICE file. Provider names and logos belong to their owners.




