基于Python3开发的远程唤醒计算机程序,支持PC客户端、命令行和网页。网页端主要为了移动端使用。
A remote wake-up computer program developed based on Python3, supporting PC clients, command lines, and web pages. The web end is mainly designed for mobile app use.
├── WakeOnRemote.py GUI程序
├── WakeOnRemote_console.py 命令行程序
├── info 配置文件
├── web
│ ├── assets 静态资源
│ └── app.py web服务
│ └── index.html 首页
web服务需要Python3.7及以上版本
您可以编辑info
文件以导入要唤醒的主机信息。它需要域名/IP地址、MAC地址和端口。格式如下:
You can edit the info file to import the host information to wake up. It needs the domain name / IP address, MAC address and port. The format is as follows:
Domain/IP
MAC
PORT
123.123.123.123 :XX:XX:XX:XX:XX:XX 9
test.test.com XX:XX:XX:XX:XX:XX 8
运行python3 wakeonremote.py
,然后双击列表中要唤醒的主机,如图所示:
Run python3 wakeonremote.py
, and then double-click the host to wake up in the list, as shown in the figure:
运行python3 wakeonremote.py
,填写域名/主机、MAC和端口,然后点击唤醒,如图所示:
Run python3 wakeonremote.py
, fill in the domain name / host, MAC and port, and then click wake-up, as shown in the figure:
您也可以使用WakeOnMotor_console.py
You can also use WakeOnRemote_console.py
使用WakeOnmote_sole.py
:
Using WakeOnRemote_console.py
:
运行python3 app.py
即可启动web服务,默认监听在本地80端口,如果需要部署在公网,修改代码监听地址即可。可以使用PC、Android或iOS的浏览器访问,实现简易的跨平台使用。
Run 'python3 app. py' to start the web service. By default, it listens to port 80 locally. If it needs to be deployed on the public network, simply modify the code listening address. It can be accessed using PC, Android, or iOS browsers for easy cross platform use.