FarcasterBTC2025
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
This Val Town function creates a calendar-style page displaying upcoming Luma events with Farcaster authentication via Townie.
- Farcaster Authentication: Uses Townie to authenticate users via their Farcaster identity
- Event Calendar: Displays upcoming events in a modern, responsive calendar layout
- RSVP Integration: Provides direct links to RSVP on Luma, with user information pre-filled when available
- Responsive Design: Looks great on both desktop and mobile devices
- When a user visits the page, they are prompted to log in with their Farcaster account if not already authenticated
- After authentication, they see a calendar of upcoming Luma events
- Each event displays:
- Title
- Date and time
- Description
- RSVP button linking to the Luma event page
- The RSVP links are pre-filled with the user's name and email when available from their Farcaster profile
- Built with Hono and Townie
- Uses vanilla TypeScript and HTML/CSS for the UI
- Currently uses hardcoded event data (can be replaced with an API integration)
- Responsive design that works on all device sizes
- The function uses Townie for Farcaster authentication
- Events are currently hardcoded but can be replaced with a Luma API integration
- The RSVP links automatically include the user's name and email from their Farcaster profile when available
- The calendar view is responsive and works well on both desktop and mobile devices
- Integrate with Luma API to fetch real events
- Add filtering and search capabilities
- Implement calendar view toggle (list/grid/month view)
- Add notifications for upcoming events