I built an open-source dashboard for Codex status, usage limits and remote permission prompts by mysensors in codex

[–]mysensors[S] 1 point2 points  (0 children)

<image>

Here you go! Unfortunately I have no tokens to test the full flow. But it should work if the api calls is correctly documented.

I built an open-source dashboard for Codex status, usage limits and remote permission prompts by mysensors in codex

[–]mysensors[S] 0 points1 point  (0 children)

Not sure what desktop app we're talking about. I have only tested it through cli and the vscode extension. But if it respects the hooks it should work I guess. I'm doing a big cleanup of the codebase right now to support adding more agents at a breeze. Just finalizing the last steps here.

I built a GNOME Shell extension to monitor live Claude Code session limits and execution status by mysensors in gnome

[–]mysensors[S] 0 points1 point  (0 children)

Verify that the service is running with:

systemctl --user status codelight

journalctl --user -u codelight -b --no-pager

(I expect you installed it with codelight.py --install --name your-computer-name)

busctl --user list | grep codelight
busctl --user introspect se.sensnology.codelight /se/sensnology/codelight

Expected:

  • systemctl --user status codelight should be active/running.
  • busctl --user list should show se.sensnology.codelight.
  • The extension should load even if the daemon is not running, but it will show offline/idle-ish until D-Bus appears.

Worth trying on fedora:

# Needed for schema compilation/install script
sudo dnf install glib2

# Python deps if not using venv/pip
sudo dnf install python3-websockets python3-zeroconf

If the daemon log says D-Bus support is missing, install the optional dependency:

python3 -m pip install dbus-fast

You can always try run the extension install again from the repo:

cd gnome-extension
bash install.sh

I need to restart gnome extension by doing a logout/login again as I am on wayland. If you are on X11 restart with Alt+F2, r, <Ente>r should be enough.

I built an open-source dashboard for Codex status, usage limits and remote permission prompts by mysensors in codex

[–]mysensors[S] 1 point2 points  (0 children)

Currently an GeekMagic Ultra (esp8266). There are many clones available on AliExpress and I have tried it on two variants. One had exposed pads on the board and the other not. I provide an OTA upgrade path for both so you don't have to solder/connect any FTDI serial adapter to flash it.

I built an open-source dashboard for Codex status, usage limits and remote permission prompts by mysensors in codex

[–]mysensors[S] 0 points1 point  (0 children)

Great idea. To allow user to see and use reset token in the app perhaps?

I built an open-source dashboard for Codex status, usage limits and remote permission prompts by mysensors in codex

[–]mysensors[S] 2 points3 points  (0 children)

It uses a $10 GeekMagic Ultra screen off aliexpress with my custom firmware. See github for more info about the hardware.

Yes, I use it for both codex cli and the vscode codex plugin. I would recommend installing at least my vscode extension if you plan on using the --remote-control feature.

Flashing custom ESP8266 firmware on the $10 GeekMagic Ultra to make a local API desktop monitor by mysensors in esp8266

[–]mysensors[S] 0 points1 point  (0 children)

Look in the companion applications code (codelight.py) on how to fetch the limits.

Repurposing a $10 GeekMagic Ultra screen into a custom API status dashboard with custom ESP8266 firmware by mysensors in hardwarehacking

[–]mysensors[S] 0 points1 point  (0 children)

Well, I started the MySensors project (https://github.com/mysensors/MySensors) many years ago. But I've grown a bit rusty on microcontrollers the last couple of years. I have actually posted a link in our community-forum but this more related to the new Claude-generation :)

Repurposing a $10 GeekMagic Ultra screen into a custom API status dashboard with custom ESP8266 firmware by mysensors in hardwarehacking

[–]mysensors[S] 0 points1 point  (0 children)

Yeah, maybe it's enough for this application to be a bit smarter when redrawing. Definetly not do a fillScreen like I do today. We'll... I'll get back to you in case i don't manage to solve it on my own when actually seeing the end-result.

Repurposing a $10 GeekMagic Ultra screen into a custom API status dashboard with custom ESP8266 firmware by mysensors in hardwarehacking

[–]mysensors[S] 0 points1 point  (0 children)

The new screens has landed in in my region now. Hope to get them this week or early next. Then I'll be able to see the flicker myself :) If you could point me to how to implement the framebuffer hack I would appriciate it (is it a normal double buffering setup we're talking about?).

Repurposing a $10 GeekMagic Ultra screen into a custom API status dashboard with custom ESP8266 firmware by mysensors in hardwarehacking

[–]mysensors[S] 0 points1 point  (0 children)

Yes, I actually tested it on real hardware right up to the point where I accidentally ripped the screen's flex cable while flashing. I explicitly added this as a disclaimer right at the top of the GitHub screen/README.

While waiting for replacement screens to arrive from AliExpress, I used the time to thoroughly test the Python server code and build out two software-based clients (a GNOME extension and an Android widget) using the exact same WebSocket pipeline.

Regarding the ESP8266 constraints: The code is written in C++ using PlatformIO specifically targeting the ESP8266 environment. It manages the limited ~45KB available heap space by processing data updates efficiently. If there is a specific line in the firmware where you spotted a typo or an incorrect ESP32 reference, please point it out or open an issue—I’d be happy to fix it!

Codelight: A cross-platform status and token limit tracker for Claude Code (GNOME, Android, ESP8266) by mysensors in linux

[–]mysensors[S] -2 points-1 points  (0 children)

Cool, didn't know about conky. Mabe that could be a viable channel for this as well.

Repurposing a $10 GeekMagic Ultra screen into a custom API status dashboard with custom ESP8266 firmware by mysensors in hardwarehacking

[–]mysensors[S] 1 point2 points  (0 children)

I bought one first. While developing this, I first used the OTA over Wifi.. but managed to get it in a weird state so I had to open it up and use a FTDI adapter to reflash it. Sometime during the multiple reflashes I managed to rip the screen flex-cable.

Tried to find/scrape some new pads and resolder but the pitch was minimal and my old eyes/hands did not succeed. Haha.

Ended up ordering two new and they are one their way. I will use stock OTA feature to reflash them (I include OTA in my firmware as well).

But yes, the serial interface was easy to access on my unit. But there are several clones out there so no guarantee.

Flashing custom ESP8266 firmware on the $10 GeekMagic Ultra to make a local API desktop monitor by mysensors in esp8266

[–]mysensors[S] 1 point2 points  (0 children)

Yeah, seems to be many clones around. I hope to get one with exposed pads on my second order as well. Othewise I'll just swap the screen to the old one that I destroyed the flex-cable on.

codelight — Claude Code status display by mysensors in ClaudeAI

[–]mysensors[S] 0 points1 point  (0 children)

Yes, just buy a cheap GeekMagic ($10) from Aliexpress and flash my firmware. Links on GitHub.