cympfh / jimaku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Speech-to-Text: Jimaku System

Setup local https server

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 browser

Open https://localhost:8080 with Google Chrome (not Firefox, not Chromium), and speech!

About


Languages

Language:Shell 82.5%Language:Python 14.4%Language:Makefile 3.1%