{"id":16654150,"url":"https://github.com/letmefly666/pressbyweb","last_synced_at":"2026-02-11T14:31:52.598Z","repository":{"id":220109905,"uuid":"750337501","full_name":"LetMeFly666/PressByWeb","owner":"LetMeFly666","description":"通过网页在电脑上按下快捷键（手机向电脑发送快捷键）","archived":false,"fork":false,"pushed_at":"2025-12-27T14:36:14.000Z","size":44,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T10:33:26.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://PressByWeb.LetMeFly.XYZ","language":"HTML","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/LetMeFly666.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}},"created_at":"2024-01-30T13:05:10.000Z","updated_at":"2025-12-27T14:36:18.000Z","dependencies_parsed_at":"2024-02-05T11:08:05.965Z","dependency_job_id":null,"html_url":"https://github.com/LetMeFly666/PressByWeb","commit_stats":null,"previous_names":["letmefly666/pressbyweb"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/LetMeFly666/PressByWeb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FPressByWeb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FPressByWeb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FPressByWeb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FPressByWeb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LetMeFly666","download_url":"https://codeload.github.com/LetMeFly666/PressByWeb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LetMeFly666%2FPressByWeb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29335193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T14:07:45.431Z","status":"ssl_error","status_checked_at":"2026-02-11T14:07:45.080Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-10-12T09:48:52.427Z","updated_at":"2026-02-11T14:31:52.582Z","avatar_url":"https://github.com/LetMeFly666.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n * @Author: LetMeFly\n * @Date: 2024-01-30 21:02:09\n * @LastEditors: LetMeFly\n * @LastEditTime: 2024-01-31 21:50:46\n--\u003e\n# PressByWeb(Remote Keyboard)\n\n通过网页在电脑上按下快捷键。\n\n\u003e [!TIP]\n\u003e\n\u003e 电脑在卧室放歌人在客厅吃饭，想“下一曲”又懒得动，怎么用手机**简单**地控制一下电脑呢？通过访问电脑(服务器)提供的网页来向电脑发送快捷键吧！\n\n+ 仓库地址：[Github@LetMeFly666/PressByWeb](https://github.com/LetMeFly666/PressByWeb)\n+ 在线文档：[PressByWeb.LetMeFly.XYZ](https://pressbyweb.letmefly.xyz/)\n\n## 配置方法\n\n1. 下载本仓库到本地\n2. 电脑上安装好```Python```，安装好```flask```库\n3. （可选）在```main.py```同级的目录新建```mySecrets.py```，修改其中内容为```PASSWORD = '访问密码'```\n4. 执行命令```python main.py```（可以看到提示：```Running on http://192.168.1.2:82```）\n5. 关闭电脑防火墙（不推荐）**或**新增82端口的tcp入栈规则（详情请见[如何开启单个端口以供Web应用访问(以82端口为例)](https://leetcode.letmefly.xyz/2024/01/31/Other-Windows-FireWall-Open1PortForWebserver-WhyFailed/)）\n6. 手机连接到电脑的统一网络下（同一wifi、同一校园网、热点共享 等均可），访问第```4.```步中显示的地址，看到“输入密码的提示”即为配置成功\n\n![输入密码](https://github.com/LetMeFly666/PressByWeb/assets/56995506/e3e7ecce-c264-43ea-b253-b0581d98da11)\n\n## 使用方法\n\n在“输入密码”界面输入你设置的密码（若进行了[配置方法](#配置方法)中的第三步则为“访问密码”，否则为“123”）\n\n在电脑端将会看到界面如下：\n\n![电脑端](https://github.com/LetMeFly666/PressByWeb/assets/56995506/a5f0b586-547c-4e3a-a84b-ff72ab908e27)\n\n在手机端将会看到界面如下：\n\n![手机端](https://github.com/LetMeFly666/PressByWeb/assets/56995506/1944c19c-3217-4c73-88b9-c5b34bcf2f30)\n\n其中```快捷键```标题下的5个按钮为很多音乐软件常用的快捷键，单击一下即可将快捷键发送到后端执行。\n\n其中```组合键```标题下的24个按钮为常用的按钮，依次单击，选择好后点击“发送按钮”，即可将按键组合发送到后端执行。\n\n## Acknowledge\n\n+ 感谢[ChatGPT](https://chat.openai.com/share/2271834f-3a12-4bdc-89ee-a78e2c1faa7b)的帮助（虽然到最后GPT开始瞎扯了）。\n+ 感谢[@Tisfy](https://github.com/Tisfy)的[按键功能建议#1](https://github.com/LetMeFly666/PressByWeb/issues/1)\n\n## TODO\n\n+ Make 1 video to BiliBili\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletmefly666%2Fpressbyweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletmefly666%2Fpressbyweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletmefly666%2Fpressbyweb/lists"}