Initial commit

This commit is contained in:
2023-10-31 20:15:54 +01:00
commit c2504f2519
15 changed files with 562 additions and 0 deletions

20
Flask-QR.py Normal file
View File

@@ -0,0 +1,20 @@
from flask import Flask, render_template, request
from flask_qrcode import QRcode
app = Flask(__name__)
QRcode(app)
@app.route("/")
def index():
return render_template('index.html')
@app.route("/qr.html")
def makeqr():
data = request.args.get('qr')
return render_template('qr.html', data=data)
if __name__ == "__main__":
app.run(host='0.0.0.0', port=80)