欢迎为 AskOnce 项目贡献力量!/ Welcome to contribute to AskOnce!
- 如何贡献 / How to Contribute
- 开发环境设置 / Development Environment Setup
- 项目结构 / Project Structure
- 代码规范 / Code Standards
- 许可证 / License
- 使用 GitHub Issues 报告 bug 或功能请求 / Use GitHub Issues to report bugs or feature requests
- 描述问题的详细信息,包括复现步骤 / Describe the issue in detail, including reproduction steps
- 附上相关截图或日志 / Attach relevant screenshots or logs
- Fork 项目 / Fork the project
- 创建特性分支 / Create feature branch (
git checkout -b feature/amazing-feature) - 提交更改 / Commit changes (
git commit -m 'Add amazing feature') - 推送分支 / Push branch (
git push origin feature/amazing-feature) - 打开 Pull Request / Open a Pull Request
- 使用有意义的变量名 / Use meaningful variable names
- 添加适当的注释 / Add appropriate comments
- 确保代码通过 ESLint 检查 / Ensure code passes ESLint checks
- 编写测试用例(如果适用)/ Write test cases (if applicable)
# 克隆仓库 / Clone repository
git clone https://github.com/linuxhsj/askonce.git
cd askonce
# 安装依赖 / Install dependencies
npm install
# 启动开发服务器 / Start development server
npm run devaskonce/
├── backend/ # 后端服务 / Backend services
│ ├── node/ # Node.js Express (核心 / Core)
│ └── python/ # Python FastAPI (参考 / Reference)
├── frontend/ # Web 前端 / Web frontend
├── extension/ # 浏览器扩展 / Browser extension
├── shared/ # 共享代码 / Shared code
└── docs/ # 文档 / Documentation
- 使用 TypeScript 进行类型安全开发 / Use TypeScript for type-safe development
- 遵循 ESLint 配置规则 / Follow ESLint configuration rules
- 为函数添加类型注解 / Add type annotations to functions
- 使用清晰、描述性的提交信息 / Use clear, descriptive commit messages
- 格式 / Format:
type: descriptionfeat:新功能 / New featurefix:修复 bug / Bug fixdocs:文档更新 / Documentation updaterefactor:代码重构 / Code refactoring
feature/feature-name- 新功能 / New featuresfix/bug-name- Bug 修复 / Bug fixesdocs/description- 文档更新 / Documentation updates
MIT License - 详见 / See LICENSE
文档版本 / Document Version: v1.1 更新日期 / Updated: 2026-03-07 作者 / Author: SeekSage