feat: dashboard KDE Plasma 6 per utilizzo OpenAI Codex

Widget desktop 224x224 che mostra:
- residuo settimanale con barra e percentuale
- countdown esatto al reset (reset_at dall'API)
- piano (Plus/Free), crediti, stato limiti
- backend bash che chiama https://chatgpt.com/backend-api/wham/usage
- legge il token OAuth da ~/.pi/agent/auth.json (provider openai-codex)
This commit is contained in:
Matteo Benedetto
2026-08-20 18:48:51 +02:00
commit 3eee01f0f2
8 changed files with 555 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
{
"KPackageStructure": "Plasma/Applet",
"KPlugin": {
"Id": "org.enne2.codex.usage",
"Name": "OpenAI Codex Usage",
"Name[it]": "Utilizzo OpenAI Codex",
"Description": "Shows the weekly usage allowance for OpenAI Codex (ChatGPT OAuth profile), with exact reset countdown, plan type, and credits",
"Description[it]": "Mostra il residuo settimanale di OpenAI Codex (profilo ChatGPT OAuth), con countdown esatto del reset, tipo piano e crediti",
"Icon": "code-context",
"Category": "System Information",
"License": "GPL-3.0",
"Version": "1.0.0",
"Authors": [ { "Name": "enne2" } ]
},
"X-Plasma-API-Minimum-Version": "6.0"
}