Dockly docs
How to use Dockly day to day: the commands, pairing a phone, every widget, the Control Deck, the Claude Code cards, privacy, and fixes for common problems. New here? Start with the one-command install.
Commands
After the one-command install you have a dockly command. Settings is always at http://127.0.0.1:8766/settings/ on your PC.
| Type this in a terminal | What it does |
|---|---|
dockly start | Run Dockly hidden in the background (it restarts itself if it crashes) and open Settings |
dockly | Run it in this window instead (Ctrl+C stops it) |
dockly stop · dockly open | Stop it · open the Settings page |
dockly status | Is it running? Is auto-start on? |
dockly autostart · dockly noautostart | Start Dockly automatically when you log in to Windows · turn that off |
In PowerShell type .\dockly. Settings is always at http://127.0.0.1:8766/settings/ on your PC.
Your layout, phone keys and logs live in your user folder (%APPDATA%\Dockly, ~/Library/Application Support/Dockly or ~/.config/dockly), so pipx upgrade dockly never touches them. Installed from the source folder instead? Use dockly.bat (Windows) or ./dockly.sh, and your files stay in the agent folder.
Pair your phone
Pairing uses a one-time code. After you pair once, the phone is remembered for about a year: closing the app or browser never asks you to scan again.
Show a code on the PC
Settings → Connect phone → New code. You get a QR code and a code like K7F2-9QXM. It works once and expires after 10 minutes.
Scan or type it on the phone
Scan the QR with the phone camera (phone and PC on the same network), or open the link shown under it. If you use an iPhone Home Screen app, open it and type the code instead.
That's it: the phone is remembered
The PC gives the phone its own long-lived key (a secure cookie). You can see and remove paired phones in Connect phone → Your phones, set each one to Full control, Buttons only or View only, make it forget itself after some idle days, read the Recent activity list, or sign everyone out at once.
| Way to connect | When to use it | How |
|---|---|---|
| Wi-Fi (same network) | Easiest. Needs a network where devices can see each other (home Wi-Fi, a hotspot). | Scan the QR. The name link (PC-NAME.local) keeps working if the PC's IP address changes. |
| Tailscale (recommended) | Works on any network, even public Wi-Fi or mobile data, and the link never changes. Free for personal use. | Install Tailscale on the PC and the phone, sign in to the same account, turn on Wi-Fi access in Dockly, then use Copy Tailscale link or QR: Tailscale in Settings → Connect phone. |
| Phone hotspot | When the Wi-Fi blocks device-to-device traffic (guest, public, hospital, school, hotel). | Connect the PC to the phone's Personal Hotspot, then scan the QR. |
| USB (Android) | No Wi-Fi at all. | Enable USB debugging, run scripts\usb.ps1, open the USB link. |
| iPhone Home Screen app | Fullscreen, no Safari bars. | Safari → Share → Add to Home Screen, open it, type the code once. |
Widgets
Add widgets from the palette, drag them on the 12 × 6 grid, resize from the corner. Selected widgets have friendly options on the right.
| Widget | What it shows |
|---|---|
| Clock | Time and date; sizes itself to the card; optional seconds and 12-hour. |
| World clocks | A few cities with their local time, a sun or moon for day or night there, and how far ahead or behind your phone they are ("+5 h", "-3 h · tomorrow"). One city per line in the card's options: London | Europe/London. Uses the phone's own time zone data, no network; updates once a minute. 12- or 24-hour. |
| System dashboard | Every metric on one card: CPU history graph with a bar per core, busiest apps, Memory, GPU, Network up/down, Disks and this PC. Tap any tile for a full-card view (longer graph, every core, all drives, Open Task Manager) and tap again to go back. |
| System monitor | One interactive card: tap CPU, Memory, GPU, Disks or Apps to switch. Ring, history graph, every CPU core, the biggest memory users, drive usage. Tap the app list to open Task Manager on the PC. (GPU needs an NVIDIA card.) |
| CPU · Memory · GPU | Single small gauge cards: ring, history graph and details, if you prefer them separate. |
| Network | Upload and download speed with a graph. |
| Disks · Top processes · PC battery | Usage bars, the busiest programs, battery level and charging state. |
| Weather | Big temperature, condition, high/low and an animated sky: clouds drift across, rain and snow fall, and it turns to night with a moon and twinkling stars after dark (switch the motion off in the card's options). The PC fetches it (free Open-Meteo data, no key), so it works even if the phone has no internet. It follows your PC's location automatically, or pick a city. |
| Reminder · Notes | A tick-off checklist (add and remove items on the phone) and a free-text note, saved on the phone. |
| Focus timer | A sand timer: the sand runs from the top bulb to the bottom as the time passes, and it flips when done. Keeps running when you swipe pages. |
| Calendar | The whole month like the iPhone Calendar, today highlighted. Arrows change month; tap the title to jump back to today. |
| Claude Code control | The Claude Code template: every agent with its model and context fill, tokens used per session / 5 hours / 7 days, tap an agent to read its conversation as a thread (and open, fork or stop it), answer Claude's permission requests from the phone (Allow / Allow for session / Deny) and start or fork background sessions. On by default for phones you paired; switch either off in Settings. Dockly adds one hook entry to Claude Code (backed up, removable). |
| Claude sessions | Your live Claude Code sessions: which project, working / needs you / done, and what Claude said last. Read from ~/.claude/projects on the PC, nothing leaves it. |
| GitHub repo | Open pull requests (with review and checks status) and the latest commits of the repo you are working in. Uses the GitHub CLI you are already logged in with (gh); Dockly never stores a token. |
| Over 100 more cards | Grouped in the Settings palette: Time & date (analog, binary, word and world clocks, big date, week number, day / week / month / year progress, countdown, days since, moon phase, hex colour clock), Focus & habits (Pomodoro, interval timer, stopwatch, kitchen timer, breathing guide, counter, tally, habit streak, water and mood trackers, checklist, flash cards, scoreboard, break reminder, bedtime, alarm), Fun (dice, coin, magic 8-ball, decision wheel, quotes, facts, jokes, password maker, team splitter), Ambient (matrix, aurora, fireplace, lava lamp, waves, rain, fireflies, snow, bubbles, starfield: paused by Battery saver), Tools (calculator, unit converter, tip calculator, Morse, phone battery, ping to the PC) and PC status (CPU, memory, speed, uptime, per-core bars, network speed and data used, disk free, busiest app, health, GPU temperature and load, video memory). Counters, trackers and checklists are remembered on the phone. |
| Gaming cards | Play time and stream timers (they keep counting after a reload), K/D/A tracker, win / loss streak, rank points, respawn and bomb timers, a map / loadout picker, a key-bind cheat sheet, plus GPU temperature, GPU load and video memory. The Gaming template puts them together with Steam, Discord, Epic, Game Bar, a clip hotkey and Twitch. |
| Control Deck button | An app icon that runs an action (see below). |
| What's Playing | Cover, title, progress you can drag, previous / next, ±15 s, play/pause, mute. The "+ Volume" version adds a vertical volume slider (drag up for louder, down for quieter), shuffle and repeat. With two players open (Spotify and YouTube, say) the card becomes a stack: a dot pill shows how many and you swipe sideways to choose which one you control (starting one pauses the other). A Playlists button opens your list of Spotify and YouTube playlists (set them in the card's options); tap one to play it on the PC. |
Control Deck
Each button runs an action defined on the PC. A button shows the app's own logo, large, with its name underneath.
Tap = jump to the open window
If the app or site is already open, a tap brings that window to the front instead of launching another copy. If it isn't open, it launches.
Long-press = open a new one
Hold the button for about half a second to always open a new window or tab.
Window matching is automatic (by program name, or the site name in the window title). Set match on an action to be exact, for example proc:code or title:YouTube.

