Skip to content

jeancsil/pyurl-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI pylint pytest

PyURL Shortener

A URL shortener that works locally without the need for an external database.
All its index is created and maintained in the local disk.

Design Idea

Simple http server running in the background:
eg.: http://localhost:8081/?u=gh when opened in the browser, it only finds which is the correct full URL (resolves by id)
and then redirects permanently to that address ;)

TODO

  • Allow insertion of new URLs to be shortened. - Command line tool to shorten URLs?
  • Maybe opening a shortened link from the terminal?
  • Backup of the database?
  • Create a class to load the database and retain the logic of removing "\n"
  • Create Makefile

Releases

No releases published

Packages

No packages published