Public
Likedpiscal
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.
A Val Town application that fetches and displays Google Calendar events with translation support.
├── backend/
│ └── index.ts # Main Hono app with routes
├── shared/
│ └── calendar.ts # Shared calendar parsing and HTML generation
├── index.ts # Entry point (redirects to backend)
└── README.md
GOOGLE_CALENDAR_URL- The public iCal URL for your Google Calendar
GET /- Displays formatted calendar events with translation support
GET /debug/raw-calendar- Returns the raw iCal data from Google CalendarGET /debug/parsed-events- Returns parsed events in JSON format
- Fetches events from yesterday to 2 months in the future
- Displays events in Pacific Time
- Google Translate integration with URL parameter support (
?lang=es) - Responsive design matching Givebacks style
- Debug endpoints for troubleshooting calendar data
- Set the
GOOGLE_CALENDAR_URLenvironment variable to your public Google Calendar iCal URL - Visit the main endpoint to see formatted events
- Use debug endpoints to troubleshoot calendar data issues
- Add
?lang=<language_code>to translate the page (e.g.,?lang=esfor Spanish)