/FantasticQRCode

A minimalistic QR Code Generator Application built using Python

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

Fantastic QR Code Generator

QR Code Scanner

A minimalistic web application to generate qrcodes built using python

Set-Up ⚒️

SetUp Icon

  • Ensure you have the latest stable version of Python in your system

  • Open your terminal / command prompt.

  • Clone the repository

    git clone https://github.com/smaranjitghose/fantasticqrcode
    
  • Change the directory to the cloned project

    cd fantasticqrcode
    
  • Install the dependencies

    pip install -r requirements.txt
    
  • Load the application

    streamlit run Home.py
    
  • If the app does not load by itself in your default browser, open a browser of your choice and navigate to http://localhost:8501

  • To stop the application, press CTRL + C in your terminal

Demo 👇

Click Here 🔗

QRCodeGenerator Snapshot

Future Work 🏗️

  • Generate Batch QR Codes using csv file of URLs
  • Make an exectuable file
  • Dockerize the application

Note ✏️

Note Icon

  • For Streamlit Sharing, mentioning versions of the modules in requirements throws error at times

Deployment Options 🥊

Hosting Icon

(Using Google Colab/Kaggle as temporary MVP server)

  • pyngrok

    • Step 1: Install pyngrok in Google Colab

      ! pip install pyngrok
      
    • Step 2: Sign-up in ngrok and get Authentication Token

    • Step 3: Authenticate

         from pyngrok import ngrok
         ngrok.set_auth_token("xxx")
    • Step 4: Load the Streamlit App at port 8051, create a tunnel for it and reveal the public URL for the tunnel

         !nohup streamlit run app.py --server.port 8051 &
         url = ngrok.connect(8051).public_url
         print(url)
    • Step 5: Share URL with client

  • localtunnel

    • Step 1: Install localtunnel

      npm install -g localtunnel
      
    • Step 2

      streamlit run Home.py & npx localtunnel --port 8501
      
    • Step 3: Share URL with client

Acknowledgements 🙏

Acknowledgment Icon