Meme editor with a real-time community feed: publish PNGs to Instant storage, browse memes, and upvote when signed in.
-
Copy
.env.exampleto.env.local(or keep the provided values). -
Install dependencies:
npm install -
Sync schema and permissions to your Instant app (requires CLI login):
npx instant-cli@latest login npx instant-cli@latest push schema npx instant-cli@latest push perms
-
In the Instant dashboard, enable magic code auth for your app so email sign-in works.
-
Run the app:
npm run devand open http://localhost:3000.
- Set the environment variable
NEXT_PUBLIC_INSTANT_APP_IDto your Instant public app id. - Build command:
npm run build; output: Next.js default. - After changing
instant.schema.tsorinstant.perms.ts, runnpx instant-cli@latest push schema/push permsagain.
Template JPEGs live under public/assets/ alongside templates.json.