/pwapaint

a very simple paint application mede by PWA

Primary LanguageJavaScript

pwa paint

github pages: https://buyoh.github.io/pwapaint/

execute under localhost

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()

codepen (not pwa)

https://codepen.io/buyoh/pen/NWRYyXQ

ref