GithubHelp home page GithubHelp logo

qr-code-tracker's Introduction

QR Code Views Tracker

QR Code Views Tracker is a simple web tool that allows you to generate a QR code that routes to an intermediary website where views are recorded and plotted over time.

preview.png

Setup

Dependencies

  • Flask==2.3.2
  • Flask_Migrate==4.0.4
  • flask_sqlalchemy==3.0.3
  • matplotlib==3.7.1
  • SQLAlchemy==2.0.12
  • waitress==2.1.2

To install the required dependencies, run the following command:

pip install -r requirements.txt

Environment Variables

The following environment variables must be set to run the application:

  • DATABASE_URL: path or url to the database.
  • FLASK_DEBUG: whether to debug the app and use a debugger server or to use a production server.
  • SECRET_KEY: secret key.

Running the Application

To run the application on your local server, execute the following command:

flask run

Navigate to localhost:5000 in your web browser to generate a QR code.

Usage

On the web form, enter the following details:

  • URL: The URL you would like to associate with the QR code.
  • Key: The key you would like to use to associate views with the QR code.

Pressing "Generate" will create a QR code that routes to an intermediary website where views are recorded and plotted over time.

Credits

This project was created by Michael Tanzer and is available for free use under the MIT license. Please feel free to contribute to this repo to help improve it.

Online Version

An online version of this project is available at https://michaeltanzer.pythonanywhere.com/.

qr-code-tracker's People

Contributors

michael-tanzer avatar

Stargazers

 avatar

Watchers

 avatar

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.