# aiwallpaper **Repository Path**: godzhan/aiwallpaper ## Basic Information - **Project Name**: aiwallpaper - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: aiwallpaper.shop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-14 - **Last Updated**: 2024-10-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AI Wallpaper AI Wallpaper Generator by [aiwallpaper.shop](https://aiwallpaper.shop) ## Live Demo [https://aiwallpaper.shop](https://aiwallpaper.shop) ![demo](./preview.png) ## Quick Start 1. clone project ```shell git clone https://github.com/all-in-aigc/aiwallpaper ``` 2. install dependencies ```shell cd aiwallpaper 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 `aiwallpaper` 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 - [gpts.works](https://gpts.works) 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 be a coffee. Buy Me A Coffee