Skip to content

About

Turn any tablet (Android, iPad, HarmonyOS) into a second screen for your Windows PC: media controls, Discord, CPU/GPU stats, Claude Code & git dashboard, game mode. Free Stream Deck alternative.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

MiniDesktop logo

MiniDesktop

Turn any tablet into a second, touch-friendly mini desktop for your Windows or Linux PC.
Media controls ยท Discord friends & mic ยท live CPU/GPU stats ยท Claude Code & developer dashboard ยท game mode

Latest release MIT license CI PC: Windows 10/11 and Linux Tablets: Android, iPad, HarmonyOS GitHub stars

Download ยท Features ยท Screenshots ยท Compatible tablets ยท How it works ยท Build ยท Tรผrkรงe

MiniDesktop running on a tablet: YouTube Music player, Discord friends and voice channel, CPU/GPU/RAM gauges and a Windows volume mixer

What is MiniDesktop? A free, open-source second screen / control panel for Windows and Linux. Install it on your PC, scan a QR code with your tablet, and your tablet becomes a dashboard that looks like a tiny Windows desktop: a YouTube Music / Spotify player, Discord, Task Manager-style performance gauges, a per-app volume mixer and, for developers, a live Claude Code, git and terminal dashboard. Think of it as a Stream Deck alternative that uses the tablet you already own. No app store, no account, no cloud: everything stays on your home network.


๐ŸŽต Media

Control any Windows player (YouTube Music in Chrome, Spotify, VLC, browsersโ€ฆ): album art, seekable progress bar, play/pause/next, and per-app volume.

๐Ÿ’ฌ Discord

Your friends list with online status, unread DM badges, voice channel members (who is speaking), and big mute / deafen buttons.

๐Ÿ“Š Performance

Task Manager-style CPU, GPU, RAM and network gauges with temperatures, VRAM and power draw (NVIDIA via NVML).

๐Ÿ‘ฉโ€๐Ÿ’ป Developer mode

Claude Code session status, git & GitHub (branches, PRs, CI), one-tap command buttons with live output, ports & processes, clipboard and dev tools.

๐ŸŽฎ Game mode

Switches automatically when a game starts (Steam, Epic, Riot, Xbox, EA, Ubisoft, GOG): large GPU/CPU gauges, Discord voice and the mixer.

๐ŸŒ™ Night & lock screen

A Windows-style lock screen with clock, weather and now playing; a dimmed red night mode, burn-in protection and a minimal power menu.


โฌ‡๏ธ Download & install

Windows 10 / 11

  1. Download MiniDesktop-Setup.exe and run it. No admin rights and no Python needed (per-user install).
  2. The MiniDesktop window opens and starts the server. If it shows "Windows Firewall is blocking the tablet", click Allow (it opens only TCP port 8765, only for MiniDesktop).
  3. On your tablet, scan the QR code shown in the window (same Wi-Fi network). That's it โ€” the tablet is paired.
  4. Optional: open the admin panel (button in the window) to connect Discord, set your city for weather and configure developer mode.

Note

The installer is not code-signed yet, so Windows SmartScreen may warn you: click More info โ†’ Run anyway.

๐ŸŒ Languages: English and Turkish. MiniDesktop follows your Windows display language automatically; change it any time in the admin panel (Language / Dil). The tablet, admin panel and tray app switch together. Add your language โ€” it is a single dictionary per component.

The window closes / minimizes to the system tray (hidden icons) and keeps running. Right-click the tray icon to open the admin panel, copy the tablet address, stop/start the server or quit. Start with Windows is a checkbox in the window and in the installer.

Linux

curl -L https://github.com/asimbakii/MiniDesktop/releases/latest/download/MiniDesktop-linux.tar.gz | tar xz
cd MiniDesktop && ./install.sh            # add --autostart to start with your session

install.sh installs per user into ~/.local/share/minidesktop (no root for MiniDesktop itself), offers to install the few missing system packages (apt, dnf, pacman, zypper), adds MiniDesktop to your app menu and a minidesktop command, and starts it. Remove it with ./uninstall.sh.

