FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
loading
loadingtest-project
Public
Like
test-project
Home
Code
4
backend
2
frontend
2
shared
1
README.md
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
/
Code
/
Search
README.md

Link Shortener

A simple URL shortener built on Val Town.

Features

  • Shorten long URLs to compact, shareable links
  • Redirect from shortened URLs to original destinations
  • View statistics for your shortened links
  • Simple, clean interface

Project Structure

  • /backend - Hono API for URL shortening and redirects
  • /frontend - User interface for the link shortener
  • /shared - Shared types and utilities

How to Use

  1. Enter a URL in the input field
  2. Click "Shorten"
  3. Copy and share your shortened URL

Technologies

  • TypeScript
  • Hono (API framework)
  • SQLite (for storage)
  • Tailwind CSS (for styling)
Code
backendfrontendsharedREADME.md
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.