Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.23 KB

README.md

File metadata and controls

53 lines (43 loc) · 1.23 KB

bark-simple-webui

GNU/Linux installer and launcher for Suno's Bark TTS with simple webui from Fictiverse.

Manual Usage

  1. Install miniconda.
  2. Clone this repo: git clone https://github.com/inimrod/bark-simple-webui.git && cd bark-simple-webui.
  3. Update vars in run.sh and add execute permission: chmod +x run.sh.
  4. Run: ./run.sh.

Running as systemd service

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