Linux details โ€” what is used and what to know
Feature On Linux
Media player MPRIS (D-Bus): Spotify, Chrome/Chromium/Firefox (YouTube Music), VLC, Rhythmbox, Elisaโ€ฆ
Volume mixer PulseAudio / PipeWire (pipewire-pulse) โ€” master and per-app volume
Performance psutil + NVML; CPU temperature from kernel sensors (k10temp, coretemp)
Clipboard wl-clipboard (Wayland) or xclip / xsel (X11); KeePassXC/KDE password entries are skipped
Discord mute/deafen Keybind mode via xdotool (X11), ydotool or wtype (Wayland). Discord's global keybinds work on X11 / XWayland. Full control (RPC) works on any session.
Discord friends & DMs Needs the Social SDK bridge. The Linux package doesn't include it yet: build it with bridge/build-bridge.sh (see Build from source).
Power menu loginctl lock-session, systemctl suspend / reboot / poweroff
Game mode Steam (native + Proton), Heroic, Lutris, itch
Tray icon AppIndicator (KDE, XFCE, Cinnamon, โ€ฆ). GNOME needs the AppIndicator and KStatusNotifierItem Support extension.
Firewall If ufw / firewalld is active: sudo ufw allow 8765/tcp (the installer tells you)

Every push is tested on Ubuntu (Python 3.10 and 3.12) against a real MPRIS player, PulseAudio, X11 (Xvfb), the server and the tray app โ€” see the CI workflow.


๐Ÿ“ฑ Compatible tablets

The tablet side is a web app served by your PC, so there is nothing to install from an app store. Any tablet (or phone, or second laptop) with a modern browser on the same network works:

PlatformBrowserAdd to home screen / full screen
Android tablets (Samsung, Lenovo, Xiaomiโ€ฆ)Chrome, Edge, Samsung InternetMenu โ†’ Add to Home screen. For true full-screen and keep-screen-on, enable chrome://flags/#unsafely-treat-insecure-origin-as-secure for your PC's address (the admin panel shows the exact value), then Install app.
iPad (iPadOS)SafariShare โ†’ Add to Home Screen. It opens without browser bars. Set Auto-Lock โ†’ Never while charging to keep the screen on.
HarmonyOS tablets (Huawei MatePadโ€ฆ)Huawei Browser / any Chromium browserBrowser menu โ†’ Add to home screen; increase the screen timeout.
Anything elseAny modern browserOpen http://<your-PC-IP>:8765 and tap the full-screen button in the taskbar.

Portrait and landscape are both supported; the layout stacks into a single column in portrait.


๐Ÿ–ผ๏ธ Screenshots

Developer mode: Claude Code sessions waiting for permission, VS Code-style source control with CI status and pull requests, terminal command output, ports and processes, clipboard history and dev tools

Developer mode โ€” Claude Code, git & GitHub, commands, ports, clipboard, dev tools

Game mode: large CPU, GPU, RAM and network gauges with the detected game name, Discord voice channel and volume mixer

Game mode โ€” switches automatically when a game starts

Windows 11 style start menu on the tablet to switch between Normal, Developer, Game and Night modes, with a power menu

Start menu โ€” switch modes, auto rules, power menu

Lock screen with a large clock, date, weather and now playing card over a blurred album art background

Lock screen โ€” clock, weather and now playing

Screenshots use demo data.


โœจ Features

Normal mode โ€” music, Discord, performance, volume mixer
  • Media player that mimics YouTube Music (or Spotify when Spotify is playing): album art, title/artist, seekable progress, play/pause/previous/next and the player app's own volume. Works with any app that shows up in Windows' media overlay (Windows GlobalSystemMediaTransportControls).
  • Discord panel styled like Discord: friends with online / idle / do-not-disturb status, unread DM counters, current voice channel with speaking indicators, mute / deafen / disconnect.
  • Performance gauges: CPU load & temperature, GPU load / temperature / VRAM / power (NVIDIA), RAM, network throughput.
  • Volume mixer styled like Windows 11: master volume and every app separately.
  • Taskbar with weather (Open-Meteo, no API key), clock, full-screen button and a Windows 11-style weather flyout with a 4-day forecast.
  • English and Turkish UI, chosen automatically from your Windows language (switch in the admin panel).
