GithubHelp home page GithubHelp logo

amiad / havid-19 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from t0mer/havid-19

0.0 1.0 0.0 393 KB

Havid-19 is a [Flask](https://flask.palletsprojects.com/en/1.1.x/) and selenium powerd, easy to use docker container built for signing Covid-19 digital health statement.

License: GNU General Public License v3.0

Dockerfile 9.68% Python 90.32%

havid-19's Introduction

Please โญ this repo if you find it useful


PayPal

Havid-19

Havid-19 is a Flask and selenium powerd, easy to use docker container built for signing Covid-19 digital health statement.

Credits:

=======

  • Adam Russak for working with me on this project and writing the selenium part

Usage

docker-compose from hub

version: "3.7"

services:
  havid-19:
    image: techblog/havid-19
    container_name: havid-19
    restart: always
    labels:
      - "com.ouroboros.enable=true"
    environment:
      - USER_ID= #parents.education.gov.il portal user
      - USER_KEY= #parents.education.gov.il portal password
   ports:
      - "6700:6700"

Replace API_KEY with your bot token. if you do not have existing bot you can create one using the instruction in this article: Bots: An introduction for developers

In order to secure the bot and block unwanted calls from Unauthorized users add your allowd Id's with comma separated values into ALLOWED_IDS environmet. in order to get your id use @myidbot in telegram and send the /getid command. the result will be your ID:

Home Assistant Integration

In order to sign the statement, open your browser and nevigate to your container ip address with port 6700: http://Server_Ip_Address:6070/sign. The signing process takes about 8-10 seconds and in the ens you'll get a success message.

In oreder to get the image with the signing details nevigate to your container ip address with port 6700: http://Server_Ip_Address:6070/statement.

Donation


If you find this project helpful, you can give me a cup of coffee :)

paypal

havid-19's People

Contributors

amiad avatar dimagoltsman avatar t0mer 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.