FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
purplesquirrelmedia
purplesquirrelmediaFarcasterBTC2025
Remix of purplesquirrelmedia/MiniAppStarter
Public
Like
FarcasterBTC2025
Home
Code
10
.vscode
1
backend
6
frontend
5
.vtignore
README.md
TODO.txt
deno.json
H
index.ts
luma-events-calendar.md
H
luma-events-calendar.ts
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
luma-events-calendar.md
Code
/
luma-events-calendar.md
Search
5/20/2025
luma-events-calendar.md

Luma Events Calendar with Townie Authentication

This Val Town function creates a calendar-style page displaying upcoming Luma events with Farcaster authentication via Townie.

Features

  • 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

How It Works

  1. When a user visits the page, they are prompted to log in with their Farcaster account if not already authenticated
  2. After authentication, they see a calendar of upcoming Luma events
  3. Each event displays:
    • Title
    • Date and time
    • Description
    • RSVP button linking to the Luma event page
  4. The RSVP links are pre-filled with the user's name and email when available from their Farcaster profile

Technical Details

  • 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

Implementation Notes

  • 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

Future Improvements

  • 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
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesVersion controlCLIAI agentsCode intelligenceSlack integrationsGTMPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.