# developer_tools **Repository Path**: dev11/developer_tools ## Basic Information - **Project Name**: developer_tools - **Description**: 开发者工具, 提供 JSON XML 格式化, OCR识别等 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-17 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 开发者工具网站 功能齐全的开发者工具集合网站,包含21个核心功能模块。 ## 技术栈 ### 前端 - Next.js 14 (App Router) - TypeScript - Ant Design - Tailwind CSS ### 后端 - Python FastAPI - Tesseract OCR (图片转文字) - Pydantic (数据验证) ## 功能列表 ### 格式化工具 - JSON格式化 - XML格式化 - SQL解析图 ### 编码/解码工具 - Unicode编码 - URL编码解码 - Base64加密 ### 加密工具 - MD5加密 - RSA加密 ### 表达式工具 - 正则表达式 - Cron表达式 ### 转换工具 - 二维码生成 - 驼峰转换 ### 翻译工具 - 在线翻译 - 数据库字段翻译 - 专业术语翻译 - 首字母翻译 ### 内容工具 - 在线开发文档 - 面试题 - 快速编程 ### 其他工具 - 图片转文字 (OCR) - 公共参数下载 ## 项目结构 ``` developer_tools/ ├── web/ # Next.js 前端 ├── python/ # FastAPI 后端 ├── public/ # 静态资源 └── README.md ``` ## 快速开始 ### 前端开发 ```bash cd web npm install npm run dev ``` 前端将在 http://localhost:3000 运行 ### 后端开发 ```bash cd python pip install -r requirements.txt uvicorn app.main:app --reload ``` 后端将在 http://localhost:8000 运行 ### 环境变量 创建 `frontend/.env.local`: ``` NEXT_PUBLIC_API_URL=http://localhost:8000 ``` 创建 `backend/.env`: ``` TRANSLATION_API_KEY=your_api_key_here TRANSLATION_API_URL=https://api.translate.example.com ``` ## OCR功能配置 OCR功能需要安装Tesseract OCR: **macOS:** ```bash brew install tesseract tesseract-lang ``` **Ubuntu/Debian:** ```bash sudo apt-get install tesseract-ocr tesseract-ocr-chi-sim tesseract-ocr-eng ``` **Windows:** 下载并安装 [Tesseract OCR](https://github.com/UB-Mannheim/tesseract/wiki) ## 部署 ### 前端部署 ```bash cd web npm run build npm start ``` ### 后端部署 使用Docker: ```bash docker build -t developer_tools_python:v1 . docker run -p 8000:8000 developer_tools_python:v1 ``` ## 许可证 MIT