-
-
Notifications
You must be signed in to change notification settings - Fork 2
The Static Build
Param Siddharth edited this page Aug 12, 2021
·
1 revision
A static site is generated by Jugaadu Rema upon bulk certificate generation. Although optimized for GitHub Pages (Varnish), it is deployable on any static web server.
The base route is to be specified as a command-line parameter. If not provided,
/
is taken by default.
The static build, once deployed (assuming the base route to be /
),
contains the following subroutes:
-
/
: The homepage, with a search box for searching navigating to certificates using UIDs. -
/template
: A preview of the template, generated only if the--preview
flag is given. -
/directory
: The certificate listing, containing all the certificate UID, each linking to the respective certificate, generated only if the--directory
flag is set tovisible
orhidden
. -
/certificate/{uid}
: The verification page for the certificate identified by{uid}
. -
/certificate/{uid}/certificate.pdf
: The PDF document for the certificate identified by{uid}
. -
/certificate/{uid}/certificate.png
: The PNG image for the certificate identified by{uid}
. -
/404.html
: A 404 page to be shown for theNot Found
client-side errors.
The certificate verification page contains a user-friendly interface, with links to download the certificate as PNG/PDF and social links to share the certificate.