UzakMasa: control your own Windows PC from your phone, no server needed (open source)
I wanted to see and control my Windows laptop from my phone without installing a heavy remote desktop suite or renting a server. So I built UzakMasa ("remote desk" in Turkish) and open-sourced it. Repo: https://github.c
I wanted to see and control my Windows laptop from my phone without installing a heavy remote desktop suite or renting a server. So I built UzakMasa ("remote desk" in Turkish) and open-sourced it.
Repo: https://github.com/ardayigit7/uzakmasa
What it does
- Live screen (JPEG stream, about 10 fps), mouse and keyboard, including Turkish characters
- File send and receive (up to 100 MB, chunked), remote folder browsing
- Clipboard transfer, running apps list, app launcher
- Volume, brightness, lock, restart, shutdown
- Optional PIN-signed terminal
- Battery and wake notifications through ntfy (optional)
- Several computers in one panel
How it works
There is no central server. Three pieces talk to each other:
- A static web panel (plain HTML, CSS and JS) that you host on your own Vercel account.
- Your own Firebase Realtime Database, used as the message bus.
- A zero-dependency PowerShell 5.1 agent on the PC. It reads commands from the database, takes screenshots, moves the mouse and so on, and writes results back.
Access is a capability key. Your browser generates a random 40-character key, database paths include it, and the database rules only allow paths with a key of at least 32 characters. Without your database URL and your key, nobody can read or write anything. The repository contains no keys, no URLs and no PINs, and the agent updates itself only from your own site.
The terminal and why it is signed
A remote shell is the riskiest feature, so it is off by default. If you set a PIN on the PC, the laptop stores only a derived key (PBKDF2-SHA256, 200,000 iterations). Every command from the phone is signed with HMAC-SHA256 over a nonce, a timestamp and the command. The agent rejects replays and anything outside a short time window. Even someone who got your database key could not run commands without the PIN.
Limits
- The screen is a JPEG stream, not real video, and there is no audio
- Single monitor, Windows only
- The panel UI is in Turkish for now
Setup
About 10 minutes: create a Firebase Realtime Database, deploy the web folder to Vercel (Root Directory = web), open your site, and use "Bilgisayar ekle" (Add computer) to copy a one-line install command into PowerShell on your PC. The README even has a ready-made prompt you can paste into an AI assistant to be guided step by step. Please read SECURITY.md first, since this is a remote-control tool.
Note on how it was built
I built this with help from an AI coding assistant (Claude), and I tested it on my own laptop and phone. Security reviews, issues and feedback are very welcome.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.