Giter Site home page Giter Site logo

jagankaartik / shrynk-flask-app Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 5.74 MB

Shrynk - A simple implementation of a URL shortener similar to bit.ly, tiny.url, etc. Users can create and manage multiple URLs. The application provides a short url, which can be used to access the desired website.

Home Page: https://shrynk.herokuapp.com/

License: MIT License

Python 41.03% HTML 53.48% CSS 2.75% JavaScript 2.74%
flask flask-sqlalchemy heroku postgresql url-shortener

shrynk-flask-app's Introduction

I'm active on the below platforms

                             

shrynk-flask-app's People

Contributors

dependabot[bot] avatar imgbotapp avatar jagankaartik avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

shrynk-flask-app's Issues

Security Aspects

The program should not allow for multiple short URLs of the same encoding to exist in the database. This issue is taken care of the UNIQUE Constraint, but since using MD5 and B64. MD5 for a particular string is the same. Since using the first x characters conflicts may occur.

To fix this issue:

  1. First, check if DB contains the generated URL.
  2. If it contains, add a bias value. Generate a new URL.

Shortened URL Expiry

Feature Enhancement

Feature: The expiry for a shortened URL.

This could be a monetization feature like paid users to get plans where they generate numerous shortened URLs until a limit and keep them for a specific time.

Free Users with limited usage.

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.