{"id":45741019,"url":"https://github.com/davebugg/proxybox","last_synced_at":"2026-04-07T16:01:38.085Z","repository":{"id":340563162,"uuid":"1166609764","full_name":"DaveBugg/ProxyBox","owner":"DaveBugg","description":"Open-source Android VPN client powered by Xray-core. Supports VLESS, VMess, Trojan, Shadowsocks, Hysteria2. Works on phones and Android TV.","archived":false,"fork":false,"pushed_at":"2026-04-07T14:46:40.000Z","size":58865,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-07T14:47:24.087Z","etag":null,"topics":["android","android-tv","anti-censorship","censorship-circumvention","grpc","hysteria2","kotlin","privacy","proxy","reality","shadowsocks","trojan","tun2socks","v2ray","vless","vmess","vpn","vpn-client","xray","xray-core"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DaveBugg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-25T12:09:39.000Z","updated_at":"2026-04-07T14:39:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/DaveBugg/ProxyBox","commit_stats":null,"previous_names":["davebugg/proxybox"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/DaveBugg/ProxyBox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveBugg%2FProxyBox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveBugg%2FProxyBox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveBugg%2FProxyBox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveBugg%2FProxyBox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaveBugg","download_url":"https://codeload.github.com/DaveBugg/ProxyBox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveBugg%2FProxyBox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31518642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-tv","anti-censorship","censorship-circumvention","grpc","hysteria2","kotlin","privacy","proxy","reality","shadowsocks","trojan","tun2socks","v2ray","vless","vmess","vpn","vpn-client","xray","xray-core"],"created_at":"2026-02-25T14:11:11.162Z","updated_at":"2026-04-07T16:01:38.077Z","avatar_url":"https://github.com/DaveBugg.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ProxyBox\n\n![API](https://img.shields.io/badge/API-24%2B-brightgreen)\n![License](https://img.shields.io/badge/License-GPLv3-blue)\n![GitHub release](https://img.shields.io/github/v/release/DaveBugg/ProxyBox)\n![Downloads](https://img.shields.io/github/downloads/DaveBugg/ProxyBox/total)\n\nOpen-source Android VPN client powered by [Xray-core](https://github.com/XTLS/Xray-core). Designed for both **mobile phones** and **Android TV / set-top boxes**.\n\n\u003e **Why ProxyBox?** Full Android TV support with D-pad navigation, phone-to-TV config transfer via QR code, and a clean modern UI — features missing from most Xray clients.\n\n## Donate\n\nIf you find this project useful, consider supporting development:\n\n**USDT (TRC20):** `TMWTigPZgTkekaRUjUrhJUNENFeUAE7T15`\n\n\u003cimg src=\"docs/donate_usdt_trc20.png\" alt=\"Donate USDT TRC20\" width=\"200\"/\u003e\n\n## Screenshots\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/Screenshot_20260322_170840.png\" alt=\"Mobile UI\" width=\"250\"/\u003e\n  \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003cimg src=\"docs/Screenshot_20260322_171025.png\" alt=\"Android TV UI\" width=\"420\"/\u003e\n  \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003cimg src=\"docs/Screenshot_20260322_171043.png\" alt=\"Phone-to-TV Config Transfer\" width=\"420\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cem\u003eMobile \u0026nbsp;·\u0026nbsp; Android TV \u0026nbsp;·\u0026nbsp; Phone-to-TV Config Transfer\u003c/em\u003e\n\u003c/p\u003e\n\n## Features\n\n- **Multi-protocol support**: VLESS, VMess, Shadowsocks, Trojan, Hysteria2\n- **Transport layers**: TCP, WebSocket, gRPC, HTTP/2, QUIC, KCP, HTTPUpgrade, XHTTP (SplitHTTP)\n- **Security**: TLS, Reality, None\n- **Android TV optimized**: dedicated TV interface with D-pad navigation and Leanback launcher support\n- **Config import methods**:\n  - Paste URL or raw JSON manually\n  - Scan QR code with camera\n  - Pick QR code image from gallery\n  - Local HTTP server with QR code — scan from phone to add configs to TV/box\n  - Subscription URLs with auto-refresh\n- **Connection testing**: TCP ping for all profiles + HTTP connectivity test (google.com/generate_204)\n- **Auto-update geo databases**: geoip.dat and geosite.dat from [v2fly](https://github.com/v2fly/geoip) via WorkManager (daily, Wi-Fi only)\n- **Boot auto-start**: automatically reconnect VPN after device reboot\n- **Local storage**: all configs stored locally in Room database\n\n## Architecture\n\n```\ncom.dave_cli.proxybox\n├── core/\n│   ├── CoreService.kt          # VPN service (TUN interface + xray engine)\n│   ├── XrayManager.kt          # Xray core lifecycle (CoreController API)\n│   ├── ConfigBuilder.kt        # Builds xray JSON config from profile\n│   ├── GeoFileManager.kt       # Downloads geoip/geosite with ETag caching\n│   ├── GeoUpdateWorker.kt      # WorkManager periodic updater\n│   ├── ProxyEngine.kt          # Engine interface\n│   └── BootReceiver.kt         # Auto-start on boot\n├── data/\n│   ├── db/                     # Room database (ProfileEntity, SubscriptionEntity)\n│   └── repository/             # ProfileRepository (CRUD, ping, subscriptions)\n├── import_config/\n│   ├── ConfigParser.kt         # Parses vless://, vmess://, ss://, trojan://, hy2://, JSON\n│   ├── SubscriptionParser.kt   # Decodes base64 subscription content\n│   └── QrDecoder.kt            # Decodes QR codes from bitmap images\n├── server/\n│   ├── LocalConfigServer.kt    # NanoHTTPD server for phone-to-TV config transfer\n│   └── QrGenerator.kt          # Generates QR code bitmaps\n├── ui/\n│   ├── main/                   # Mobile UI (MainActivity, ProfileAdapter)\n│   ├── tv/                     # Android TV UI (TvMainActivity, TvProfileAdapter)\n│   ├── add/                    # Add profile screen\n│   └── server/                 # Local server screen with QR display\n└── ProxyBoxApp.kt              # Application class (schedules geo updates)\n```\n\n## Requirements\n\n- Android 7.0+ (API 24)\n- Xray core via [AndroidLibXrayLite](https://github.com/2dust/AndroidLibXrayLite) (`libv2ray.aar`)\n\n## Building\n\n```bash\n# Clone the repository\ngit clone https://github.com/DaveBugg/ProxyBox.git\ncd ProxyBox\n\n# Build debug APK\n./gradlew assembleDebug\n\n# APK location\n# app/build/outputs/apk/debug/app-debug.apk\n```\n\n\u003e **Note**: The project includes `libv2ray.aar` in `app/libs/`. This contains the Xray core compiled for armeabi-v7a, arm64-v8a, x86, and x86_64.\n\n## Adding Configs\n\n### On Phone\n1. Open app → tap **+ Add**\n2. Paste a config URL (e.g. `vless://...`) or full JSON\n3. Or scan a QR code with camera / pick QR image from gallery\n\n### On Android TV / Box\n1. Open app → select **Add Config via Phone**\n2. Scan the displayed QR code with your phone\n3. Browser opens → paste config URL, JSON, upload QR image, or add subscription\n\n### Subscriptions\nAdd a subscription URL in the Add Config screen or via the local server web page. Profiles are fetched and stored automatically.\n\n## Tech Stack\n\n- **Language**: Kotlin\n- **VPN Core**: Xray (via libv2ray.aar, CoreController API)\n- **Database**: Room\n- **Async**: Kotlin Coroutines + StateFlow\n- **Networking**: OkHttp, NanoHTTPD\n- **QR**: ZXing\n- **Background tasks**: WorkManager\n- **TV**: AndroidX Leanback\n\n## License\n\nThis project is licensed under the GNU General Public License v3.0. See [LICENSE](LICENSE) for details.\n\n## Credits\n\n- [Xray-core](https://github.com/XTLS/Xray-core) — proxy engine\n- [AndroidLibXrayLite](https://github.com/2dust/AndroidLibXrayLite) — Android bindings\n- [v2rayNG](https://github.com/2dust/v2rayNG) — reference implementation\n- [v2fly/geoip](https://github.com/v2fly/geoip) — geo databases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavebugg%2Fproxybox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavebugg%2Fproxybox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavebugg%2Fproxybox/lists"}