Glugg is a search UI that queries multiple Emby servers and shows where a title is available.
The Node server proxies Emby servers stored in SQLite (with .env as a fallback).
- Copy
.env.exampleto.env. - Run the server:
npm run dev- Open
http://localhost:8787, complete setup, and log in.
Build and run with Docker:
docker build -t glugg .
docker run --rm -p 8787:8787 \
-e SERVER_PORT=8787 \
-e GLUGG_DB=/app/data/glugg.db \
-v glugg-data:/app/data \
gluggOr use docker compose:
docker compose up --buildTo seed servers on first run, pass EMBY_SERVERS as JSON in the environment (see .env format).
Servers are stored in data/glugg.db by default. Admins can manage servers from the Settings tab.
The config API is still available:
curl -X POST http://localhost:8787/api/servers \
-H "Content-Type: application/json" \
-d '{"name":"Living Room","url":"http://emby.local:8096","apiKey":"REPLACE_ME","enabled":true}'Once a server is saved, it appears in the in-app Servers panel for editing.
.env expects:
SERVER_PORT=8787
GLUGG_DB=./data/glugg.db
EMBY_SERVERS=[{"name":"Living Room","url":"http://emby.local:8096","apiKey":"REPLACE_ME"}]
- On first launch, create the initial admin user in the in-app setup flow.
- Admins can access the Settings tab and manage servers and users.
- Standard users can search but cannot access Settings.
- Admins can create, edit, and delete users in Settings.
- Password updates are optional when editing users.
- Start the app and open the UI.
- Create the first admin account when prompted.
- Log in, add servers in Settings, and optionally create standard users.
Auth:
GET /api/mePOST /api/loginPOST /api/logoutGET /api/setup/statusPOST /api/setup
Search:
GET /api/search?q=...&type=all|movie|series
Servers (admin):
GET /api/serversPOST /api/serversPUT /api/servers/:idDELETE /api/servers/:idPOST /api/servers/:id/testGET /api/servers/:id/debug?q=...&type=all|movie|series
Users (admin):
GET /api/usersPOST /api/usersPUT /api/users/:idDELETE /api/users/:id
- Run behind a reverse proxy (nginx, Caddy) for HTTPS.
- Set a fixed
SERVER_PORTand forward to it. - Sessions are in-memory; restart invalidates logins.
- Store
data/glugg.dbon persistent storage.
This project uses Semantic Versioning (SemVer). Pre-release builds follow X.Y.Z-alpha.N.
- Requires Node 20+ for
--env-file. - Uses
node:sqlite(currently experimental in Node 23), so you may see a startup warning.