GUIDE: Making an URL shorter out of free resources

Hi, today I completed my project URL shortener made from scratch and completely free. But it may have limitations. @Hrichik_Mazumder and I are the developers of this project.

To generate a shortened URL then please navigate to vem.vercel.app.

To do the same thing in the app, then scroll below.


Here to store the information or redirects, we’ve used Google sheets. There are some limits to this but it’s for learning purpose.

Here’s how it all works:

When you click the submit button, a random tag is generated that works as the id of the redirect for example:

https://vem.vercel.app/<TAG>

Next, the tag and the long URL are posted to the scripts on Google scripts, which edit the data in Google sheets. If the script returns “200” as the result (response) means the process is completed.

The same thing applies to the application.


When the user visits the short URL, then the server-side reads the tag and gives the original URL and redirected.

All the scripts excluding keys are in the GitHub repo below


Download AIA file: Project - Shortner


The application is made possible by:

  • @Taifun
    • Taifun Clipboard extension

To view the original URL using the tag, then access them with any of the below:

https://vem.vercel.app/<TAG>
https://shmo.vercel.app/<TAG>
http://xmini.tk/<TAG>

GitHub

This project is made out of free resources :blush:


Feel free to report any bugs or issues faced!

5 Likes

Update 1.1

  • Improved redirecting. Now pages will be redirected fastly than before.
  • Improved code writing.

Note: Clear the caches if you’re using in PC
You can use the service as before

1 Like

Update 1.1

  • Improved redirecting. Now pages will be redirected faster than before with the conent being displayed.
  • Improved code writing.

Note: Clear the caches if you’re using in PC
You can use the service as before

What we have improved


  • Improved security and to detect suspicious link
  • Enhanced redirect speed
  • Tag generation improved and length reduced to 4 characters
    • The characters used are A-Z a-z - _ and no custom tags will be allowed.

We are constantly working on improving this. You can view the new site at s.peico.xyz. The new-source will be published after testing :tada:.

3 Likes