GNU/Linux installer and launcher for Suno's Bark TTS with simple webui from Fictiverse.
- Install miniconda.
- Clone this repo:
git clone https://github.com/inimrod/bark-simple-webui.git && cd bark-simple-webui
. - Update vars in
run.sh
and add execute permission:chmod +x run.sh
. - Run:
./run.sh
.
Edit systemd
service file as appropriate:
USERNAME=$USER
INSTALL_DIR="/home/$USERNAME/src/bark-simple-webui"
sudo tee /etc/systemd/system/bark.service > /dev/null <<EOF
[Unit]
Description=bark-ai daemon
After=network-online.target
[Service]
Type=simple
Restart=always
RestartSec=10
User=$USERNAME
Group=$USERNAME
WorkingDirectory=$INSTALL_DIR
Environment=RUNNING_IN_SYSTEMD=1
ExecStart=/usr/bin/bash run.sh
KillSignal=SIGINT
SyslogIdentifier=BARK
TimeoutStopSec=10
[Install]
WantedBy=default.target
EOF
systemctl enable bark.service
systemctl daemon-reload
systemctl start bark.service
Monitor logs with:
sudo journalctl -f -u bark.service -n100
Stop service with:
sudo systemctl stop bark.service