modihere / shortweb Goto Github PK
View Code? Open in Web Editor NEWBasic url shortener.
License: MIT License
Basic url shortener.
License: MIT License
So, instead of a static SITE_URL, it should fetch the server from the current URL.
To write test cases for existing views.
Now even if a URL is shortened the shortener again shorts it and generates a different link. But that is not of any use as the URL is already shorted by some other shortening services.
Just like once bit.ly shorts a URL if the shorted URL is typed into goo.gl site it shows invalid URL or link already shortened.
It would be good if we had some service like that.
The field accepts anything typed into it. Add a check for proper website.
Everytime the same url is shortened, different short-url pops up. We will have to resolve this by showing same short-url whenever the same url is asked by the user to be shortened.
The idea in my mind is to store the short-url to database and then fetch it whenever needed.
Implementing it is a tad difficult i think.
Any other suggestions are also welcome.
Create bar chart that could be used to track analytics for URLs used.
Since the default settings.py file is changed to settings.py.example after removing SECRET_KEY.
It is giving import error while running the project.
Readme files need to be updated accordingly with instructions how to setup settings.py file from settings.py.example file.
If an user copies an URL "A" and shortens it using alias "X", now if another user copies URL "B" and gives it the same alias name "X". Then the newly shortened URL still points to the URL "A" and the pointer to URL "B" is lost i.e. URL "B" is not shortened although it shows on the website as URL "B" is shortened.
An optional feature for creating a custom alias in the URL shortener such as http://url-shortner.com/alias-name in which the user enters the alias name.
HTTP 301 redirect is a permanent redirect. Means that link cannot be used for other redirections.
This URL shortener is written in django. So to execute it on local server a few steps are needed. How to clone, install dependencies, virtual environment install, commands in terminal (preferably Ubuntu or Fedora). Commands in other distros are welcome too!
Add more URL shortening services (such as t.co, lnkd,com, po.st etc.) to the popular_shortening_urls list inside is_already_short function to check whether input URL is already short.
List what you are going to add to the gitignore file before working on this issue.
If you want to get a much clear idea do take a look at soo.gd ( A URL shortening service)
If an user copies an URL "A" and shortens it using alias "X", now if another user copies URL "B" and gives it the same alias name "X". Then the newly shortened URL still points to the URL "A" and the pointer to URL "B" is lost i.e. URL "B" is not shortened although it shows on the website as URL "B" is shortened.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.