956f1aeadbb8eba2832b89234cee6494dd2f2b05
- Create monorepo structure with apps/ and packages/ - Add Docker Compose for api, web, db, redis, worker services - Migrate existing Express.js logic to TypeScript with 100% backward compatibility - Preserve all existing API endpoints (/api/track, /api/v1/track) with identical behavior - Setup development environment with hot reload and proper networking - Add comprehensive TypeScript configuration with path mapping - Include production-ready Dockerfiles with multi-stage builds - Maintain existing rate limiting (100 req/hour/IP) and response formats - Add health checks and graceful shutdown handling - Setup Turbo for efficient monorepo builds and development
URL Redirect Tracker
A simple web application that tracks all intermediate redirects from an input URL to the final landing page.
Features
- Tracks all redirects from the initial URL to the final destination
- Displays the time in milliseconds for each redirect
- Marks non-SSL (non-HTTPS) redirects with red
- Shows a complete redirect chain with timing information
Installation
- Clone this repository
- Install dependencies:
npm install - Start the server:
npm start - Open your browser and navigate to
http://localhost:3333
How to Use
- Enter a URL in the input field (e.g.,
http://example.comorexample.com) - Click the "Track Redirects" button
- View the complete redirect chain, including timing information
- Non-SSL (HTTP) redirects will be marked in red
Technical Details
- Built with Node.js and Express
- Uses Axios for making HTTP requests and following redirects
- Frontend built with vanilla JavaScript, HTML, and CSS
- Server runs on port 3333
License
MIT
Description
Languages
TypeScript
71.6%
JavaScript
18.2%
Handlebars
3.1%
Shell
2.8%
CSS
1.9%
Other
2.4%