| Kind | Does | Example value |
|---|---|---|
url | Opens a website in your default browser (or focuses its open tab's window). | https://github.com |
app | Launches a program, a shortcut, or an app link. | code · spotify: · C:\Apps\x.lnk |
command | Runs a command (no shell). | python C:/scripts/backup.py |
browser | Opens a web browser (or jumps to it if it is open). default follows your PC's default browser and shows its logo; pick Chrome, Edge, Firefox, Brave, Opera, Vivaldi, Safari or Arc to change it. | default · firefox |
hotkey | Presses keys in whatever window is focused on the PC. | ctrl+shift+p |
media | Media keys. | playpause · next · volup · mute |
system | Lock the PC or put it to sleep. | lock · sleep |
Holding a volume button keeps stepping. 39 built-in logos (YouTube, Spotify, VS Code, Gmail, Notion and more) are included, and you can use any emoji.
Claude Code on your phone
The Claude Code template turns the phone into a remote for your Claude Code sessions. Everything is read from your own PC; nothing is sent anywhere.
| Card | What it does |
|---|---|
| Claude agents | Every running session with its model, how full its context is and the tokens used. Tap an agent to read its conversation as a thread (your messages, Claude's replies, the tools it ran and what they printed, the branch), then open it on the PC, fork it or stop it. |
| Approvals | Claude's permission requests appear on the phone: Allow, Allow for this session or Deny. If nobody answers, Claude asks in the terminal as usual. Dockly adds one clearly marked hook to ~/.claude/settings.json (with a backup, removable in Settings). |
| New session | Start or fork a background session with the model, effort and permission mode you choose (never "bypass permissions"). |
| Claude usage | Tokens in the last 5 hours and 7 days, read from your own transcripts. |
Approving and starting sessions are on by default for phones you paired and can be switched off in Settings → Look. Approving a request lets Claude run that command on your PC, so a phone set to Buttons only or View only in Connect phone can't answer or start anything.
Problems?
| What you see | What to do |
|---|---|
| The phone can't connect | Are the phone and PC on the same Wi-Fi? Is Allow phone over Wi-Fi on in Settings → Connect phone (then Save and restart)? Allow port 8765 if the firewall asks. Guest and public Wi-Fi often block device-to-device traffic: use a phone hotspot or Tailscale. |
| The page is black or says the browser is too old | The panel needs iOS 15+ (iPhone 6s and later) or Android 7+ with Chrome 88+. Update the phone or Chrome / Android System WebView. |
| "That code was already used or has expired" | A pairing code works once and lasts 10 minutes. Press New code in Settings → Connect phone. |
| Weather says "unavailable" | Your PC needs internet (the PC fetches the weather). Reload the phone page. |
| The GitHub card is empty | Install the GitHub CLI and run gh auth login once. |
| A button does nothing | Press its Test button in the Control Deck tab to see the error. A phone set to "Buttons only" can't run commands or hotkeys. |
| No sound controls / Now Playing on Linux or macOS | Linux needs playerctl (and wpctl, pactl or amixer for volume). macOS asks once to let Python control Spotify / Music: allow it in System Settings → Privacy & Security → Automation. |
| Dockly isn't running / won't start | dockly status tells you; dockly stop then dockly start. The log is dockly.log in your Dockly folder. |
| Lost a phone | Settings → Connect phone → Remove it, or Sign out ALL phones. |
Found a bug or have an idea? Open an issue.
Privacy and security
Everything runs on your own PC and network: no account, no cloud, no tracking.
What leaves your PC
Only what you turn on: the weather card asks Open-Meteo for the forecast (and, if you let it follow your location, a public IP-location service for your city: pick a city instead to avoid that), and the GitHub card uses your own gh login.
Who can do what
Each paired phone can be Full control, Buttons only (no commands or hotkeys) or View only, can forget itself after idle days, and Recent activity shows the last buttons pressed. The phone only sends a button's id; what it does is stored on the PC.
Pairing
A one-time code (valid once, 10 minutes) becomes a long-lived device key stored as a secure cookie; Dockly keeps only its hash. Opening the pairing link doesn't spend the code, and only failed tries count against a client.
Wi-Fi is plain HTTP
Only pair phones on networks you trust, or use Tailscale (encrypted). The Settings page is bound to your PC only (127.0.0.1) and rejects requests from other sites.
Details and how to report a vulnerability: SECURITY.md.
Dockly