Public
Like
icalEvents
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.
Viewing readonly version of main branch: v30View latest version
A URL shortener service that creates short links and generates iCal calendar files from web page events using GPT-4.
- Create short links for any URL
- View shortlink status and analytics
- Generate iCal calendar files from web page content using GPT-4
- SQLite database with Drizzle ORM for data persistence
- Caching for improved performance
POST /shorten
- Create a new short linkGET /{shortCode}
- Redirect to original URLGET /{shortCode}/status
- View shortlink statusGET /{shortCode}.ics
- Download iCal calendar file
- POST to
/shorten
with{ "url": "your-url-here" }
- Use the returned short code to access the link or calendar
- Access
/{shortCode}.ics
to get calendar events from the page
- Hono for API framework
- Drizzle ORM with SQLite
- OpenAI GPT-4 for event extraction
- TypeScript for type safety