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.
- 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 link
GET /{shortCode}
- Redirect to original URL
GET /{shortCode}/status
- View shortlink status
GET /{shortCode}.ics
- Download iCal calendar file
GET /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