Files
PerToolBoxFront/README.md
2026-04-02 01:18:45 +08:00

135 lines
2.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# PerToolBox Front - 前端界面
> 基于 PHP 的轻量级个人工具箱前端
---
## 📋 项目信息
- 项目名称PerToolBox Front
- 项目类型Web 前端界面
- 版权所有Sea Network Technology Studio
- 权利人Canglan
- 开源协议AGPL v3
- 联系方式admin@sea-studio.top
---
## ✨ 功能模块
### 🔐 用户系统
- 登录 / 注册
### 📝 数据功能
- 待办事项
- 便签本
### 🧰 工具模块
- 密码生成器
- 二维码生成
- 加密工具箱
- JSON 校验器
### 📊 展示功能
- 工具访问热度展示
---
## 🎨 特性
- 响应式布局(桌面 / 移动端)
- TailwindCSSCDN
- 无构建流程(即开即用)
- 结构清晰,易扩展
---
## 🛠️ 技术栈
| 技术 | 版本 |
|------|------|
| PHP | 8.0+ |
| Nginx / Apache | 最新稳定版 |
| TailwindCSS | CDN |
---
## ⚙️ 配置
编辑配置文件:
```bash
vim config.php
```
设置:
- API_BASE_URL=http://127.0.0.1:9999/api/
---
## 🚀 快速开始
### 1. 获取代码
```bash
git clone https://hz-gitea.sea-studio.top/Sea-Studio/PerToolBoxFront.git
cd PerToolBoxFront
```
### 2. 配置 API
```bash
vim config.php
```
---
## 🌐 Nginx 配置
```nginx
server {
listen 80;
server_name toolbox.your-domain.com;
root /www/wwwroot/PerToolBoxFront;
index index.php;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php8.0-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location /api/ {
proxy_pass http://127.0.0.1:9999/api/;
}
}
```
---
## 📁 项目结构
PerToolBoxFront/
├── index.php
├── login.php
├── profile.php
├── config.php
├── header.php
├── footer.php
├── sidebar.php
├── css/
├── js/
└── pages/
---
## 📞 联系方式
- Githttps://hz-gitea.sea-studio.top/Sea-Studio/PerToolBoxFront
- 邮箱admin@sea-studio.top