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
- Wacky Wildcards
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.
Littleurl is MIT licensed.
I ❤️ OPEN SOURCE
Note: Shorter link for this post => https://littleurl.tech/devpost