An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
(web-app)Open-Source URL-Shortener built using Python.
How it started.
Hey there.
Long story short , I recently joined here and I came over a post by @liyasthomas where he created a URL-SHORTNER which is open-source. As a person learning web development I was fascinated by it. But the thing that I noticed while going through the GitHub repo was that he have clearly mentioned not to put any sensitive links as all the links are publicly visible.
So I decided to make my own version of it but with some personal touches.
With my previous experiences in Python I already knew to write a script which can shorten a URL using some Python modules. So I sat down to make it into a web-app using Flask. Hence Small-Heart was born.
Demo
Check out a live demo of it here .
Small-Heart
Note -- The site is hosted using Heroku's free version so increased traffic can make the site lag a bit.
Features :
- Yes it is Open-Source. You can check it out here on GitHub.
- Simple UI(not the best).
- No account creation or login required.
Cons :
- Currently in its 1st version(as of 1/23/2022).
- Not a fully responsive web-design.
Behind the scenes
Small-Heart is created using Flask as mentioned already.
A python module named pyshorteners is used to shorten the URL.
Last but not least a bit of JavaScript is used in the web page to make it much more user friendly(at least to an extent).
I clearly want to mention that the inspiration of this project entirely came from @liyasthomas . I surely recommend everyone to check out his post as well.
With that said I would love to know all of your suggestions and opinions on this. If you are interested in making any changes or improvements to it , feel free to check out the GitHub repo -- Small-Heart.Simply star it if you like the idea, it will encourage me to do a lot more of projects. And always Stay Safe and Keep Coding.
Original Link: https://dev.to/iamaswin/web-appopen-source-url-shortner-built-using-python-36e4
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To