A simple web application to collect contact information from visitors during the SARS CoV 2 pandemic.
Basic intention is to provide an alternative way to collect visitor data during SARS CoV 2 pandemic. Since regulations force us to collect this data and no mobile phone app should be used we started this approach
basically a visitor opens the web url, enters his/her data and retrives a qr code containing an unique id. On site this qr code is scanned by an employee on begin and end of the visitor visit. This way personal data is only tranfered once and you safe a lot of paper. Also an checkin/ checkout is independent of a mobile device since the visitor can also print this qr code. Visitor data is stored assymetric (why? because i can) within database and only users with admin permission can read this data. Visits and visitor data older than the given threshold will be deleted automatically.
On visitor side ther is only a internet connection needed. To run this application server side Python >= 3.7 is needed. All required modules are listet within requirements.txt.
- Open Url
- Enter Data
- Show qr code to a responsible employee
- open
[yourdomain]:[port]/signin
- scan visitor qr code via web interface at the beginning of the visit (checks in automatically)
- scan visitor qr code via web interface at the end of the visit (via "checkout" button)
Actually every device with an browser. For scanning every mobile device with a camera or pc with a webcam
Scanning is not available for ios devices as the used library can not access camera on these devices.
- clone repository to your server
- rename/ move
ilsc.cfg_default
toilsc.cfg
andflask.cfg_default
toflask.cfg
- edit both configuration files to your needs
- sqlite database is created automatically, same for gpg-keys
- rename & edit
default_gprd.html
anddefault_imprint.html
to your needs. Also address these files withinilsc.cfg
- (optionally if you want to use ssl) set
usessl
withinilsc.cfg
toTrue
and configure location of server certificates within this file - run
python main.py --config ./ilsc.cfg --flask-config ./flask.cfg
either via screen or as system service - login at
[yourdomain]:[port]/signin
- default user:
admin
- default password:
admin
- default user:
- open backend via "backend" top right
- change username and password and add (optional) users
https://github.com/schmich/instascan thxalot nice work done dude
I absolutely do not take over any responsibility for the correctness of imprint and gprd. If there is something wrong ... let me now