MCPcopy
hub / github.com/all-in-aigc/aicover

github.com/all-in-aigc/aicover @main sqlite

repository ↗ · DeepWiki ↗
57 symbols 197 edges 43 files 0 documented · 0%
README

AI Cover

AI Cover Generator by aicover.design

中文说明

Live Demo

https://aicover.design

demo

Quick Start

  1. clone project
git clone https://github.com/all-in-aigc/aicover
  1. install dependencies
cd aicover
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 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=""
  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 me a coffee.

Buy Me A Coffee

Extension points exported contracts — how you extend this code

Nav (Interface)
(no doc)
types/nav.d.ts
Cover (Interface)
(no doc)
types/cover.d.ts
ContextProviderValue (Interface)
(no doc)
types/context.d.ts
User (Interface)
(no doc)
types/user.d.ts
Order (Interface)
(no doc)
types/order.d.ts
Props (Interface)
(no doc)
components/user/index.tsx
ButtonProps (Interface)
(no doc)
components/ui/button.tsx
ContextProviderProps (Interface)
(no doc)
types/context.d.ts

Core symbols most depended-on inside this repo

getDb
called by 15
models/db.ts
cn
called by 13
lib/utils.ts
respErr
called by 12
lib/resp.ts
respData
called by 4
lib/resp.ts
respJson
called by 3
lib/resp.ts
formatCover
called by 3
models/cover.ts
genUuid
called by 2
lib/index.ts
getUserCredits
called by 2
services/order.ts

Shape

Function 48
Interface 9

Languages

TypeScript100%

Modules by API surface

models/cover.ts9 symbols
models/order.ts6 symbols
lib/resp.ts4 symbols
models/user.ts3 symbols
types/user.d.ts2 symbols
types/context.d.ts2 symbols
services/order.ts2 symbols
lib/s3.ts2 symbols
contexts/AppContext.tsx2 symbols
components/input/index.tsx2 symbols
app/(default)/pricing/page.tsx2 symbols
types/order.d.ts1 symbols

Dependencies from manifests, versioned

@clerk/nextjs4.29.5 · 1×
@heroicons/react2.1.1 · 1×
@radix-ui/react-avatar1.0.4 · 1×
@radix-ui/react-dropdown-menu2.0.6 · 1×
@radix-ui/react-slot1.0.2 · 1×
@stripe/stripe-js2.4.0 · 1×
@types/node20 · 1×
@types/pg8.11.0 · 1×
@types/react18 · 1×
@types/react-dom18 · 1×
@types/uuid9.0.8 · 1×
@vercel/analytics1.1.2 · 1×

For agents

$ claude mcp add aicover \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact