Skip to content

Website & marketplace for the ClawRecipes plugin. Search, download, & contribute custom AI Agent recipes to share with the community

Notifications You must be signed in to change notification settings

JIGGAI/ClawMarket

Repository files navigation

ClawMarket (clawkitchen.ai)

Next.js app for the ClawKitchen marketing site + marketplace (recipes + UGC submissions/moderation).

Stack

  • Next.js (App Router)
  • Tailwind CSS

Pages

  • / — landing
  • /marketplace — marketplace home
  • /marketplace/submit — authenticated recipe submission
  • /marketplace/submissions — “your submissions”
  • /admin/submissions — moderation queue (requires session.role=moderator|admin)

Local dev

  1. Copy env:
cp .env.example .env
  1. Install + run:
npm install
npm run dev

Auth + admin seeding

  • OAuth providers are enabled only if their AUTH_*_ID + AUTH_*_SECRET env vars are set.
  • To test moderation, set:
    • ADMIN_EMAILS="you@example.com"
    • sign in with that same email (it will be auto-promoted to role=admin on sign-in).

Build / lint

npm run lint
npm run build

Notes:

  • npm run build runs scripts/build.sh.
  • If DATABASE_URL is Postgres (postgres:// / postgresql://), the build will run prisma migrate deploy (and prisma generate) before next build.

Deploy (Vercel)

  1. Push this repo to GitHub.
  2. In Vercel: New Project → Import the repo.
  3. Framework preset: Next.js (defaults are fine).

Canonical URL (important for metadata/OG)

Set one of these in Vercel project env vars:

  • NEXT_PUBLIC_SITE_URL (recommended; e.g. https://clawcipes.dev)

If NEXT_PUBLIC_SITE_URL is not set, the app will fall back to Vercel’s VERCEL_URL for preview deployments.

Notes

  • Marketplace UGC “published recipes” are sourced from the DB and merged into the public recipes API.
  • Current UGC detail slugs are generated on submit and stored on Submission.slug (API also accepts legacy id during the migration window).

About

Website & marketplace for the ClawRecipes plugin. Search, download, & contribute custom AI Agent recipes to share with the community

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published