phonebox README

README проекта с github.com/ersinkoc/phonebox. Одним файлом markdown: README.md.

PhoneBox icon

PhoneBox

English · Türkçe · Deutsch · Français · Español · Italiano · Português · Nederlands · Polski · Русский · 中文 (简体)

Turn an old Android phone into a desk panel for your computer.
PC stats, AI coding sessions, music and touch controls over USB or Wi-Fi.
Windows, Linux and macOS. No root, PhoneBox account or cloud service required.

Try the live demo · Download · Quick start

Build status Latest release Windows, Linux, macOS; .NET 10 Android 7+ MIT license

PhoneBox on three phones showing automation, home and planner pages
Example layouts with demo data.

PhoneBox pairs a full-screen Android app with a small desktop agent. Build your panel in a browser-based visual editor: 120 widgets, 30 templates, multiple pages and a live preview. Connect several phones with their own layouts, or switch one phone between paired computers.

What you can do

Use it for What appears on the phone
PC monitoring CPU, GPU, RAM, disks, network and ping; charts, GPU details and process controls
AI coding Claude, Codex and Antigravity quotas, reset times and burn-rate forecasts; local Claude Code and Codex sessions; GitHub reviews and CI status
Touch controls App and URL shortcuts, key combinations and macros; application audio, microphone, media, OBS and system controls through Control Deck
Everyday use Now Playing, internet radio, clocks, weather, calendars, notes, checklists, pomodoro and timers
Automation Webhook values and notifications, Home Assistant controls and rules that react to activity on the computer

Tap an AI session for its model, timing and token details. Opt in to Claude Code permission prompts to answer Allow or Deny from the phone. Optional CodexBar integration adds quota providers and a cost overview.

PhoneBox tour showing notifications, a Claude Code permission prompt and automatic page switching
A tour with demo data: notifications, permission prompts and automatic page switching. Watch the MP4

Quick start

You need an Android 7+ phone and a supported computer. USB uses a data cable and USB debugging; Wi-Fi pairing works without either. Release agents include .NET, so you do not need to install the runtime.

1. Install the desktop agent

Windows 10/11 x64 — paste into a normal PowerShell window:

irm https://raw.githubusercontent.com/ersinkoc/phonebox/main/setup.ps1 | iex

Linux or macOS — run as your own user:

curl -fsSL https://raw.githubusercontent.com/ersinkoc/phonebox/main/setup.sh | bash

Setup downloads the latest release, checks its SHA-256 checksum, offers missing dependencies and start-at-login, and opens the settings at http://127.0.0.1:8765. It can also install the Android app over USB. Run setup again to update or repair the installation while keeping settings and pairings.

Windows signing: release agents are currently unsigned while the SignPath Foundation application is pending. SmartScreen or antivirus software may warn or block them. See the code signing policy and installation warnings. USB debugging should be authorized only on computers you trust.

Read the scripts before running them: Windows · Linux/macOS. The installation guide covers options, dependencies, install paths, troubleshooting and uninstalling.

2. Connect the phone

USB Wi-Fi only
Enable Developer options → USB debugging, connect a data cable and accept the phone's authorization prompt. Let setup install the app, or use Settings → General → Install the phone app. Install the APK from the latest release. Enable Settings → General → Wi-Fi & Tailscale, restart the agent when asked, then choose Pair a phone over Wi-Fi. Scan the pairing QR code and confirm the matching check code.
Wakes and opens the panel on connection; supports app updates over adb. No adb or developer options needed; install app updates manually unless you later configure USB.

For automatic USB/Wi-Fi fallback, enable Wi-Fi and connect the phone over USB once. Connection details and Tailscale setup →

3. Make it yours

Open http://127.0.0.1:8765 (or double-click the Windows tray icon). Under Pages, choose a template, drag and resize widgets, then Save. Use Live preview to see unsaved edits with live data. Swipe, tap the page dots or use the phone's volume keys to move between pages.

Other installation methods
  • Manual download: unzip the agent for your system from the release page and run it. Install the APK on the phone. Checksums and build provenance accompany the release assets.

  • Scoop (Windows):

    scoop bucket add phonebox https://github.com/ersinkoc/phonebox
    scoop install main/adb phonebox/phonebox
    
  • From source: see the installation guide and development guide.

  • winget: manifests are prepared in packaging/winget; see the installation guide for details.

Pages & templates

Start with Home, System, AI quotas, Sessions, Music, Planner, Automation or a Control Deck template, then adapt the 12 × 6 grid to your phone. Portrait and landscape layouts are supported. Smart Stack puts up to 12 widgets in one slot.

Home AI sessions
Clock, weather, media and PC metrics Coding sessions and GitHub activity
System Layout editor
CPU, GPU, memory and network charts Pages and widget settings in the visual editor

Screenshots use demo data. Browse the template gallery and widgets. Change fonts, size, spacing, corners and surfaces globally or for one page or widget with the appearance guide.

Platform support

Windows Linux macOS
Release builds x64 x64 / ARM64, glibc Apple silicon / Intel
CPU, RAM, disks, network, processes ✓ ✓ ✓
GPU data Windows counters; NVIDIA via nvidia-smi; extra sensors via LibreHardwareMonitor NVIDIA / AMD; Intel clock Apple silicon, when exposed by macOS
Media System media sessions playerctl nowplaying-cli; Spotify / Music fallback
Volume Native wpctl / pactl System output; availability varies by device
Agent interface Tray icon + browser settings Browser settings Browser settings

Widgets depend on the host's hardware, installed tools and permissions. Advanced Control Deck features have their own platform requirements. Windows ARM and musl Linux (such as Alpine) do not have release builds. See the full compatibility table.

Documentation

Guide Contents
Installation and connections Setup options, warnings, manual and source installs, USB, Wi-Fi, Tailscale, updates, uninstall and troubleshooting
User guide Template gallery, widgets, AI integrations, editor, Claude Code prompts, webhooks and automation rules
Appearance Fonts, surfaces, presets, inheritance and live preview
Control Deck Audio, media, OBS, shortcuts, tasks, protocols, dependencies and platform limits
Discord widget Creating the Discord application, connecting it, controls and troubleshooting
Development Architecture, local demo, builds, tests, widget sources and isolated agent runs
Contributing Contribution scope, review expectations, privacy and required checks
Changelog Release history and unreleased changes
Release checklist Maintainer build, signing and publication workflow

The UMIDIGI BISON extras contain the reversible, no-root tune-up used on the original development phone.

Security & privacy

The desktop settings server listens on 127.0.0.1:8765; USB reaches it through adb reverse. Optional Wi-Fi uses HTTPS on port 8766 with a pinned certificate and a paired key. Settings and pairing endpoints stay local. The phone requests configured actions by ID; commands and integration credentials stay on the computer.

PhoneBox has no telemetry, analytics or accounts of its own. Optional widgets and integrations contact external services for weather, quotas, GitHub and other data, and the agent checks GitHub for updates. Supported public feeds can fall back through the agent over USB when the phone has no internet. The privacy policy lists outbound connections and how to disable them. Read the security details. To report a vulnerability, follow SECURITY.md.

Development

The agent uses .NET 10; the Android app uses Kotlin and a WebView with plain JavaScript widgets. For Android builds, install JDK 17 and Android SDK Platform 35 (the SDK the app is built with; the app itself runs on Android 7.0, API 24, and later). Preview the panel and editor from source with Python 3, using simulated data:

python tools/demo-server.py

Open http://127.0.0.1:8790/panel/ or http://127.0.0.1:8790/settings/. See development commands for running the agent, building the APK and testing changes. Contributions are welcome; start with CONTRIBUTING.md.

Code signing policy

Free code signing provided by SignPath.io, certificate by SignPath Foundation.

Thanks

People who tested PhoneBox on their own hardware:

Sponsor

