Farcaster is an open, programmable social network designed for developers to build mini apps with integrated user authentication and financial features. Mini apps on Farcaster can be shared directly within the social feed and installed in users' primary Farcaster clients, enabling seamless access and real-time notifications from the mini apps themselves.
Learn more here: Farcaster Docs.
This project is a starter template for building and testing Farcaster mini apps:
- Hono + React + Tailwind
- React Router + React Query
- Built-in database (blob storage)
- Farcaster mini app manifest + webhook + embed metadata
- Farcaster notifications (storing tokens, sending recurring notifications, ...)
- Neynar API integration for Farcaster data
This app is a starter template for client-side React and server-side Hono.
-
Remix this starter template on the top right to get started.
-
The entrypoint is
/backend/index.ts
. That's the backend HTTP server, which also serves the all the frontend assets. -
The client-side entrypoint is
/frontend/index.html
, which in turn imports/frontend/index.tsx
, which in turn imports the React app from/frontend/App.tsx
.
React Hono Example is a fuller featured example project, with a SQLite database table, queries, client-side CSS and a favicon, and some shared code that runs on both client and server.