Sign inSign up

robertobochet/uus

By robertobochet

Updated over 6 years ago

Image
0

985

robertobochet/uus repository overview

UUS - Uncomplicated Url Shortener

This is a url shortener written in python with flask

Features

  • Easily to setup
  • Shortener list easily to update
  • Collect daily statistics also of user-agents
  • Web GUI to visualize the statistics
  • Already containerized

Installation

You can chose to run the service containerized or not.

Docker compose
  1. Download .env and docker-compose.yml files and put them in a folder.

  2. Edit them to adapt the setup to your requirements(see below).

  3. Run the containers.

    docker-compose up
    
Compile your own Docker image
  1. Clone the whole repo.

    git clone [THIS_REPO_URL] ./uus
    cd uus
    
  2. Edit the .env and docker-compose.yml to adapt the setup to your requirements(see below).

  3. Build and start the containers.

    docker-compose build
    docker-compose up
    

Configuration

You will have to provide a local or remote file in JSON format likely example.json. This can be provided as local file or remote file over http(s) protocol. You can think to versioning this file on a web service, e.g. GitLab or GitHub.

If you want to use docker-compose you have to edit .env file.

Credits

In this project are used the following components:

Python modules
Web components

Tag summary

Content type

Image

Digest

Size

40.8 MB

Last updated

over 6 years ago

docker pull robertobochet/uus