• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
conrad

conrad

icalEvents

Public
Like
icalEvents
Home
Code
3
backend
4
README.md
main.tsx
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
/
README.md
Code
/
README.md
Search
7/4/2025
Viewing readonly version of main branch: v16
View latest version
README.md

URL Shortener with iCal Generation

A URL shortener service that creates short links and generates iCal calendar files from web page events using GPT-4.

Features

  • 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

API Endpoints

  • POST /shorten - Create a new short link
  • GET /{shortCode} - Redirect to original URL
  • GET /{shortCode}/status - View shortlink status
  • GET /{shortCode}.ics - Download iCal calendar file

Usage

  1. POST to /shorten with { "url": "your-url-here" }
  2. Use the returned short code to access the link or calendar
  3. Access /{shortCode}.ics to get calendar events from the page

Tech Stack

  • Hono for API framework
  • Drizzle ORM with SQLite
  • OpenAI GPT-4 for event extraction
  • TypeScript for type safety
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.