Developer mode โ€” a dashboard for programmers
Window What it shows
Claude Code (Windows Terminal look) Every Claude Code session with its project, state (working, waiting for permission, waiting for your answer, done), the current tool call and your last prompt. Permission requests are highlighted so you never miss them.
Source Control (VS Code look) Watched repos: branch, ahead/behind, staged / modified / untracked counts, last commit, GitHub Actions status, PRs waiting for your review and your open PRs (via gh). Tap a repo to open it in VS Code.
Commands (terminal tabs) One-tap buttons for commands you define (npm run dev, tests, docker compose upโ€ฆ) with live output, exit code and stop.
Resource Monitor Listening ports (dev servers highlighted) and the processes using the most CPU/RAM; open a port in the PC's browser or end a process (with confirmation).
Clipboard (Win+V look) Recent PC clipboard items, saved snippets, and a box to send text from the tablet to the PC clipboard. Password-manager content is skipped and token-like text is masked.
Dev tools UUID generator, Unix timestamp converter, JWT decoder, Base64 and URL encode/decode โ€” with copy to PC buttons.

Music shrinks into a mini player in the taskbar; Discord mic and unread badge also move to the taskbar.

Game mode, Night mode, lock screen and power menu
  • Game mode turns on automatically when a game is detected and returns to the previous mode when it closes (can be disabled).
  • Night mode dims the screen and shows a dim red clock after one minute; it can turn on automatically during set hours.
  • Lock screen after a few idle minutes (configurable), with burn-in protection.
  • Power menu: lock, sleep, restart, shut down โ€” each needs two taps.
PC control app
  • Server status with start / stop / restart, tablet address, QR code, PIN and paired-device count.
  • Status of Discord, friends list, Claude Code, current mode and weather.
  • Start with Windows, minimize to the system tray, Windows Firewall check with a one-click fix.
  • Notices when your PC's IP address changes (the QR code updates automatically; VPN/virtual adapters are ignored).

๐Ÿ”Œ Discord setup

