https://github.com/nxtrace/powserver
https://github.com/nxtrace/powserver
nexttrace pow
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nxtrace/powserver
- Owner: nxtrace
- License: gpl-3.0
- Created: 2023-05-31T10:32:18.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-12-15T12:36:55.000Z (over 1 year ago)
- Last Synced: 2025-01-03T04:15:58.832Z (over 1 year ago)
- Topics: nexttrace, pow
- Language: Python
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# POW SERVER
NEXTTRACE项目派生的仓库,用于实现POW反爬
server : https://github.com/tsosunchia/powserver
client : https://github.com/tsosunchia/powclient
## 部署(venv)
### 前置依赖
- Python 3
- jq(`launch.sh` 读取 `config.json` 依赖)
### 安装步骤
```bash
git clone https://github.com/tsosunchia/powserver.git
cd powserver
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp config_example.json config.json
# 按需修改 config.json
```
### 启动(前台)
```bash
bash launch.sh
```
### systemd 服务(venv)
1. 编辑 `powServer.service`,修改 `User`、`WorkingDirectory`,并确认 `Environment` 中的路径与实际目录一致。
2. 安装并启用服务:
```bash
sudo cp powServer.service /etc/systemd/system/powServer.service
sudo systemctl daemon-reload
sudo systemctl enable --now powServer
```