Template for jumpstarting production-ready Farcaster frames quickly.
— no fuss, all fun!
- Seamless Integration: Easily create frames for Farcaster with Rust's performance.
- Rapid Deployment: Utilize Vercel for quick and effortless deployment of your frames.
- Local Testing Support: Includes setup for
localtunnelto facilitate easy local testing and development.
Ensure you have the following installed to use this template effectively:
- Rust and Cargo
- Localtunnel
- Vercel CLI
-
Clone the repository to get started:
git clone https://github.com/jpgonzalezra/farcaster-frames-template.git cd farcaster-frames-template -
Install
vercelglobally:npm install -g vercel
Use the provided Makefile to streamline the local development process:
- when you run
make devif you do not have "localtunnel" installed it is installed
make devEach time you run make dev, a unique URL is generated, such as https://{something}.loca.lt. This URL can be directly copied and used to test your frame with the Warpcast Embed Tools, significantly streamlining the development and testing workflow.
Deploy your frame to Vercel with ease:
- Log in to your Vercel account through the CLI:
vercel login- Deploy your project with Vercel:
vercelFollow the prompts to link and deploy your project.
We welcome contributions to improve this template further. Please feel free to submit pull requests or open issues with your suggestions and feedback.