No Discord Developer Portal account is needed for the basics:

  • Friends & DMs: admin panel โ†’ Connect with Discord โ†’ click Authorize in Discord. Uses the official Discord Social SDK (bundled in the installer).
  • Mute / deafen (default, zero setup): in Discord โ†’ User Settings โ†’ Keybinds add Toggle Mute = Ctrl+Shift+F9 and Toggle Deafen = Ctrl+Shift+F10 (changeable). The tablet sends these shortcuts.
  • Full control (optional): to also see your mute state and the voice channel, create your own Discord application in a ~3-minute guided wizard in the admin panel (Discord only allows this connection for an app's owner).

Unread counters count DMs received while MiniDesktop is running (the SDK has no read state). Discord features are not available to users under 13.


๐Ÿค– Claude Code integration

Admin panel โ†’ Developer mode โ†’ Install. MiniDesktop adds hooks (SessionStart, UserPromptSubmit, PreToolUse, Notification, Stop, SessionEnd) to ~/.claude/settings.json, after making a backup and without touching your other hooks. The hook only forwards the event to MiniDesktop on 127.0.0.1. Uninstalling MiniDesktop removes the hooks.


๐Ÿงญ How it works

 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ PC (Windows / Linux) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”         โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Tablet โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
 โ”‚ MiniDesktop tray app                                         โ”‚         โ”‚ Browser / home-screen  โ”‚
 โ”‚   โ””โ”€ server (Python, FastAPI + WebSocket, port 8765)         โ”‚  Wi-Fi  โ”‚ web app (HTML/JS/CSS)  โ”‚
 โ”‚        โ”œโ”€ media & audio: WinRT + Core Audio / MPRIS + Pulse  โ”‚ โ—„โ”€โ”€โ”€โ”€โ”€โ–บ โ”‚  live state over       โ”‚
 โ”‚        โ”œโ”€ psutil + NVML (performance)                        โ”‚   LAN   โ”‚  WebSocket, commands   โ”‚
 โ”‚        โ”œโ”€ Discord RPC (local IPC) + Social SDK bridge (C++)  โ”‚         โ”‚  back to the PC        โ”‚
 โ”‚        โ”œโ”€ Claude Code hooks, git / gh, commands, clipboard   โ”‚         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
 โ”‚        โ””โ”€ admin panel: http://localhost:8765/admin           โ”‚
 โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  • Everything runs locally; nothing is sent to a cloud service of ours. External calls: Open-Meteo (weather, only the city name), Discord, and GitHub through your own gh login.
  • Tablets pair with a 6-digit PIN / QR code and get a per-device token. The admin panel only opens on the PC itself (localhost).
  • Data lives in %LOCALAPPDATA%\MiniDesktop on Windows and ~/.local/share/minidesktop/data on Linux (paired devices, Discord tokens, settings, log).

๐Ÿ› ๏ธ Build from source

Windows

git clone https://github.com/asimbakii/MiniDesktop.git
cd MiniDesktop
powershell -ExecutionPolicy Bypass -File tools\setup.ps1   # installs Python 3.11 via winget if missing, creates .venv
.venv\Scripts\python app\launcher.py                        # run the tray app + server from source
build.bat                                                   # PyInstaller + Inno Setup -> dist\MiniDesktop-Setup-<VERSION>.exe

Linux

git clone https://github.com/asimbakii/MiniDesktop.git && cd MiniDesktop
./install.sh                       # or, to run from the checkout:
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt && .venv/bin/python app/launcher.py
python3 tests/linux_smoke.py       # the CI smoke test (needs a session bus, PulseAudio and X11)
  • Installer build needs Inno Setup 6 (winget install JRSoftware.InnoSetup). The version number lives in VERSION.
  • The Discord Social SDK is not included in this repository (license). Download the C++ SDK from the Discord Developer Portal, extract it into bridge/sdk/, and run bridge\build-bridge.bat (Visual Studio 2022+ with C++) or bridge/build-bridge.sh on Linux (CMake + g++/clang, C++20). build.bat / install.sh pick up the bridge automatically when it exists.
  • CPU temperature on AMD/Intel: run LibreHardwareMonitor as administrator with Remote Web Server enabled (port 8085).
Project structure
MiniDesktop/
โ”œโ”€ app/            PC tray app (tkinter + pystray) and exe entry point (launcher.py)
โ”œโ”€ server/         FastAPI server: media, audio, stats, Discord, Social SDK, modes, dev tools, admin panel
โ”œโ”€ web/            Tablet web app (vanilla HTML/CSS/JS, no build step)
โ”œโ”€ bridge/         Discord Social SDK bridge (C++, CMake)
โ”œโ”€ installer/      Inno Setup script (Windows)
โ”œโ”€ tools/          setup.ps1, build.ps1, Claude Code hook, social preview generator
โ”œโ”€ tests/          Linux smoke test (CI)
โ”œโ”€ docs/           screenshots, Turkish README
โ”œโ”€ build.bat       one-click Windows installer build
โ””โ”€ install.sh      Linux installer (uninstall.sh to remove)

๐Ÿฉบ Troubleshooting

The tablet cannot connect
  • PC and tablet must be on the same network. Some guest/"AP isolation" Wi-Fi networks block devices from seeing each other.
  • Windows: click Allow on the firewall warning in the MiniDesktop window. Linux: sudo ufw allow 8765/tcp (or the firewalld equivalent).
  • If your router gave the PC a new IP address, scan the new QR code. A DHCP reservation in your router prevents this.
Nothing shows in the media player

Windows: the player must appear in Windows' own media overlay (the one that opens with the volume keys). Linux: the player must support MPRIS โ€” check with playerctl -l. YouTube Music in Chrome/Edge/Firefox, Spotify and most players do.

Mute / deafen buttons do nothing

Add the keybinds in Discord (User Settings โ†’ Keybinds) exactly as shown in the admin panel and use the Test buttons there.


๐Ÿค Contributing

Issues and pull requests are welcome โ€” especially new languages, new tablet widgets and support for more GPUs. See CONTRIBUTING.md. If MiniDesktop is useful to you, a โญ helps other people find it.

๐Ÿ“„ License

MIT. The Discord Social SDK is ยฉ Discord and distributed only inside the installer under the Discord Social SDK Terms; its open-source notices ship next to it.

MiniDesktop is an independent project and is not affiliated with or endorsed by Microsoft, Discord, Google, Spotify, Anthropic, Huawei or Apple. Product names are used only to describe compatibility.

About

Turn any tablet (Android, iPad, HarmonyOS) into a second screen for your Windows PC: media controls, Discord, CPU/GPU stats, Claude Code & git dashboard, game mode. Free Stream Deck alternative.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages