github pages: https://buyoh.github.io/pwapaint/
access https://localhost:443/pwapaint
from http.server import SimpleHTTPRequestHandler
import ssl
import socketserver
httpd = socketserver.TCPServer(('localhost', 443), SimpleHTTPRequestHandler)
httpd.socket = ssl.wrap_socket(
httpd.socket, certfile='/path/to/localhost.pem', keyfile='/path/to/localhost-key.pem', server_side=True)
httpd.serve_forever()