{"id":34819306,"url":"https://github.com/huonwe/webscreen","last_synced_at":"2026-04-22T06:00:48.495Z","repository":{"id":330101583,"uuid":"1115020379","full_name":"huonwe/webscreen","owner":"huonwe","description":"Stream your Android device in your browser via WebRTC","archived":false,"fork":false,"pushed_at":"2026-03-17T11:01:11.000Z","size":165015,"stargazers_count":53,"open_issues_count":1,"forks_count":9,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-18T01:38:55.338Z","etag":null,"topics":["android","golang","mirroring","streaming","webrtc"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huonwe.png","metadata":{"files":{"readme":"README.ja.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":"2025-12-12T08:18:34.000Z","updated_at":"2026-03-17T11:01:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/huonwe/webscreen","commit_stats":null,"previous_names":["huonwe/webscreen"],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/huonwe/webscreen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huonwe%2Fwebscreen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huonwe%2Fwebscreen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huonwe%2Fwebscreen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huonwe%2Fwebscreen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huonwe","download_url":"https://codeload.github.com/huonwe/webscreen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huonwe%2Fwebscreen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32123604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","golang","mirroring","streaming","webrtc"],"created_at":"2025-12-25T14:06:02.621Z","updated_at":"2026-04-22T06:00:48.489Z","avatar_url":"https://github.com/huonwe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webscreen\n\n## ℹ️ 概要\n\n[デモを見る](https://youtu.be/6WtbwaIk2aY)\n\nWebscreen は、WebRTC をベースにした Android および Linux デバイス向けのセルフホスト型画面ストリーミングウェブアプリケーションです。\n![screenshot](doc/assets/screenshot.png)\n\n動作環境：\n\n- Android Termux\n- Linux\n- Windows\n- MacOS\n\n（`amd64` および `arm64` をサポート）\n\nAndroid の機能 ([scrcpy](https://github.com/Genymobile/scrcpy)):\n\n- ビデオ、オーディオ、制御\n- UHID デバイス（マウス、キーボード、ゲームパッド）\n- クリップボード同期\n- マルチタッチ、筆圧\n- H.264/H.265\n- マルチ接続\n- その他...\n\nLinux の機能 (xvfb):\n\n- ビデオ、制御\n\n## 前提条件\n\nデバイス側については、[scrcpy](https://github.com/Genymobile/scrcpy/blob/master/README.md#prerequisites) を参照してください。\n\nサーバー側については、事前に PATH に `adb` と `xvfb, ffmpeg, xfce4 (この機能が必要な場合、オプション)` をインストールしておくことをお勧めします。\n\n```bash\n# Termux の場合\npkg install android-tools\n# リポジトリをクローンしてビルド\ngit clone https://github.com/huonwe/webscreen.git\ncd webscreen\ngo build -o sdriver/xvfb/bin/capturer_xvfb ./capturer\ngo build -ldflags \"-checklinkname=0\"\n\n# Debian の場合\napt install adb\n# xvfb ディスプレイをストリーミングしたい場合\napt install xvfb ffmpeg xfce4\n# その場合、ビルド済みのバイナリを直接使用できます\n```\n\n**クライアント側には、WebRTC (H.264 High Profile, または H.265 Main Profile) をサポートするウェブブラウザが必要です。**\n\n## 使用方法\n\n最新の [リリース](https://github.com/huonwe/webscreen/releases) をダウンロードし、プログラムを実行してください。デフォルトのポートは `8079` ですが、 `-port 8080` で指定できます。6桁の PIN コードも必要です（デフォルトは '123456'）。コマンド例：`./webscreen -port 8080 -pin 555555`\nその後、お好みのブラウザを開き、`\u003cあなたの IP\u003e:\u003cあなたのポート\u003e` にアクセスしてください。\n\nまたは、自分でビルドすることもできます。通常は `go build` を実行するだけでビルドできます。ただし、`Termux` 上でビルドする場合は、 `go build -ldflags \"-checklinkname=0\"` を実行する必要があります。\n\nDocker も使用できます：\n\n```bash\nwget https://raw.githubusercontent.com/huonwe/webscreen/refs/heads/main/docker-compose.yml\n\ndocker compose up -d\n```\n\nUDP トラフィックとデバイス接続のため、`host` ネットワークモードの使用が推奨されます。\n\nAndroid デバイスを [ワイヤレスデバッグ](https://developer.android.com/studio/debug/dev-options#enable) でペアリングする必要がある場合があります。`ペアリングコードによるデバイスのペアリング` がサポートされています。ペアリングが完了したら、`Connect` ボタンをクリックし、必要な情報を入力してください。\n\nストリーミング開始後、画面を取得するために画面上のシーンを手動で少し変更する必要がある場合があります。音量ボタンをクリックするだけで十分です。\n\n### その他\n\n[Redroid クイックスタート](https://github.com/huonwe/webscreen/blob/main/doc/quick-start-redroid.md)\n\n## 既知の問題\n\n- Docker および Termux では Xvfb は動作しません\n\n## ライセンス\n\n```LICENSE\nWebscreen, streaming your device in Web browser.\nCopyright (C) 2026  Hiroi\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU Affero General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuonwe%2Fwebscreen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuonwe%2Fwebscreen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuonwe%2Fwebscreen/lists"}