开源推荐
morning
GitHub 热门项目: aicover
摘要
GitHub项目:aicover 仓库地址:https://github。
https
com
aicover
for
PUBLIC
2026-05-24
1 阅读
GitHub Trending
GitHub 项目:aicover
仓库地址:https://github.com/all-in-aigc/aicover
星级:1807 | 作者:all-in-aigc
项目描述:ai封面生成器
===================================================
自述文件内容:
# 人工智能封面
AI 封面生成器 [aicover.design](https://aicover.design)
[中文说明](/README_CN.md)
## 现场演示
[https://aicover.design](https://aicover.design)

## 快速入门
1.克隆项目
````外壳
git 克隆 https://github.com/all-in-aigc/aicover
````
2.安装依赖项
````外壳
CD光盘
即插即用安装
````
3.初始化数据库
使用 [local postgres](https://wiki.postgresql.org/wiki/Homebrew) 或 [vercel-postgres](https://vercel.com/docs/storage/vercel-postgres) 或 [supabase](https://supabase.com/) 创建数据库
在 `data/install.sql` 处从 sql 创建表
4.设定环境值
将 `.env.local` 放在 `aicover` 根目录下,其值如下所示
````
OPENAI_API_KEY=""
POSTGRES_URL=""
AWS_AK=""
AWS_SK=""
AWS_REGION=""
AWS_BUCKET=""
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/登录
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/注册
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
STRIPE_PUBLIC_KEY=""
STRIPE_PRIVATE_KEY=""
WEB_BASE_URI=""
````
5. 地方发展
````外壳
PNPM开发
````
打开“http://localhost:3000”进行预览
## 归功于
- [aiwallpaper](https://aiwallpaper.shop) 代码参考
- [nextjs](https://nextjs.org/docs) 用于全栈开发
- [clerk](https://clerk.com/docs/quickstarts/nextjs) 用于用户身份验证
- [aws s3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html) 用于图像存储
- [stripe](https://stripe.com/docs/development) 用于付款
- [node-postgres](https://node-postgres.com/) 用于数据处理
- [tailwindcss](https://tailwindcss.com/) 用于页面构建
## 其他事情
你可以通过 Twitter 联系我:https://twitter.com/idoubicc
如果这个项目对你有帮助,请给我一杯咖啡。