CubeOS
A twist of a cube. A different way to use a computer.
ZIP · 103 KB · Windows development snapshot
What if the cube were the controller?
CubeOS started with a Bluetooth-connected GoCube and a question: could turning its faces do something useful on my PC? I built a Windows app that turns those physical moves into configurable desktop actions, then expanded it into a place to solve, learn, and practice.
The same cube can switch browser tabs, scroll a page, or control music. When it is time to solve, those mappings pause and the cube becomes the input for a timer, a lesson, or a drill.
Make each turn your own.
The mapping editor lets me assign actions to quarter-turns, their inverses, and half-turns. Blue faces forward and white faces up, giving the controls a consistent frame of reference.
- Navigate
- Switch Chrome tabs, scroll pages, and move between Windows virtual desktops.
- Manage windows
- Minimize the active window or restore a minimized app, including one minimized manually.
- Control media
- Play or pause, skip tracks, and adjust volume with a face turn.
- Customize
- Edit and save bindings, leave a direction unassigned, or pause mappings to handle the cube freely.
The live 3D viewer shows orientation, sticker colors, and turn history. Test mode keeps that feedback visible while desktop actions are paused.
From a desktop tool to a practice companion.
Reading the cube’s state opened up more than shortcuts. CubeOS can follow a scramble, detect the first move of a solve, and recognize when the cube is solved.
Timed solves and a record of every move
A guided scramble leads into optional 15-second inspection. The first turn starts the timer; reaching the solved state stops it. Local history stores times and timestamped moves, with averages, penalties, JSON export, and a breakdown of cross, F2L, OLL, and PLL stages.
Lessons, algorithm drills, and games
A seven-step beginner lesson checks progress against the actual cube. OLL and PLL drills guide the cube into a case and time the attempt, with an option to hide the algorithm for recall practice. Notation Sprint turns prompted moves into a short accuracy game.
A solution guide that follows the cube
A two-phase solver generates a solution from the current sticker state and checks it against a separate cube model. The next move is highlighted, and an unexpected turn causes the guide to recalculate. Solutions are near-optimal, not guaranteed shortest. The guide hides during timed attempts and practice activities.
Turning telemetry into intentional actions.
Read the cube
Python and Bleak receive Bluetooth LE notifications for turns, orientation, and state. Reconnection handling lets the reader recover when the cube sleeps or disconnects.
Interpret the move
The controller converts protocol faces into the blue-front frame. When a half-turn is mapped, a short detection window distinguishes two quarter-turns from a single turn, so one gesture does not fire both actions.
Respond in the right context
A local web interface runs inside a pywebview desktop window. Windows APIs handle window actions, while focus checks guard app-specific shortcuts. Mappings pause during practice and while Windows is locked.
The controller, interface assets, and solve history run locally. The app does not need a cloud account for its core cube features.
A working prototype, with more to test.
The desktop controller, mapping editor, viewer, timer, and practice features are implemented. The project includes automated checks for protocol decoding, mappings, solving, and interface behavior. Hardware behavior and app-specific integrations still need hands-on testing.
ChatGPT controls are also a work in progress: voice activation depends on an available voice button in the current chat. A polished Windows installer, broader hardware testing, and a recorded walkthrough are next steps.
Try it on your own cube.
The download includes the Python source, local web interface, dependency list, setup scripts, and automated checks. Extract the ZIP and start with its README for installation and Bluetooth discovery.
- You will need
- A Windows PC with Bluetooth LE, a compatible GoCube, Python 3.12, and the Edge WebView2 Runtime. Setup downloads dependencies; core cube features then run locally.
- What is included
- The controller, timer, practice features, and source tests. This is a development snapshot, not a signed installer. No personal device settings or solve history are included.
- What is excluded
- The experimental native Windows unlock provider and credential enrollment tools. This package does not install or enable cube-based Windows sign-in.
View SHA-256 checksum · Snapshot dated December 1, 2026.