Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/all-in-aigc/aicover
ai cover generator
https://github.com/all-in-aigc/aicover
ai aicover dalle-3
Last synced: 20 days ago
JSON representation
ai cover generator
- Host: GitHub
- URL: https://github.com/all-in-aigc/aicover
- Owner: all-in-aigc
- License: apache-2.0
- Created: 2024-01-28T15:39:37.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-18T03:06:46.000Z (about 2 months ago)
- Last Synced: 2024-10-02T02:06:13.354Z (about 1 month ago)
- Topics: ai, aicover, dalle-3
- Language: TypeScript
- Homepage: https://aicover.design
- Size: 1.78 MB
- Stars: 1,487
- Watchers: 9
- Forks: 291
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - all-in-aigc/aicover - ai cover generator (TypeScript)
README
# AI Cover
AI Cover Generator by [aicover.design](https://aicover.design)
[中文说明](/README_CN.md)
## Live Demo
[https://aicover.design](https://aicover.design)
![demo](./preview.png)
## Quick Start
1. clone project
```shell
git clone https://github.com/all-in-aigc/aicover
```2. install dependencies
```shell
cd aicover
pnpm install
```3. init database
create your database use [local postgres](https://wiki.postgresql.org/wiki/Homebrew) or [vercel-postgres](https://vercel.com/docs/storage/vercel-postgres) or [supabase](https://supabase.com/)
create tables from sql at `data/install.sql`
4. set environmental values
put `.env.local` under `aicover` root dir with values list below
```
OPENAI_API_KEY=""POSTGRES_URL=""
AWS_AK=""
AWS_SK=""
AWS_REGION=""
AWS_BUCKET=""NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/STRIPE_PUBLIC_KEY=""
STRIPE_PRIVATE_KEY=""WEB_BASE_URI=""
```5. local development
```shell
pnpm dev
```open `http://localhost:3000` for preview
## Credit to
- [aiwallpaper](https://aiwallpaper.shop) for code reference
- [nextjs](https://nextjs.org/docs) for full-stack development
- [clerk](https://clerk.com/docs/quickstarts/nextjs) for user auth
- [aws s3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html) for image storage
- [stripe](https://stripe.com/docs/development) for payment
- [node-postgres](https://node-postgres.com/) for data processing
- [tailwindcss](https://tailwindcss.com/) for page building## Other Things
you can contact me at Twitter: https://twitter.com/idoubicc
if this project is helpful to you, buy me a coffee.