2025-05-22 12:19:29 -04:00
2025-05-22 12:19:29 -04:00
2025-03-26 11:42:50 -07:00
2025-03-26 11:42:48 -07:00
2025-03-26 11:42:49 -07:00
2025-03-26 11:42:49 -07:00
2025-05-09 16:41:53 -07:00
2025-03-26 11:35:44 -07:00
2025-03-26 11:42:48 -07:00
2025-03-26 11:42:48 -07:00
2025-05-22 12:18:04 -04:00
2025-03-26 11:42:49 -07:00
2025-03-26 11:42:48 -07:00
2025-03-26 11:42:51 -07:00

Farcaster Mini Apps (formerly Frames) Quickstart by Neynar 🪐

A Farcaster Mini Apps quickstart npx script.

This is a NextJS + TypeScript + React app.

Guide

Check out this Neynar docs page for a simple guide on how to create a Farcaster Mini App in less than 60 seconds!

Getting Started

To create a new mini-app project, run:

npx @neynar/create-farcaster-mini-app@latest

To run the project:

cd <PROJECT_NAME>
npm run dev

Importing the CLI

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';

Deploying to Vercel

For projects that have made minimal changes to the quickstart template, deploy to vercel by running:

npm run deploy:vercel

Building for Production

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.

Developing Script Locally

This section is only for working on the script and template, if you simply want to create a mini-app and use the template this section is not for you.

To run the script locally just run:

node ./bin/index.js
Description
npx script to quickstart Farcaster Mini Apps (formerly frames)
Readme MIT 4.3 MiB
Languages
TypeScript 80.8%
JavaScript 17.8%
CSS 1.4%