DEV Community

Cover image for Url Shortner (Cuts your url)
Ankit warbhe
Ankit warbhe

Posted on • Updated on

Url Shortner (Cuts your url)

My Workflow

This Workflow allows us to execute a python file to create a URL shortener the every time user generates a JSON file and changes the urls.json File the github pages action generates a html file in gh-pages branch with github action the script is executed succesfully and hence url is shortened

Submission Category:

  • Wacky Wildcards

Yaml File or Link to Code

GitHub logo wecodeorg /

LITTLE URL (Makes your URL Short)

Additional Resources / Info

How it work's ?

It works as a url redirector the default domain is set inside the and CNAME File. The custom short url are to be placed in urls.json file which could be generated with our custom JSON Generator. As soon as the JSON file is edited with New url, github Actions does its job little url shortner workflow starts running and a new html file is generated in gh-pages branch with the url redirect.


Littleurl is MIT licensed.

Note: Shorter link for this post =>

Top comments (0)