Unofficial mobile PWA for Ombi
Note This is only a frontend for the Ombi app. We are not able to access your data in any way.
by @marvinvr
- Open the URL https://ombi-mobile.marvinvr.dev in Safari on iOS
- Tap the
shareicon on the bottom UI in Safari - Click
Add to Home Screen
- Open the URL https://ombi-mobile.marvinvr.dev in Chrome on Android
- Tap
Add to home screen - Follow the onscreen instructions to install
Enter the following credentials on the configuration page in the app
URL- The URL to your ombi instance (format:https://my.ombi-url.iowithout trailing slash)Username- Your Ombi user emailPassword- Your Ombi user password
npm install -g @ionic/cli
git clone https://github.com/marvinvr/ombi-mobile
npm install
ionic serve
One-time setup: npx playwright install chromium webkit (unit tests also use Playwright's Chromium, no local Chrome needed).
npm test– unit tests (Karma, headless Chromium): services viaHttpTestingController, settings/credentials/JWT handling, utils and component logic.npm run e2e– builds production intowww/and runs the Playwright suite ine2e/againstserve -s www(same as the Docker runtime) on an Android/Chromium and an iPhone/WebKit viewport. The Ombi API (and plex.tv, TMDB images, analytics) is fully mocked (e2e/support/ombi-mock.ts); any unmocked outbound request or any console error/warning fails a test.- Against a running instance, e.g. the Docker image:
docker build -t ombi-mobile . && docker run --rm -p 3000:3000 ombi-mobile E2E_BASE_URL=http://localhost:3000 npx playwright test - Screenshot baselines live in
e2e/__screenshots__/(recorded on macOS; fonts differ on other OSes). After an intentional UI change:npx playwright test e2e/visual.spec.ts --update-snapshots. npm run lint– ESLint (angular-eslint).
Pull the official Docker image here https://hub.docker.com/r/marvinvr/ombi-mobile
- HTTP Port
3000
A predefined host can be set in one of two ways:
#### Docker environment variable
If you are using the Docker image, you can set the environment variable PREDEFINED_HOST to your Ombi URL (including (https | http)://). This will automatically set the host for your users.
If you are running the app from source, you can set the host by creating the file 'src/assets/settings/predefined-host.txt' and adding your Ombi URL (including (https | http)://) to it. There is an example file in the same directory.