/rusty-kolors

Phone Number Encoder that converts number to a PNG image with unique pattern

Primary LanguagePython

Phone Number Encoder

preview

The tool just converts phone number to PNG images that be used as a colorful way to share numbers easily. We get an abstract and unique pattern which one can stick on to his phone :)

Prerequisites

Make sure you have installed Python 3 on your device and knowledge about the same.

Project Structure

rusty-kolors
│   README.md
│   app.py
|   script.py
│   
└───static
│   └───stylesheets
│       │   style.css
│   
└───templates
    │   index.html

How to run

  1. Create a virtual environment and activate it
  pip install virtualenv  
  virtualenv lol
  On windows -> lol\Scripts\activate
  On linux -> . lol/bin/activate
  
  1. Install flask and other dependencies in the virtual environment.
  pip install Flask numpy matplotlib  
  
  1. Run command in the terminal in the same directory to start the app
  flask run
  
  1. Link on the link in the terminal directing to localhost:5000
  2. To stop the service interrupt by CTRL + C in the terminal.