DEV Community

Discussion on: Building a Simple URL Shortener With Just HTML and Javascript

Collapse
 
bauripalash profile image
Palash Bauri πŸ‘»

Actually I have plans for rewriting this month. I hope it will be soon.

I have only used jQuery for sending and fetching json requests. Which could be easily converted to Vanilla, infact I didn't use jQuery for the production. Meanwhile You can check that out the source and find your answers

GitHub logo bauripalash / fossurl

Your Own Url Shortner Without any fancy server side processing and support for custom url , which can even be hosted on GitHub Pages

. .

🌐 Open fossurl.ml

What is Fossurl

Fossurl is an simple URL Shortener Which Can Be Hosted For Free in Github/Gitlab Pages or in Static Site Hosting Service and It doesn't need you to buy any server!

🎯 Goal

Implementing a Simple URL Shortner which can be used without need of any hardcore server side processing and can be hosted on Static Site Hostings such as GitHub/Gitlab Pages

πŸ’» Stack

  • HTML
  • CSS
  • JavaScript
  • Database : jsonbox.io (Previously , jsonstore was used but several downtimes forced me to switch to jsonbox)

πŸ› οΈ Features

  • It's fast
  • It doesn't require any hosting server
  • You can use it just by forking the repo and running a script

πŸ‘» Wanna Help Improve It?

Steps:

  • Fork This Repo
  • Clone On Your Device or Open in Gitpod
  • On Linux cd to src direcotory and on Windows do whatever it's neccesary to change directory to src
  • If you're on…