DEV Community

loading...
Cover image for Url Shortner (Cuts your url)

Url Shortner (Cuts your url)

Ankit warbhe
I'm pursuing B.Tech in CS Engineering.I'm a programmer and a passionate learner who's always willing to learn and work .
Updated on ・1 min read

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 littleurl / 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

Discussion (0)

Forem Open with the Forem app