MODULYX

Phone…
Unsaved changes

Pages

Each page is a 12 × 6 grid of widgets. Pick a page on the left, arrange its widgets on the phone below and set their options. Drag pages to reorder them; the first one is the home page the panel returns to when idle. On the phone, swipe, use the volume keys, or tap a dot to go to its page (or slide along the dots to pick one); tap the current dot or the grid button next to the dots, or long-press an empty part of a page, for an overview of all pages.

A phone page is 12 × 6. A tablet keeps the 12 columns and adds rows, so the page holds more widgets. Widgets below the top 6 rows stay on the tablet; a phone shows the top 6.

Shortcuts

The keys shown by Shortcut grid and Big button widgets. Click a key to edit it, drag to reorder. The phone only sends the key's id; commands never leave this computer.

Rules

Let the panel react to what happens on this computer: show the AI page when Claude needs you, the music page when something plays, an "on air" sign during calls. A rule fires when its condition starts; with only while it lasts the phone goes back to where it was (and a pushed value is removed) when the condition ends.

Add a rule

Page switches count down on the phone and wait while you use it (General › Page switching).

General

Weather, night mode, display behaviour and the phone connection.

Weather

Apps and models disagree by a degree or two. Only Automatic and GFS supply every value: with another model the UV index, and with some also the chance of rain, may be missing.

The phone asks Open-Meteo for this location only while a page has a widget that uses the weather (weather, forecast, sun & moon, a clock with its weather line, Custom HTML).

Ping

None ticked = automatic (the connected Ethernet and Wi-Fi adapters). With a VPN that carries the same traffic, or a reading that looks too high, tick only the adapter you use.

Stock watchlist

Use sh, sz or bj for mainland China, hk for Hong Kong, and us for US stocks.

Calendars

