本文由 GitRead 中文社区 使用 AI 辅助生成,基于项目 README 与公开资料整理成中文解读, 并结合中文开发者的常见使用场景补充技术选型参考。内容可能存在疏漏,具体以项目官方文档为准。
深度解析 JOYCEQL/magic-resume 项目
项目背景与痛点
在简历制作领域,尤其是在技术人才的求职过程中,制作一份引人注目的简历是至关重要的。尽管市场上已经存在一些在线简历制作工具,这些工具通常在设计和个性化定制方面存在局限性,同时对用户的技术背景要求较高,并非所有用户都能轻松上手。JOYCEQL/magic-resume 作为一款免费的基于 AI 的在线简历编辑器,旨在解决这个问题。通过其简洁易用的界面,magic-resume 能够帮助用户在短时间内生成高质量的简历,同时并不牺牲个人化的定制选项。
graph TD
A[前端用户请求] --> B{"参数校验"}
B -->|"通过"| C[执行前端操作]
B -->|"失败"| D[发送错误消息]
C --> E[接入后端服务]
E --> F[处理业务逻辑]
F --> G{"数据处理"}
G -->|"存储数据"| H[数据存储备份]
G -->|"返回结果"| I[构建简历响应]
I --> J[前端展示简历]
K[静态资源管理] --> L[Webpack 打包]
K --> M[ESLint检查]
L --> N[页面源码]
L --> O[API接口]
M --> O
Magic Resume is a modern online resume editor that makes creating professional resumes simple and enjoyable. Built with TanStack Start and Framer Motion, it supports real-time preview and custom themes.
❤️ Other Sponsors
If you sponsored this project but are not listed here, please contact me.
📸 Screenshots
✨ Features
🚀 Built with TanStack Start
💫 Smooth animations (Framer Motion)
🎨 Custom theme support
📱 Responsive design
🌙 Dark mode
📤 Export to PDF
🔄 Real-time preview
💾 Auto-save
🔒 Local storage
🛠️ Tech Stack
TanStack Start
TypeScript
Motion
Tiptap
Tailwind CSS
Zustand
Shadcn/ui
Lucide Icons
🚀 Quick Start
Clone the project
git clone [email protected]:JOYCEQL/magic-resume.git
cd magic-resume
Install dependencies
pnpm install
Start development server
pnpm dev
Open browser and visit http://localhost:3000
OrcaRouter (optional AI provider)
Select OrcaRouter in AI Providers, register through the Magic Resume referral link, then sign in with OrcaRouter or enter your own API key. Fetch the model list, select a model, and test the connection.
This is a partner referral link. Magic Resume may earn a commission on eligible usage by referred sign-ups. Other providers remain available. OAuth sign-in also carries the same referral code for new sign-ups during authorization.
App usage attribution is separate from sign-up referral attribution. Obtain the real app_id from the partner console’s Integration page, set VITE_ORCA_APP_ID at build time, and register the exact deployment callback URL, such as https://magicv.art/auth/orcarouter/callback. Local development uses http://localhost:3000/auth/orcarouter/callback. Without an app_id, app usage attribution is not configured. This variable is a public application identifier, never an API key. See the OrcaRouter partner app documentation.
For local development, set VITE_ORCA_APP_ID in .env.local and restart the dev server. For GitHub Actions, add the repository variable under Settings → Secrets and variables → Actions → Variables; both Cloudflare and Docker publishing pass it at build time. Docker Compose reads the build argument from the shell or .env. For a direct build, use docker build --build-arg VITE_ORCA_APP_ID="$VITE_ORCA_APP_ID" -t magic-resume .. This identifier is embedded in the frontend build; setting it only on a running container has no effect. Leave it unset until the real value is available.
📦 Build and Deploy
pnpm build
AI provider networking
Cloudflare Workers use the platform’s native fetch and do not need an application-level proxy. For Node.js or Docker deployments in regions that cannot directly reach OpenAI, Gemini, or Anthropic, set AI_PROXY_URL. HTTPS_PROXY and HTTP_PROXY are also supported as fallbacks.
AI_PROXY_URL=http://127.0.0.1:7890
DeepSeek, Qwen, and Doubao continue to use a direct connection.
🐳 Docker Deployment
Docker Compose
Ensure you have Docker and Docker Compose installed
Run the following command in the project root directory:
docker compose up -d
This will:
Automatically build the application image
Start the container in the background
📝 License and Usage Restrictions
The source code of this project is released under the Apache 2.0 license with an additional non-commercial use restriction:
Free for Personal Use: Free to use purely for personal, non-commercial purposes (e.g., personal learning, creating your own resume).
Commercial Use Prohibited: The project may not be used for any commercial purpose, including providing it as a paid or profit-generating service (such as SaaS/PaaS), enterprise commercial operations, resale, or secondary commercial development, regardless of whether the source code has been modified.
评论