Seanime Desktop
Desktop app for Seanime. Embeds server and web interface.
Prerequisites
- Go 1.24+
- Node.js 20+ and npm
- Rust 1.75+
Development
Web Interface
# Working dir: ./seanime-web
npm run dev:desktop
Sidecar
-
Build the server
# Working dir: . # Windows go build -o seanime.exe -trimpath -ldflags="-s -w" -tags=nosystray # Linux, macOS go build -o seanime -trimpath -ldflags="-s -w" -
Move the binary to
./seanime-desktop/src-tauri/binaries -
Rename the binary to
seanime-{TARGET_TRIPLE}. Reference.seanime-x86_64-pc-windows-msvc.exefor Windowsseanime-x86_64-unknown-linux-muslfor Linuxseanime-x86_64-apple-darwinfor macOS (Intel-based)seanime-aarch64-apple-darwinfor macOS (Apple Silicon)
Tauri
-
Setup
# Working dir: ./seanime-desktop npm install -
Run
TEST_DATADIRis needed when running in development mode, it should point to a dummy data directory for Seanime.# Working dir: ./seanime-desktop TEST_DATADIR="/path/to/data/dir" npm run start # or TEST_DATADIR="/path/to/data/dir" tauri dev
Build
Web Interface
-
Option A:
Uses
.env.desktopand outputs to./seanime-web/out-desktop# Working dir: ./seanime-web npm run build:desktopMove the output to
./web-desktop# UNIX command mv ./seanime-web/out-desktop ./web-desktop -
Option B:
Uses
.env.development.desktopand outputs to./web-desktop# Working dir: ./seanime-web npm run build:development:desktop
Sidecar
-
Build the server
# Working dir: . # Windows go build -o seanime.exe -trimpath -ldflags="-s -w" -tags=nosystray # Linux, macOS go build -o seanime -trimpath -ldflags="-s -w" -
Move the binary to
./seanime-desktop/src-tauri/binaries -
Rename the binary to
seanime-{TARGET_TRIPLE}. Reference.seanime-x86_64-pc-windows-msvc.exefor Windowsseanime-x86_64-unknown-linux-muslfor Linuxseanime-x86_64-apple-darwinfor macOS (Intel-based)seanime-aarch64-apple-darwinfor macOS (Apple Silicon)
Tauri
Set the signing private key and password. Reference.
TAURI_SIGNING_PRIVATE_KEYTAURI_SIGNING_PRIVATE_KEY_PASSWORD
# Working dir: ./seanime-desktop
TAURI_SIGNING_PRIVATE_KEY="" TAURI_SIGNING_PRIVATE_KEY_PASSWORD="" npm run tauri build
Output is in ./seanime-desktop/src-tauri/target/release/bundle/...