Sponsored by WrongStack — open-source AI coding with durable memory and multi-agent workflows. Explore wrongstack.com.

Supported by WrongStack · An open-source AI coding agent that remembers your codebase.
Explore WrongStack → · View on GitHub & give it a star ★

Star History

Star history of ersinkoc/phonebox

License

MIT

phonebox (ersinkoc/phonebox)

Ищем в базе…

Что это такое?PhoneBox превращает старый Android-телефон в настраиваемую панель для рабочего стола и сенсорный пульт управления для компьютера под Windows, Linux или macOS.
Из чего это устроено?Есть две части: полноэкранное приложение на телефоне и небольшой агент на компьютере. Панель вы создаёте в визуальном редакторе в браузере, где есть несколько страниц и живой предпросмотр.
Как это запустить?На компьютере запустите скрипт установки из README: вставьте однострочную команду в PowerShell на Windows 10/11 x64 или запустите скрипт от своего пользователя на Linux или macOS. Установка скачивает последнюю версию, проверяет её SHA-256 и предлагает установить недостающие зависимости и запуск при входе в систему. Затем подключите телефон по USB или Wi-Fi.
Что нужно в первую очередь?Телефон с Android 7+ и поддерживаемый компьютер. Для USB нужны кабель для передачи данных и включённая отладка по USB; сопряжение по Wi-Fi работает без того и другого. Релизные агенты включают .NET, так что отдельно устанавливать среду выполнения не нужно.
Готов ли установщик для Windows к использованию прямо сейчас?Не без предупреждения. Релизные агенты не подписаны, пока заявка в SignPath Foundation на рассмотрении, поэтому SmartScreen или антивирус могут выдать предупреждение или заблокировать их. Сборок для Windows ARM и для musl-Linux, например Alpine, нет.
Всё ли одинаково работает во всех трёх системах?Процессор, оперативная память, диски, сеть и процессы работают на Windows, Linux и macOS. Данные о видеокарте, медиа и управление громкостью зависят от системы и оборудования: например, статистика NVIDIA на Windows требует nvidia-smi.
Работает ли это без интернета?Телефон подключается к компьютеру по USB или Wi-Fi, поэтому панель работает локально. Виджеты, которые запрашивают публичные данные, могут получать их через агент на компьютере по USB, если у самого телефона нет интернета.
Мои данные покидают мою сеть?Телеметрии, аналитики и аккаунта PhoneBox нет. Необязательные виджеты обращаются к внешним сервисам, например к погоде, квотам ИИ и GitHub, а агент проверяет GitHub на наличие обновлений. Команды и учётные данные интеграций остаются на компьютере.
Какие условия лицензии?Проект распространяется по лицензии MIT, он бесплатный, и для работы не нужны аккаунт или облачный сервис.
Что можно разместить на панели?Статистика системы, квоты и сессии ИИ-кодинга для Claude Code и Codex, ярлыки приложений и ссылок, макросы, управление медиа и громкостью, элементы управления Home Assistant, вебхуки, часы, погода и заметки. В README упоминаются около 120 виджетов и 30 шаблонов.
Могу ли я отвечать на запросы разрешений Claude Code с телефона?Да, но только если вы сами это включите. Тогда на запросы разрешений Claude Code можно ответить кнопками «Разрешить» или «Запретить» прямо на телефоне.
Может ли один телефон работать с несколькими компьютерами?Да. Можно подключить несколько телефонов, у каждого будет своя раскладка, или переключать один телефон между сопряжёнными компьютерами.
Можно ли пользоваться этим вне домашней сети?Tailscale — необязательный вариант для подключений по Wi-Fi, а в README есть ссылка на отдельное руководство по его настройке.
Какие есть похожие проекты?DeskBox, Android-Dex, osu, glasshouse, RunCat365, LiteMonitor, labtether, uno
Автор
ersinkoc
Размер
28.2 MB
Звёзды
2.6K
Возраст
11 д
Коммиты · 90 дней