feat: install script

This commit is contained in:
ayo 2026-06-07 16:32:43 +02:00
parent 489a78257a
commit 3c59d5c840
3 changed files with 17 additions and 4 deletions

16
install.sh Normal file
View file

@ -0,0 +1,16 @@
#! /bin/sh
INSTALL_DIR=$HOME/.local/lib/simple-tts
echo "Installing to: $INSTALL_DIR"
git clone https://git.ayo.run/ayo/simple-tts $INSTALL_DIR
python3 -m venv $INSTALL_DIR/.venv
# activate environment
. $INSTALL_DIR/.venv/bin/activate
python -m pip install -r $INSTALL_DIR/requirements.txt
# deactivate environment
deactivate

View file

@ -1,3 +0,0 @@
#! /bin/sh
echo "Installing..."

2
tts.py
View file

@ -1,4 +1,4 @@
#! /home/ayo/Projects/simple-tts/.venv/bin/python
#! $HOME/.local/bin/simple-tts/.venv/bin/python
## TODO
# - [ ] lower resolution output by default so bluetooth headsets do not struggle