Initial commit: Jarvis Desktop Voice Companion for Linux/Hyprland
This commit is contained in:
commit
6ed241f07f
8 files changed
+283
No files matched your search
+31
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
echo "😏 Installing Jarvis Desktop Voice Companion..."
|
||||
|
||||
# Check Python3
|
||||
if ! command -v python3 &> /dev/null; then
|
||||
echo "❌ Python3 nicht gefunden. Bitte installiere python3."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Install dependencies
|
||||
echo "📦 Installiere Python Pakete..."
|
||||
python3 -m pip install --upgrade pip
|
||||
python3 -m pip install -r requirements.txt || true
|
||||
|
||||
# Install mpv / notify-send if missing on Arch / Ubuntu
|
||||
if command -v pacman &> /dev/null; then
|
||||
sudo pacman -S --needed --noconfirm mpv libnotify portaudio || true
|
||||
elif command -v apt &> /dev/null; then
|
||||
sudo apt update && sudo apt install -y mpv libnotify-bin portaudio19-dev || true
|
||||
fi
|
||||
|
||||
# Ensure config directory exists
|
||||
mkdir -p ~/.config/jarvis-voice-companion
|
||||
if [ ! -f ~/.config/jarvis-voice-companion/config.json ]; then
|
||||
cp config.json.template ~/.config/jarvis-voice-companion/config.json
|
||||
fi
|
||||
|
||||
echo "✅ Installation erfolgreich abgeschlossen!"
|
||||
echo "Starte mit: python3 companion.py"
|
||||
Reference in new issue
Block a user