A zero-config CLI to bootstrap a Base + Farcaster Mini App in seconds.
Built for developers who want to get started fast using the starterminiapp template. Available on npm.
npx starterminiapp my-mini-appThat command will:
- Clone the official starterminiapp repo
- Remove its git history
- Rename the package to your folder name
- Initialize a fresh git repo
- Install dependencies automatically
- Optionally deploy to Vercel with one command
- Print your next steps
After setup, you'll be prompted:
? Deploy to Vercel now? (y/n)
Say yes to deploy immediately, or no to deploy later.
Then, simply:
cd my-mini-app
npm run devUnder the hood, this CLI:
- Runs
git clone --depth=1 https://github.com/patnir/starterminiapp.git - Deletes
.git/ - Updates the
package.jsonname and version - Re-initializes git (
git init,git commit) - Installs dependencies via your preferred package manager (
npm,yarn, orpnpm) - Prompts you to deploy to Vercel (optional, skip if you want)
- Prints friendly "next steps" instructions
You can open bin/index.mjs to see the full logic β it's less than 100 lines and dependency-free.
After running npx starterminiapp my-app, you'll be asked if you want to deploy immediately. This runs npm run deploy which deploys to Vercel with pre-configured settings from vercel.json.
If you skip deployment during setup, you can deploy anytime:
cd my-mini-app
npm run deployOr use the Vercel CLI directly:
npx vercel --yes --prodNote: You'll be prompted to authenticate with Vercel on your first deployment.
Use starterminiapp if you want a ready-to-ship Base + Farcaster Mini App starter, pre-configured with:
- Next.js
- Base / Farcaster integration setup
- Clean developer experience and project structure
Once you've bootstrapped your app, use miniappassets.com to generate your mini app assets:
- Icon, hero, and splash screen generation
- Manifest-compliant sizes (icon, hero, splash)
- Automatic
.well-known/farcaster.jsonmanifest generation - Download ready-to-use assets for your
public/folder
MIT Β© Rahul Patni
If this CLI helped you, consider starring the repos:
Want to help maintain or improve this CLI? Check out CONTRIBUTING.md for development setup, publishing instructions, and more.