1.0.7 • Published 2 years ago
create-fframes-app v1.0.7
create-fframes-app
This is an interactive CLI to start a farcaster frames server application using Next.js and TypeScript.
Load this example frame using warpcast's frame validator:
https://create-fframes-app.vercel.app/api/example
getting started
make sure you have Node.js and npx installed, then run:
npx create-fframes-app
# or
npx create-fframes-app@latestto add a new frame applet:
npm run generate-applet my-applet
# or
yarn generate-applet my-appletlocal testing
start the development server locally:
npm run dev
# or
yarn devthen:
- click here to test image generation
- click here to test the API response
server testing
to test a live server deployment:
- deploy your fframes app on vercel
- add
FFRAMES_API_URL=https://{your-project-name}.vercel.appas an env variable and redeploy the project - test using warpcast's frame validator (paste
https://{your-project-name}.vercel.app/api/{your_applet_id})