Skip to content

all-in-aigc/aiwallpaper

Repository files navigation

AI Wallpaper

AI Wallpaper Generator by aiwallpaper.shop

Live Demo

https://aiwallpaper.shop

demo

Quick Start

  1. clone project
git clone https://github.com/all-in-aigc/aiwallpaper
  1. install dependencies
cd aiwallpaper
pnpm install
  1. init database

create your database use local postgres or vercel-postgres or supabase

create tables from sql at data/install.sql

  1. 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=""
  1. local development
pnpm dev

open http://localhost:3000 for preview

Credit to

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