For the Agenda widget and calendar rules. Paste an iCalendar (ICS) address: Google Calendar › Settings › your calendar › Secret address in iCal format; Outlook › Settings › Calendar › Shared calendars › Publish a calendar (ICS link); iCloud › share as a public calendar (webcal:// works). The addresses stay on this computer.

Photo frame

For the Photo frame widget: a folder of photos on this computer. A synced OneDrive, Dropbox or iCloud folder works too; photos that are only in the cloud are skipped. Large photos are scaled down here before they go to the phone, and the path stays on this computer.

News feeds

RSS or Atom feeds for the News feeds widget. This computer fetches each one at most every 15 minutes, only while a page shows a News feeds widget; the addresses stay here.

Cameras

IP cameras for the Camera widget: a name and the camera’s RTSP address (rtsp://user:password@address:554/…, from its manual or app). This computer pulls a camera with ffmpeg only while a Camera widget shows it, and sends the phone a few pictures a second (set next to each camera). The addresses stay on this computer, but while a camera runs they are visible in its process list.

App console

Keys and a dial for the App console widget, per app: the widget shows the keys of the app in front on this computer and sends them only to that app. Apps are process names, as in Task Manager's Details tab (photoshop, gimp-2.10). One key per line, a label then the keys: Undo = ctrl+z. Windows only; the keys stay on this computer.

Home Assistant

For the Home Assistant widget. Create a token in Home Assistant › your profile › Security › Long-lived access tokens. The token stays on this computer; the phone only sees the entities its widgets list. (Home Assistant can also push values and notifications to the panel, see Webhooks.)

Discord

Connect to the Discord app on this PC (for the Discord widget)

Create an application at discord.com/developers/applications, add the redirect http://127.0.0.1 under OAuth2, and copy its client ID and secret here. Discord asks you to approve MODULYX once. If it refuses the login, add your account under the application's App Testers. Step by step: docs/DISCORD.md.

Let shortcuts and custom widgets control Discord, without a Discord widget

For the agent's /api/discord actions: mute, deafen, input mode, leave and join. Off: they work only while a Discord widget with Control on is on an enabled page. On: they work without one. Either way, anything that can call the agent can use them, not only the widget: the paired phone (USB or Wi-Fi) and programs on this computer.

Start and stop Discord screen shares from the phone

Asks Discord for permission to start screen shares, so Discord asks you to approve MODULYX once more. While the share view is open on the phone, MODULYX lists the apps with a window on this computer (names only). Discord decides what it can share directly; for anything else use its picker on the computer. Also needs a Discord widget with Control on.

Show Discord chat and new-message dots on the phone (read-only)

Sends the text of the channels you open in the widget to the phone. Asks Discord for permission to read messages, so Discord asks you to approve MODULYX once more. The text stays in memory only (never in a file or the log) and is gone when Discord disconnects or this is turned off. If you decline, only the chat stays off.

Steam

Connect Steam (for the Steam friends widget)

Create a user Web API key at steamcommunity.com/dev/apikey and enter your SteamID64 or profile URL. Custom profile names are resolved when saved; only the SteamID64 is stored. Your profile's friend list must be visible to this API key for GetFriendList; make Game details public to show games. The key stays on this computer. Step by step: docs/STEAM.md.

OBS Studio

Connect to OBS (for the OBS widget, the On air widget and rules)

In OBS: Tools › WebSocket Server Settings › Enable WebSocket server; copy the password from Show Connect Info.

Phone mic

Use the phone's microphone as a computer microphone

The phone's mic plays into a virtual cable such as VB-CABLE; apps pick the cable's other end (CABLE Output) as their microphone. Set up checks for the cable, downloads scrcpy-server 5.0.1 from GitHub if it is missing, and turns the mic on. The phone must be on USB. More options: Advanced › JSON (phoneMic).

Start muted

Mute only silences the mic on this computer; while the phone mic is on, the phone keeps recording. Turn it off to stop recording.

Night mode

Dim the screen at night and show only the clock

Display

A JPEG, PNG or WEBP picture (up to 4 MB) behind every page. It is saved at once; Darken and Blur are saved with the other settings.
You design pages in landscape; in portrait the panel arranges the widgets by itself, top to bottom. Tablets use the same pages, just bigger.
A landscape tablet keeps the 12 columns and gets more rows (about 8 to 10, from its screen), so a page holds more widgets; upright, it packs 12 across. Widgets below the top 6 rows show only on a tablet: a phone leaves them out without a sign. Update the MODULYX app on the tablet first, as an older app squeezes those widgets onto extra rows.
When the computer comes back, MODULYX wakes the phone and opens the panel. A swipe-only lock screen is dismissed automatically. If the phone is protected by a PIN or pattern, you must still unlock it yourself. While standby is on, MODULYX turns off Android's stay-awake-while-charging setting and restores it when standby is turned off. Standby only acts on the phone named under Phone connection › Phone to use; with no phone chosen it does nothing.
Absorbs a reboot or a network hiccup.
The page bar shows each page's icon and name; tap one to go there. Always shown, it takes a strip of the screen and the pages get a little smaller.

OLED burn-in protection

For OLED screens that show the same page for hours. The AMOLED black theme and the night screen help too.

A touch brightens it again without pressing anything; so do a page switch, a notification and a permission prompt.

Page switching

How rules, webhooks and the idle return change the page. Instead of jumping, the phone shows “Claude needs me — switching to AI in 3…” with Stay and Go now, then fades over. It never pulls a page away while you are using the panel, and rules that fire one after another wait their turn instead of bouncing the screen back and forth.

Where the idle return and the Back key go.
Each page can override this (page editor › Back home after).
After that the panel goes home when nobody touches it.

Kiosk

Keep the phone on the panel. Neither needs root.

Battery care

A phone that is plugged in all the time wears its battery out. MODULYX can keep it between two levels by switching the phone's power on and off. Phones cannot stop charging by themselves without root, so the power is switched where it comes from: a smart plug in Home Assistant (the phone on its own charger), or two shortcuts, for example uhubctl for a USB hub with switchable ports. Without USB power the panel keeps running over Wi-Fi.

Keep the battery between % and %

Cursor sessions

Show recent Cursor agent chats on the AI sessions widget (off by default). Only the last message's role is kept; chat text is never shown, stored or sent. Project names use the folder basename from Cursor's workspaceStorage.

Show Cursor sessions
Also watch Cursor in WSL (projects opened with Remote - WSL; a stopped distro is never started for this)

Pi sessions

Show recent Pi agent sessions on the AI sessions widget (off by default). Only session metadata and token counters are kept; prompts, replies and tool arguments are never shown, stored or sent.

Show Pi sessions

Antigravity sessions

Show recent Antigravity chats on the AI sessions widget (off by default). Only step metadata and token counters are kept; prompts, replies and tool arguments are never shown, stored or sent.

Show Antigravity sessions

AI coding agent permission prompts

When Codex or Claude Code asks for permission, the phone shows the request with Allow and Deny. Install the hook for each agent you use; existing hook files are preserved and backed up.

Codex
Claude Code
Ask on the phone

Other Claude Code accounts for the quota, sessions and permission prompts: a label and the folder used as CLAUDE_CONFIG_DIR. Only the label reaches the phone. The label is part of the card id: renaming it changes the id, so pick the account again in widgets set to it.

Cursor

Cursor's hook runs before every shell command and MCP tool call of its agent, also the ones it would run by itself. While a phone is connected, each one waits for Allow or Deny there; without a phone, or with no answer, Cursor goes on as usual. With "Also watch Cursor in WSL" on, the hook is installed in the running distros too (projects opened over Remote - WSL run their hooks there).

Ask on the phone for Cursor

Each hook keeps the seconds it was installed with: after changing them, remove the hook and install it again.

WorkBuddy

Each hook keeps the seconds it was installed with: after changing them, remove the hook and install it again.

OpenCode

OpenCode permission prompts and agent questions reach the phone while its background service is running. Off until you turn it on here. Allow always saves the requested pattern for the project, so it arms only after a short countdown.

Ask on the phone
Show OpenCode sessions
Also watch OpenCode in WSL

AI quotas & CodexBar

Choose which AI coding services to track and show on the panel, and configure rotation.

Grok uses the Grok CLI sign-in on this computer (grok login). MODULYX reads that token without refreshing it, and asks Grok only while an enabled page shows Grok quotas.
Runs codex in the background every few minutes when Codex is selected in the provider list (off by default). The Codex CLI manages its own sign-in and may refresh it.
0 = show all
e.g. 5, 8, 15 seconds

Phone connection

If several Android devices are connected, choose which one runs the panel.
One serial per line. The agent skips these devices for USB connections and app installs. Save to apply.

Phones

Several phones (or a phone and a tablet) can use this computer at once, over USB or Wi-Fi. Give each one a name and choose the pages it shows; a phone shows all pages until you choose.

No phone has connected yet.

Wi-Fi & Tailscale

Let the phone connect without the USB cable

Pair a phone by plugging it in once over USB after turning this on (and restarting), or without a cable: Pair a phone over Wi-Fi shows a QR code to scan with the phone's camera. The phone then talks HTTPS to this PC, trusts only this PC's certificate and has to present a secret key. The phone and this PC must be on the same network — or both on Tailscale, which also works from another place or across separate Wi-Fi networks. Windows Firewall asks once — allow it (tick the network type Tailscale uses, too).

—

Updates

Install new releases automatically

Checks on GitHub every 6 hours. The phone app is installed over USB without a prompt on the phone; the agent replaces its own files and restarts.

Webhooks

Push data into the panel from scripts, CI jobs, Home Assistant, cron … Values show up in Pushed value widgets (key = the last part of the URL), notifications in a toast on the phone and in the Notifications widget. Values survive restarts.

Try it

Examples

JSON payloads may carry value, title, sub, unit, icon, color, level (ok / warn / error), progress (0–1 or 0–100), items (a list) and ttl (seconds). Plain text or a number works too. Notifications take title, text, level, vibrate, seconds, wake (light up the night screen) and page (switch to it).

From other machines

Current values

Advanced

The raw settings. "Apply JSON" loads your edits into the form; Save writes them to disk.

The settings file includes your shortcut commands, tokens and keys: keep it private.