Chromecast Notifier
Chromecast notifier using Google TTS.
Obtain Google credentials file from Google Cloud console and set path with env variable (or create .env file)
export GOOGLE_APPLICATION_CREDENTIALS="./text to speech-google-cred.json"
Set up conda environment
conda create --name chromecast-notifier python=3.7
conda activate chromecast-notifier
git clone https://github.com/fk128/chromecast-notifier.git
cd chromecast-notifier
pip install -e .
Start server on http://localhost:8084/
python -m chromecast_notifier.server
Check API docs http://localhost:8084/docs
curl -X GET "http://localhost:8084/notify?text=hello"
curl -X POST "http://localhost:8084/notify" -d "text=hello"