• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
stevekrouse

stevekrouse

twitter-lookup

Public
Like
twitter-lookup
Home
Code
4
backend
1
frontend
1
README.md
index.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
10/1/2025
Viewing readonly version of main branch: v11
View latest version
README.md

URL Redirect Revealer

A web application that reveals where shortened URLs actually redirect to.

Project Structure

├── backend/
│   └── index.ts             # Hono server with HTTP trigger
├── frontend/
│   └── components/
│       └── Page.tsx         # Main React component
├── index.tsx                # Original file (no longer used)
└── README.md

Components

Backend (/backend/index.ts)

  • HTTP Trigger: Main entry point for the web application
  • Hono Server: Handles GET and POST requests
  • Form Processing: Processes URL submissions and fetches redirect information
  • Server-Side Rendering: Renders the React component to HTML

Frontend (/frontend/components/Page.tsx)

  • React Component: Main UI component with TypeScript interfaces
  • Form Interface: Input form for URL submission
  • Results Display: Shows original URL and redirect destination
  • Error Handling: Displays error messages when URL fetching fails

Features

  • 🔍 Reveals redirect destinations for shortened URLs
  • 📱 Responsive design with Tailwind CSS
  • ⚡ Server-side rendering for fast initial load
  • 🛡️ Error handling for invalid URLs
  • 🎨 Clean, modern UI

Usage

  1. Enter a shortened URL (e.g., https://t.co/example)
  2. Click "Reveal Redirect"
  3. View the original URL and its redirect destination

Technical Details

  • Framework: Hono for server-side routing
  • UI: React with TypeScript
  • Styling: Tailwind CSS via Twind
  • Rendering: Server-side rendering with React DOM
  • HTTP Method: Uses HEAD requests to avoid downloading full content
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.