开源推荐
evening
GitHub 热门项目: open-loved
2026-07-05
1 阅读
约7分钟阅读
GitHub Trending
字号:
GitHub 项目:open-loved
仓库地址:https://github.com/firecrawl/open-lovable
星级:27317 | 作者:火爬行
项目描述:🔥 在几秒钟内克隆并重新创建任何网站作为现代 React 应用程序
===================================================
自述文件内容:
#打开可爱
与 AI 聊天,立即构建 React 应用程序。由 [Firecrawl](https://firecrawl.dev/?ref=open-lovable-github) 团队制作的示例应用程序。如需完整的云解决方案,请查看 [Lovable.dev](https://lovable.dev/)❤️。
<图片src =“https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExbmZtaHFleGRsMTNlaWNydGdianI4NGQ4dH hyZjB0d2VkcjRyeXBucCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/ZFVLWMa6dVskQX0qu1/giphy.gif" alt="打开可爱演示" width="100%"/>
## 设置
1. **克隆并安装**
````bash
git 克隆 https://github.com/firecrawl/open-lovable.git
CD打开-可爱
pnpm install # 或 npm install/yarn install
````
2. **添加`.env.local`**
```环境
# ===================================================================
# 必填
# ===================================================================
FIRECRAWL_API_KEY=your_firecrawl_api_key # https://firecrawl.dev
# ===================================================================
# AI 提供商 - 选择您的法学硕士
# ===================================================================
GEMINI_API_KEY=your_gemini_api_key # https://aistudio.google.com/app/apikey
ANTHROPIC_API_KEY=your_anthropic_api_key # https://console.anthropic.com
OPENAI_API_KEY=your_openai_api_key # https://platform.openai.com
GROQ_API_KEY=your_groq_api_key # https://console.groq.com
# ===================================================================
# 快速应用(可选 - 加快编辑速度)
# ===================================================================
MORPH_API_KEY=your_morphllm_api_key # https://morphllm.com/dashboard
# ===================================================================
# 沙盒提供商 - 选择其中之一:Vercel(默认)或 E2B
# ===================================================================
SANDBOX_PROVIDER=vercel # 或 'e2b'
# 选项 1:Vercel 沙盒(默认)
# 选择一种身份验证方法:
# 方法A:OIDC Token(推荐用于开发)
# 运行 `vercel link` 然后运行 `vercel env pull` 自动获取 VERCEL_OIDC_TOKEN
VERCEL_OIDC_TOKEN=auto_ generated_by_vercel_env_pull
# 方法 B:个人访问令牌(用于生产或 OIDC 不可用时)
# VERCEL_TEAM_ID=team_xxxxxxxxx # 您的 Vercel 团队 ID
# VERCEL_PROJECT_ID=prj_xxxxxxxxx # 您的 Vercel 项目 ID
# VERCEL_TOKEN=vercel_xxxxxxxxxxxx # Vercel 仪表板的个人访问令牌
# 选项 2:E2B 沙箱
# E2B_API_KEY=your_e2b_api_key # https://e2b.dev
````
3. **运行**
````bash
pnpm dev # 或 npm run dev/yarn dev
````
打开[http://localhost:3000](http://localhost:3000)
## 许可证
麻省理工学院
这篇文章对您有帮助吗?
订阅66必读
每日精选科技资讯,直达你的邮箱