Giter VIP home page Giter VIP logo

shortweb's People

Contributors

alphacrash avatar aniketgattani avatar hereismodi avatar jayjeetatgithub avatar mohitkh7 avatar sandeepsajan0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

shortweb's Issues

Alias Clashing

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.

Update readme file to setup settings.py

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.

Readme.md update required.

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!

Alias Clashing

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.

Save the Shortened URL.

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.

Discussion on how to check if a URL is already shorted and stop it from shortening again.

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.

Add more URL shortening services

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.