DEV Community

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

Posted on • Edited 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 / littleurl.github.io

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 short.py ie.littleurl.tech 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.

License

Littleurl is MIT licensed.

I โค๏ธ OPEN SOURCE
Note: Shorter link for this post => https://littleurl.tech/devpost

Top comments (0)