Mini apps are web apps built with HTML, CSS, and Javascript that can be discovered
and used within Farcaster clients. You can use an SDK to access native
Farcaster features, like authentication, sending notifications, and interacting
with the user’s wallet.
Once enabled, a developer section will appear on the left side of your desktop display
Developer mode unlocks tools for creating manifests, previewing your mini app, auditing your manifests and embeds, and viewing analytics. We recommend using it on desktop for the best development experience.
For new projects, you can set up an app using the
@farcaster/create-mini-app
CLI. This will prompt you to set up a project for your app.
npm create @farcaster/mini-app
pnpm create @farcaster/mini-app
yarn create @farcaster/mini-app
Remember, you can use whatever your favorite web framework is to build Mini
Apps so if these options aren’t appealing you can setup the SDK in your own
project by following the instructions below.
If you’re not using a package manager, you can also use the MiniApp SDK via an
ESM-compatible CDN such as esm.sh. Simply add a <script type="module"> tag to
the bottom of your HTML file with the following content.
<script type="module"> import { sdk } from 'https://esm.sh/@farcaster/miniapp-sdk'</script>
This entire site is converted into a single markdown doc that can fit inside
the context window of most LLMs. See The /llms.txt file
standards proposal for more information.