A minimal Farcaster Mini App (Todo list) with a locally served manifest at /.well-known/farcaster.json and a simple static UI.
- Ensure Node.js is installed.
- In this folder, run:
node server.js - Open
http://localhost:3000/in your browser.
- Le projet inclut
vercel.jsonqui réécrit:/verspublic/index.html/.well-known/farcaster.jsonverspublic/.well-known/farcaster.json- toutes les autres routes vers
public/*
- Étapes:
- Pousser le dépôt sur GitHub.
- Sur Vercel, créer un « New Project » et importer le dépôt.
- Aucun build requis; déploiement statique via
vercel.json. - Mettre à jour
public/.well-known/farcaster.json→homeUrlavec ton domaine Vercel (ex:https://ntmfar.vercel.app/). - Vérifier
https://<ton-domaine>/.well-known/farcaster.json.
- Update
public/.well-known/farcaster.jsonwith your app’s details and production domain. - Required fields under
miniapp:version,name,homeUrl,iconUrl. - Optional fields like
subtitle,description,tags,primaryCategory, etc., can improve discovery.
- When deploying, host the manifest at
/.well-known/farcaster.jsonon your chosen domain as required by Farcaster Mini Apps. - Alternatively, use Farcaster Hosted Manifests and set up a redirect to the hosted manifest URL.
- Required:
version,name,homeUrl,iconUrl - Recommended:
subtitle,description,ogImageUrl,primaryCategory,tags
- This local setup uses placeholder images for
iconUrlandsplashImageUrl. Replace with your own compliant assets before publishing. - The app stores todos in
localStoragefor simplicity.