Add Discord-native hybrid front-end for Jarvis (bot + bridge)
Some checks failed
Release / semantic-release (push) Successful in 59s
tests / Unit tests (Linux, Python 3.11) (push) Successful in 13m45s
Release / build-linux (push) Failing after 7m47s
Release / build-windows (push) Has been cancelled
Release / build-macos (arm64, macos-latest) (push) Has been cancelled
Release / build-macos (x64, macos-15-intel) (push) Has been cancelled
Release / release-main (push) Has been cancelled
Release / release-develop (push) Has been cancelled

Transform isair/jarvis into a Discord-controlled voice assistant running on
the Ubuntu VNC desktop, keeping the mature ~39k-line Python brain intact.

- bot/ (Node + bun, discord.js): /자비스 slash commands (ephemeral),
  voice channel join + voice receive/playback, pluggable VNC screen broadcast
  (selfbot live / noVNC / screenshot)
- bridge/ (Python, Flask): wraps jarvis STT + run_reply_engine + Piper TTS
  behind a thin localhost HTTP API
- .env.example, scripts/ (start_bridge/start_bot/dev), README rewrite,
  docs/language-comparison.md and docs/vnc-xfce-setup.md

Language decision: hybrid (Python brain + Node/bun Discord layer) because
Discord blocks bot video; native screen broadcast only works via a Node
selfbot library.
This commit is contained in:
javis-bot
2026-06-09 14:51:05 +09:00
parent a5bf8d1826
commit c4abf63f38
308 changed files with 94135 additions and 1 deletions

View File

@@ -0,0 +1,59 @@
@echo off
REM Test script to build and run the bundled Windows app locally
echo.
echo === Building Jarvis Desktop App with PyInstaller ===
echo.
REM Get to project root
cd /d "%~dp0\.."
REM Set up paths
set "PROJECT_ROOT=%cd%"
set "MAMBA_ENV=%PROJECT_ROOT%\.mamba_env"
set "PYTHONPATH=%PROJECT_ROOT%\src;%PYTHONPATH%"
REM Check if mamba environment exists
if not exist "%MAMBA_ENV%\python.exe" (
echo ERROR: Mamba environment not found at %MAMBA_ENV%
echo Please run the setup script first.
pause
exit /b 1
)
REM Clean previous builds
echo Cleaning previous builds...
if exist "build" rmdir /s /q build
if exist "dist" rmdir /s /q dist
echo.
REM Build with PyInstaller
echo Building app bundle...
"%MAMBA_ENV%\python.exe" -m PyInstaller jarvis_desktop.spec
echo.
REM Check if build succeeded
if exist "dist\Jarvis.exe" (
echo Build successful!
echo.
echo App location: %cd%\dist\Jarvis.exe
echo.
REM Show file info
echo File info:
dir dist\Jarvis.exe
echo.
REM Run the app
echo Launching app...
echo Press Ctrl+C in this window to stop the app
echo.
dist\Jarvis.exe
echo.
echo App exited.
) else (
echo Build failed! Check the output above for errors.
exit /b 1
)