# ersinkoc/phonebox

> PhoneBox is an app that turns an old Android phone into a full-screen desk panel for a Windows, Linux or macOS computer. It pairs the phone with a small desktop agent that supplies PC stats, AI coding session status and touch controls over USB or Wi-Fi, without a cloud service. The main language is JavaScript, with C# for the desktop agent and Kotlin for the Android app.

Source: https://github.com/ersinkoc/phonebox
Indexed: commit 4679750 on 2026-12-04 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: App
- Language: JavaScript
- Stars: 11,509 at index time
- License: MIT
- Code health: 7.6/10, Good
- Last commit: 2026-12-04
- Contributors: 64

## How it works

The desktop agent runs on the computer and provides live readings and controls to the Android app; while the phone is attached over USB, it reaches the agent through an ADB reverse connection. On the phone, the panel is web code that the Android app loads in a WebView, starting from agent/PhoneBox.Agent/Program.cs on the desktop side and android/app/src/main/assets/www/main.js on the phone side. The setup.sh script in the root directory installs the agent on Linux or macOS and prepares the computer for pairing with a phone. The scripts directory holds scripts/build.sh, which builds PhoneBox from source and packages the macOS build as a disk image. Data flows from the agent to the panel cards, which the bundled page scripts create and draw into.

- agent/PhoneBox.Agent/Program.cs: entry point
- android/app/src/main/assets/www/main.js: entry point
- android/app/src/main/java/net/oxog/phonebox/deskpanel/BridgeActivity.kt: entry point
- android/app/src/main/java/net/oxog/phonebox/deskpanel/BridgeBootReceiver.kt: entry point
- android/app/src/main/java/net/oxog/phonebox/deskpanel/ClipboardService.kt: entry point
Modules: agent, tools, android, ios, scripts, docs, packaging, root. 1,016 files, 204,803 lines, 15,101 symbols.

## Code health

- Score: 7.6/10 (Good)
- Trend: 7.6 on 2026-12-02, 7.6 on 2026-12-04
- Rank: #110 of 295 ranked repos
- Hotspots: android/app/src/main/assets/www/i18n.js, android/app/src/main/assets/www/locale-existing.js, android/app/src/main/assets/www/main.js, android/app/src/main/assets/www/widgets/pc.js, android/app/src/main/assets/www/locale-zh-Hant.js
- Lowest file: android/app/src/main/assets/www/main.js
- Dead code: 1 findings

## Maintenance

- Last commit 2026-12-04, 500 commits
- 64 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/ersinkoc/phonebox/security

## More

- Page: https://repowise.dev/repo/ersinkoc/phonebox
- Ask this codebase: https://repowise.dev/repo/ersinkoc/phonebox/chat
- Docs: https://repowise.dev/repo/ersinkoc/phonebox/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/ersinkoc/phonebox
