{"id":23682739,"url":"https://github.com/himeyama/remote-shutdown","last_synced_at":"2026-05-06T11:38:31.027Z","repository":{"id":250450897,"uuid":"834513215","full_name":"Himeyama/remote-shutdown","owner":"Himeyama","description":"It is a web application and server that allows you to shut down or restart the target PC from a smartphone or PC on the same LAN as the target PC.","archived":false,"fork":false,"pushed_at":"2024-10-21T16:49:56.000Z","size":171,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-29T19:53:49.595Z","etag":null,"topics":["fastapi","fluentui","webpack"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Himeyama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2024-07-27T13:50:53.000Z","updated_at":"2024-10-21T16:49:59.000Z","dependencies_parsed_at":"2024-07-27T15:11:28.473Z","dependency_job_id":null,"html_url":"https://github.com/Himeyama/remote-shutdown","commit_stats":null,"previous_names":["himeyama/remote-shutdown"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himeyama%2Fremote-shutdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himeyama%2Fremote-shutdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himeyama%2Fremote-shutdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Himeyama%2Fremote-shutdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Himeyama","download_url":"https://codeload.github.com/Himeyama/remote-shutdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239734527,"owners_count":19688256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["fastapi","fluentui","webpack"],"created_at":"2024-12-29T19:54:02.531Z","updated_at":"2026-01-04T04:30:14.727Z","avatar_url":"https://github.com/Himeyama.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remote-shutdown\n対象 PC と同一 LAN 上にあるスマホや PC から、シャットダウンまたは再起動ができるウェブアプリ兼サーバーです。\n\n## インストール方法\nhttps://github.com/Himeyama/remote-shutdown/releases よりインストーラーをダウンロードし、インストールを行います。\n\nPC 起動時にアプリ (サーバー) が起動します。\n\n\u003e [!NOTE]\n\u003e `Win` + `R` のファイル名を指定して実行で `shell:startup` を実行するとショートカットがあります。\n\n## セットアップ\nアプリをインストールした PC で http://127.0.0.1:50031 にアクセスすると、トークンと接続先 IP アドレスが得られます。\nこのトークンを使用して、シャットダウンまたは再起動が可能です。\n\n初回起動時にファイアウォールが聞かれますが、有効にしてください。\n有効にした場合、スマホまたは別の PC からアクセス可能になります。\n\n\u003e [!NOTE]\n\u003e 誤って無効にした場合、ファイル名を指定して実行 (`Win` + `R`) で `wf.msc` を実行し「受信」の remote_shutdown.exe の規則を削除し、再度アプリを実行してください。\n\nスマホまたは別の PC からアプリがインストールされている PC に接続する場合は、上記のページに表示される IP アドレスを含むリンクにアクセスします。\n\n## 使用法\nアプリをインストールしている PC から得られたトークンを入力し、シャットダウンまたは再起動のボタンをクリックします。\n\n\u003cimg src=\"docs/ScreenShot01.png\" width=\"300\" /\u003e\n\n\n## 開発環境\n以下、開発者向けの説明です。\n\n- Python 3.8.10 (pyenv install 3.8)\n- Poetry (pip install poetry)\n\n```bash\npoetry shell # 仮想環境立ち上げ\npoetry install # 依存パッケージインストール\n```\n\n## 実行\n\n```bash\npoetry run task build-script # スクリプトをコンパイル\npoetry run task main # サーバー起動\n```\n\n## 実行ファイル作成\nPyInstaller で実行ファイルを作成します。\nPyInstaller そのものは、Poetry の仮想環境に含まれないので、pip 等でインストールしてください。\n\n```bash\npoetry run task build-script # Webpack\npoetry run task build # PyInstaller で実行ファイル作成\n```\n\n## インストーラー作成\nnsis を使用してインストーラーを作成します。\n\n```bash\npoetry run task pack\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimeyama%2Fremote-shutdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimeyama%2Fremote-shutdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimeyama%2Fremote-shutdown/lists"}