Create server.key
and server.crt
# make cert
openssl req -x509 -newkey rsa:4096 -sha256 -nodes -keyout server.key -out server.crt -subj "/CN=example.com" -days 3650
Make index.html page
bash ./index.sh --lang <SPEECH_LANG> --bgcolor <BGCOLOR>
bash ./index.sh --lang ja-JP --bgcolor green
bash ./index.sh --lang en-US --bgcolor white
Then launch a server
# maker server
pip install click
python3 ./https_server.py -P 8080
# python3 ./https_server.py --help
Open https://localhost:8080
with Google Chrome (not Firefox, not Chromium), and speech!