This project implements a Farcaster Frame that displays an engagement leaderboard for Farcaster users. It allows users to view the top engaged users in a specific channel or across all channels for different time periods.
You can see the live version of this frame at: https://frhck.vercel.app/
- View top engaged users in Farcaster
- Filter by channel (optional)
- Select timeframe (day, week, month)
- Display engagement metrics including score, recasts, and reactions
To set up this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/plotJ/farhack.git cd farhack -
Install dependencies:
npm install -
Set up environment variables: Create a
.env.localfile in the root directory and add the following:NEYNAR_API_KEY=your_neynar_api_key LUM0X_API_KEY=your_lum0x_api_key NEXT_PUBLIC_HOST=http://localhost:3000 -
Run the development server:
npm run dev -
Open http://localhost:3000/api/dev in your browser to test the frame locally.
This project is deployed on Vercel. To deploy your own version:
- Fork this repository
- Sign up for a Vercel account
- Import your forked repository to Vercel
- Set the environment variables in your Vercel project settings
- Deploy!
- Next.js
- Frog
- Lum0x SDK
- Neynar API
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.
Created by @plotJ - feel free to contact me!
