A Farcaster Mini Apps quickstart npx script.
This is a NextJS + TypeScript + React app.
To create a new frames project, run:
npx @neynar/create-farcaster-mini-app@latest
To run the project:
cd <PROJECT_NAME>
npm run dev
To invoke the CLI directly in JavaScript, add the npm package to your project and use the following import statement:
import { init } from '@neynar/create-farcaster-mini-app';
For projects that have made minimal changes to the quickstart template, deploy to vercel by running:
npm run deploy:vercel
To create a production build, run:
npm run build
The above command will generate a .env
file based on the .env.local
file and user input. Be sure to configure those environment variables on your hosting platform.