/go

a super fast url shortener with html

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

go

A super fast url shortener in HTML and Js. Basically a scaled down version of my old one. Also has a ui to make shortened urls, which add the redirect data to the json database, which uses my Github database algorithm.

Much faster than old p5js one

  • left bottom is old one, top right is new one

Main features

  • Rapid redirecting (probably comparable to tinyurl.com and bit.ly)
  • Average redirect time of <0.7 sec
  • Auto https:// adding (will work with or without https:// at beginning or redirect url)
  • Sourcing from json file
  • In future, adding redirects using a ui, github API, and github actions, like this

Usage

  • edit redirects.json file
  • change urls and redirects

Comparison to my old one

  • Pros
    • Much faster because doesnt have to load p5js
  • Cons
    • Uses json instead of csv (harder to edit)
    • No password redirect protection