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: v40View latest version
A URL shortener service that creates short links and generates iCal calendar files from web page events using GPT-4.
- Web Interface: User-friendly frontend for creating and managing short links
- 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
Visit the main page to access the web interface where you can:
- Enter URLs to shorten
- Copy generated short links
- Access status pages and download calendar files
- View API documentation
POST /shorten
- Create a new short linkGET /{shortCode}
- Redirect to original URLGET /{shortCode}/status
- View shortlink statusGET /{shortCode}.ics
- Download iCal calendar fileGET /api
- API documentation (JSON format)
- Visit the main page
- Enter a URL in the form
- Click "Shorten URL" to create a short link
- Use the generated links to access the original URL, view status, or download calendar
- 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
- Frontend: HTML, JavaScript, TailwindCSS
- Backend: Hono for API framework
- Database: Drizzle ORM with SQLite
- AI: OpenAI GPT-4 for event extraction
- Language: TypeScript for type safety