Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fast, reliable short links generator using 404 page. Create and manage unlimited short URLs with ease.

License

Notifications You must be signed in to change notification settings

harys722/url-shortener

Repository files navigation

URL Shortener

This is a simple short URL generator that uses only one page to handle all short URLs called 404 page. Yes, 404 page can handle all short links and create short URLs. This is a nerd technique that is very useful trick.

How it works

  1. Fork and star this repository.
  2. Enable GitHub Pages or choose any other hosting service, such as Netlify or Vercel.
  3. Edit your links.json file:
    {
     "example": "https://example.com/",
     "google": "https://google.com/"
     "github": "https://github.com/"
    }
  4. 404 page handles all the short links.
  5. Share your short links: https://yourdomain.com/example
  6. Users get redirected instantly to the target URL!

About

Fast, reliable short links generator using 404 page. Create and manage unlimited short URLs with ease.

Topics

Resources

License

Stars

Watchers

Forks

AltStyle によって変換されたページ (->オリジナル) /