dcontrol is a phone-controls-PC tool written in Go and Vue3 that turns a phone into a keyboard and mouse via the browser and offers a simple remote desktop.
- 1.0.9
- Published at
- Feb 15, 2025
- 56
- Stars
- 177
- Download
- Synced at
- 18d ago
Latest release
1.0.9Feb 15, 2025, 02:20 AMDownloads slow? Switch the source anytime above
README
Project Overview
dcontrol is a phone-controls-PC tool written in Go and Vue3, with a lightweight single-file exe on the server and a control panel that runs right in the browser. It turns your phone into the computer's keyboard and mouse, and supports a simple remote desktop, system volume control, and one-tap launching of local apps. Frontend assets are embedded into the exe via go:embed, so no separate deployment is needed.
Scan a code and control your computer from a phone browser.
Key Features
- Keyboard and mouse control: control mouse movement and keyboard input from a phone, including key combos
- Media control: adjust system volume and media playback
- Browser-based panel: the control end is a web page, openable from WeChat on the LAN
- QR access: scan the QR code on the PC to reach the LAN address directly
- Custom apps: register local apps in the config and launch them from the phone
- Remote desktop: view a simple remote desktop, tap to click, and send text
- Handy extras: Douyin shortcuts, a full keyboard page, custom layouts, and file upload/download
Target Audience
- Users who want to control a PC from a phone on the fly
- Users who want to remote-control media or video playback
- Users who prefer no client installation
- Users who often work on the same LAN
Quick Start
- Double-click
build.batto package the Windows executable - Run the generated
dist/dcontrol.exe - Open
http://localhost:666/to reach the control page - Configure the port, directory, and apps to launch in
config.yml
port: 666
open: true
volume: true
dir: files
apps:
- name: WeChat
path: E:\Program Files (x86)\Tencent\WeChat\WeChat.exeCore Advantages
- No client needed: the control end is just a web page, so the phone installs nothing
- Easy deployment: a single exe runs it, with assets already embedded
- Quick access: scan a code to reach the LAN address without typing
- Practical features: keyboard, mouse, media, remote desktop, and file transfer in one
System Requirements
| Item | Requirement |
|---|---|
| Server OS | Windows |
| Control device | Any phone with a browser on the same LAN as the PC |
| Run mode | A single exe, optionally with a custom port |
Notes
- The phone must be on the same LAN as the computer
- The port can be set in
config.ymlor viadcontrol.exe -p 666 - The remote desktop is a simple implementation intended for viewing and light actions
- Some live-platform controls depend on page behavior and may vary
Release history
Sort