Skip to content

Commit d3a17a9

Browse files
Create README.md
1 parent 984bb92 commit d3a17a9

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# PokiLocker
2+
3+
为了防止同学使用班级电脑玩poki小游戏,故开发此项目,这是一个网站访问管理工具,通过修改系统 hosts 禁用文件实现游戏和视频网站的访问。
4+
5+
## 功能
6+
7+
- **禁用游戏网站**:预置 16 个热门游戏网站,支持一键启用/禁用
8+
- **禁用视频网站**:预置 12 个视频网站,支持一键启用/禁用
9+
- **自定义网站**:添加/删除自定义网站域名进行阻断
10+
- **网格布局**:每行4个站点卡片,界面清晰
11+
- **隐秘模式**:不显示托盘图标,关闭即退出
12+
- **开机自启动**:支持设置开机自动运行
13+
14+
## 技术栈
15+
16+
- Python 3.11
17+
- PyQt5
18+
- qfluentwidgets
19+
20+
## 使用
21+
22+
1. 右键以**管理员身份**运行
23+
2. 在主界面选择需要禁用的网站
24+
3. 点击「应用规则」生效
25+
26+
## 注意
27+
28+
- 修改 hosts 文件需要管理员权限
29+
- 配置文件保存在 `Documents/PokiLocker/`
30+
31+
## 打包
32+
33+
```bash
34+
python pokilocker/build_exe.py
35+
```
36+
##软件界面
37+
<img width="1027" height="839" alt="image" src="https://github.com/user-attachments/assets/727ffc98-6e54-41ae-a6bc-d4d58372723c" />
38+
39+
主界面
40+
<img width="1027" height="839" alt="image" src="https://github.com/user-attachments/assets/4c072010-5484-4740-9fe1-d25787d9fd54" />
41+
42+
对话框
43+
<img width="602" height="489" alt="image" src="https://github.com/user-attachments/assets/95338b5c-9259-461c-8cf7-9810dfb0f693" />
44+
45+
设置
46+
47+

0 commit comments

Comments
 (0)