Page web pour générer automatiquement l'attestation de déplacement COVID du gouvernement français
330
⚠️By respect to our medical staff, please respect the social distancing, the governement rules and the barrier gestures.⚠️
The goal of this project is to be able to generate the "ATTESTATION DE DÉPLACEMENT DÉROGATOIRE" from the French Government.
See https://media.interieur.gouv.fr/deplacement-covid-19/
This is a pure Vanilla JS implementation. No need to compile anything. Run out-of-the-box.
No data are sent to the server. Everything is run locally on your browser.
The file : generate.html is in charge of generate the PDF
From the url hanchor parameter, it retrieves the profil (firstname, lastname, etc...). Then, this profil is injected in a hidden form that is similar to the one on Official Website.
Then, the official certificate.js script from official website is called to compile the PDF using the data store on the hidden form.
Beautifull version : https://www.luko.eu/fr/page/covid19attestation
Open source demo : https://covid.luko.eu/demo.html
python -m SimpleHTTPServernpm install http-server -g then http-server$ docker run -tid --rm -p 8080:80 --name mon_attestation_covid jerometerrier/covid-attestation-fr
Go to http://localhost:8080/demo.html
certificate.js : https://github.com/LAB-MI/attestation-deplacement-derogatoire-q4-2020Content type
Image
Digest
Size
54.7 MB
Last updated
almost 6 years ago
docker pull jerometerrier/covid-attestation-fr