Thanks for helping improve Immich Lounge.
- Open an issue for bugs or feature ideas when possible.
- Keep changes focused. Small, clear pull requests are easier to review and ship.
- If your change affects user-facing behavior, update the docs too.
For a reviewer stack that starts Immich and the local companion together in Docker, see REVIEWER_SETUP.md.
cd companion
dotnet restore src/ImmichLoungeCompanion/ImmichLoungeCompanion.csproj
dotnet run --project src/ImmichLoungeCompanion
dotnet test --project tests/ImmichLoungeCompanion.Tests/ImmichLoungeCompanion.Tests.csprojFor local Docker runs, use the repo-root local override:
docker compose -f docker-compose.local.yml build --no-cache
docker compose -f docker-compose.local.yml up -d --force-recreate
docker compose -f docker-compose.local.yml downIf you prefer the same shorthand used in immich-reversegeo, the repo root also includes:
npm run docker:build
npm run docker:up
npm run docker:downThe repo-root docker-compose.yml is the end-user reference snippet for published companion images. docker-compose.local.yml is the contributor-local variant that builds from the current source.
For persistent local Immich 3.2 and 3.1 servers, see the development setup. Accounts and mounted configuration live in the primary checkout's gitignored .local/immich/; keep this directory alongside the Docker volumes. Use the development administrator account for manual photos and keep the fixture account unchanged.
cd roku
npm ci
npm run lint
npm run lint:screensaver
npm run build
npm run build:screensaver
npm run analyze
npm run analyze:screensavernpm run lint runs @rokucommunity/bslint for the main channel, and npm run lint:screensaver runs it for the screensaver variant. This is a local and CI preflight check.
npm run analyze and npm run analyze:screensaver download and run Roku's official Static Analysis Tool against the built app folders. These commands require Java and internet access the first time they run.
The tool is available from Roku here:
I would treat the official Roku tool as the certification-facing check, while bslint stays the fast day-to-day linter.
For local device testing, Roku Developer Mode and sideloading are still used. Create a local .env file with:
ROKU_HOST=...
ROKU_PASSWORD=...Useful commands:
npm run deploy
npm run deploy:screensaver
npm run telnet
npm run test
npm run test:scriptsnpm run test deploys the Rooibos app and waits for that deployment's result and shutdown markers. Each test package has a unique run ID, so buffered results from earlier runs cannot complete the command. npm run test:deploy only builds and launches the app. npm run test:scripts checks the console runner locally without a Roku.
Official Roku developer docs:
- Describe what changed and why.
- Link related issues.
- Include screenshots or short videos for UI changes when helpful.
- Call out any follow-up work or known limitations.
- Follow existing naming and structure in each app.
- Keep generated build output out of version control.
- Do not commit secrets,
.envvalues, or device-specific local config.
The documentation site is built with Zensical using the existing mkdocs.yml compatibility path. Public website content lives under docs/website/. The generated site output goes to _out/website/. If you add or rename public docs pages, update mkdocs.yml too.
Give public pages a concise description in front matter for search previews and generated social cards. The llmstxt sections in mkdocs.yml choose which pages get Markdown exports and a Copy as Markdown action. Include new setup or help pages in the appropriate section. Social cards and Markdown exports are generated under _out/website/; do not commit them.
Mark screenshots with .on-glb to enable click-to-enlarge; keep logos outside the lightbox. Use content tabs for genuine setup alternatives, admonitions for important notes, and collapsible details for optional explanations. The page edit action points to master and docs/website/ in the source repository.
Use a repository-local Python environment so the preview uses the same pinned Zensical version as CI. From the repository root on Windows:
py -m venv _out/docs-venv
_out/docs-venv/Scripts/python -m pip install -r docs/website/requirements.txtThen use one of these:
_out/docs-venv/Scripts/python -m zensical serve
_out/docs-venv/Scripts/python -m zensical build --clean --strictOn Linux or macOS, create the environment with python3 and use _out/docs-venv/bin/python for the remaining commands. Build and preview from the repository root so snippets resolve against the checked-out source files. Update the pinned requirement when upgrading Zensical, then run the strict build before opening a PR. Strict validation makes broken internal links and anchors fail the build.
If you need temporary local build output that is not part of the normal project layout, prefer a dedicated folder under _out/ instead of creating new top-level build directories.
With the .NET 10 SDK and Docker running in Linux-container mode, run npm run test:database
from the repository root. This runs the same search and playlist checks as CI against fresh,
isolated Immich stacks and removes them afterward. See Live Immich search compatibility tests
for coverage, reports, and the persistent Compose workflow for manual inspection.