mirror of
https://github.com/5rahim/seanime
synced 2026-04-18 22:24:55 +02:00
2.5 KiB
2.5 KiB
Seanime Denshi
Electron-based desktop client for Seanime. Embeds server and web interface. Successor to Seanime Desktop.
Prerequisites
- Go 1.24+
- Node.js 20+ and npm
Development
Web Interface
# Working dir: ./seanime-web
npm run dev:denshi
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-denshi/binaries -
Rename the binary:
- For Windows:
seanime-server-windows.exe - For macOS/Intel:
seanime-server-darwin-amd64 - For macOS/ARM:
seanime-server-darwin-arm64 - For Linux/x86_64:
seanime-server-linux-amd64 - For Linux/ARM64:
seanime-server-linux-arm64
- For Windows:
Electron
-
Setup
# Working dir: ./seanime-denshi npm install -
Run
TEST_DATADIRcan be used in development mode, it should point to a dummy data directory for testing purposes.# Working dir: ./seanime-desktop TEST_DATADIR="/path/to/data/dir" npm run dev
Build
Web Interface
# Working dir: ./seanime-web
npm run build
npm run build:denshi
Move the output ./seanime-web/out to ./web
Move the output ./seanime-web/out-denshi to ./seanime-denshi/web-denshi
# UNIX command
mv ./seanime-web/out ./web
mv ./seanime-web/out-denshi ./seanime-denshi/web-denshi
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-denshi/binaries -
Rename the binary:
- For Windows:
seanime-server-windows.exe - For macOS/Intel:
seanime-server-darwin-amd64 - For macOS/ARM:
seanime-server-darwin-arm64 - For Linux/x86_64:
seanime-server-linux-amd64 - For Linux/ARM64:
seanime-server-linux-arm64
- For Windows:
Electron
To build the desktop client for all platforms:
npm run build
To build for specific platforms:
npm run build:mac
npm run build:win
npm run build:linux
Output is in ./seanime-denshi/dist/...

