122 lines
4.4 KiB
Markdown
122 lines
4.4 KiB
Markdown
# 牛子小助手 (DickHelper)
|
||
|
||
[](https://reactjs.org/)
|
||
[](https://www.typescriptlang.org/)
|
||
[](https://vitejs.dev/)
|
||
[](https://mui.com/)
|
||
|
||
## 项目简介 | Introduction
|
||
|
||
牛子小助手是一个帮助用户科学自慰的工具应用。它提供了记录、统计和分析功能,帮助用户更好地了解自己的习惯。
|
||
|
||
GoodDick Assistant is a tool application that helps users masturbate scientifically. It provides recording, statistics, and analysis functions to help users better understand their habits.
|
||
|
||
## 特点 | Features
|
||
|
||
- 🔒 **数据安全**: 所有数据完全存储在本地,无需担心隐私泄露
|
||
- All data is stored locally, no privacy concerns
|
||
|
||
- 📊 **数据可视化**: 直观的图表展示统计信息
|
||
- Intuitive charts for statistical information
|
||
|
||
- 📱 **响应式设计**: 支持各种设备尺寸
|
||
- Responsive design for various device sizes
|
||
|
||
- 🌐 **无需后端**: 纯前端应用,无需服务器
|
||
- Frontend-only application, no backend required
|
||
|
||
## 在线演示 | Online Demo
|
||
|
||
你可以访问以下链接体验在线版本:
|
||
You can try the online version here:
|
||
|
||
[https://yourusername.github.io/GoodDick](https://yourusername.github.io/GoodDick)
|
||
|
||
## 本地部署 | Local Deployment
|
||
|
||
如果你想在本地运行此项目,请按照以下步骤操作:
|
||
If you want to run this project locally, follow these steps:
|
||
|
||
```bash
|
||
# 克隆项目 | Clone the repository
|
||
git clone https://github.com/zzzdajb/DickHelper.git
|
||
|
||
# 进入项目目录 | Enter the project directory
|
||
cd GoodDick
|
||
|
||
# 安装依赖 | Install dependencies
|
||
npm install
|
||
|
||
# 启动开发服务器 | Start development server
|
||
npm run dev
|
||
```
|
||
|
||
## 云端部署 | Cloud Deployment
|
||
|
||
本项目是纯前端应用,可以轻松部署到各种静态网站托管平台。以下是两个推荐的免费托管方案:
|
||
This is a frontend-only application that can be easily deployed to various static site hosting platforms. Here are two recommended free hosting solutions:
|
||
|
||
### Cloudflare Pages
|
||
|
||
1. 在 GitHub 上创建仓库并推送代码
|
||
Create a repository on GitHub and push your code
|
||
|
||
2. 登录 [Cloudflare Pages](https://pages.cloudflare.com)
|
||
Login to Cloudflare Pages
|
||
|
||
3. 点击 "Create a project" 并选择你的 GitHub 仓库
|
||
Click "Create a project" and select your GitHub repository
|
||
|
||
4. 配置构建设置 | Configure build settings:
|
||
- Build command: `npm run build`
|
||
- Build output directory: `dist`
|
||
- Framework preset: `Vite`
|
||
- Deploy command: `npm run build`(与构建命令相同)
|
||
|
||
5. 点击 "Save and Deploy"
|
||
Click "Save and Deploy"
|
||
|
||
### Vercel
|
||
|
||
1. 在 GitHub 上创建仓库并推送代码
|
||
Create a repository on GitHub and push your code
|
||
|
||
2. 登录 [Vercel](https://vercel.com)
|
||
Login to Vercel
|
||
|
||
3. 点击 "New Project" 并导入你的 GitHub 仓库
|
||
Click "New Project" and import your GitHub repository
|
||
|
||
4. 保持默认配置即可,Vercel 会自动检测 Vite 项目
|
||
Keep the default configuration, Vercel will automatically detect Vite project
|
||
|
||
5. 点击 "Deploy"
|
||
Click "Deploy"
|
||
|
||
部署完成后,这两个平台都会提供一个可访问的URL。你可以选择使用自己的域名。
|
||
After deployment, both platforms will provide an accessible URL. You can choose to use your own domain name.
|
||
|
||
## 技术栈 | Tech Stack
|
||
|
||
- React 19.0.0
|
||
- TypeScript 5.7.2
|
||
- Vite 6.1.0
|
||
- Material-UI 6.4.5
|
||
- Chart.js 4.4.7
|
||
|
||
## 隐私说明 | Privacy Statement
|
||
|
||
本应用完全基于前端技术构建,所有数据均存储在用户本地浏览器中,不会上传到任何服务器。您可以放心使用而无需担心隐私问题。
|
||
|
||
This application is entirely frontend-based. All data is stored in your local browser and will never be uploaded to any server. You can use it with confidence without privacy concerns.
|
||
|
||
## 项目维护说明 | Maintenance Statement
|
||
|
||
⚠️ 请注意:本项目由AI工具Trae编写,原作者可能没有持续维护的能力。欢迎社区贡献者参与改进。
|
||
|
||
⚠️ Note: This project was written by AI tool Trae, and the original author may not have the ability to maintain it continuously. Community contributors are welcome to participate in improvements.
|
||
|
||
## 许可证 | License
|
||
|
||
还没想好,反正开源,后续再加
|