Open-source IP camera viewer
Your cameras, on every screen you own.
Vigil shows MJPEG, JPEG-snapshot and RTSP (H.264, H.265) cameras live on phones, tablets, TVs, desktop and the browser. Give it a camera's IP address and sign-in; it works out the rest.
Early days: Vigil is young and built from source for now.
One app, wherever you look
One Kotlin Multiplatform codebase, with a native app for LG TVs. Vigil aims to run on old hardware, so an old phone or tablet can become a camera screen.
| Platform | Runs on | MJPEG and snapshot | RTSP |
|---|---|---|---|
| Android phones and tablets | Android 7.0 or newer | Yes | Yes |
| Android TV | Same app, on the TV launcher | Yes | Yes |
| iPhone and iPad | iOS 15 or newer | Yes | Yes |
| Desktop | macOS, Windows, Linux | Yes | Yes |
| Web | Chrome 119, Firefox 120, Safari 18.2 or newer | Cameras that send CORS headers | Through a relay you run |
| LG TVs Early | webOS 4 or newer, native app | Yes | Yes, on the TV's decoder |
Made for watching, not configuring
Add a camera without its stream URL
Enter the IP address and sign-in. Vigil asks the camera over ONVIF, then tries the RTSP addresses of about thirty brands, including Hikvision, Dahua, Reolink, TP-Link, Uniview, Axis and Foscam, and community firmware like Thingino, yi-hack and Dafang Hacks. It stops at the first refused password, because some cameras lock the account after a few tries.
On Android, iOS and desktop it can also find ONVIF cameras on your network. For UniFi Protect, paste the address it gives you. Anything else can be entered by hand.
Every camera at a glance
A live grid that sizes itself, or stays fixed at 1, 2×2, 3×3 or 4×4. Sort cameras into groups like “Outside” and filter with a tap, or press and hold a camera to drag it into place.
The fullscreen camera wall turns pages by that layout, by itself if you like, and streams only the page you can see. A camera that alerts gets a brief outline. Turn on stream stats to see each camera's codec, resolution, frame rate and data rate, except for RTSP cameras in browsers.
Grids ask each camera for its smaller stream, because a phone's video chip only decodes so much at once: an old one may manage a single full-size camera and no more. Vigil fills that in by itself where a camera offers it, and you can set it by hand under “Smaller stream”; full screen still shows the whole picture. A camera that has no second stream is shown a keyframe at a time instead, and a phone being a Vigil camera serves both sizes on its own.
A full-screen viewer that gets out of the way
Swipe, with the picture following your finger, or use the arrows to move between cameras. Point ONVIF cameras right from the picture, zoom in, go to the positions saved on the camera, and turn on camera sound when you want it: G.711, L16, AAC or Opus. It always starts off. On cameras with a speaker Vigil can reach, hold the microphone button and what you say plays on the camera when you let go, on Android, iOS and desktop. That covers ONVIF's audio back channel, yi-hack firmware, and Hikvision's ISAPI, which they use instead of the back channel.
Rotate or mirror a camera mounted sideways or upside down. Live views, alerts, snapshots, recordings and the pan and tilt controls all follow.
An old phone that any recorder can see
A spare phone becomes a camera: it streams over RTSP, with sound and a smaller stream for weak screens, and a speaker you can talk out of. Its light can be switched on from the viewer, and where the hardware allows it, dimmed — a torch at full blast lights the room and shows where the camera is, so it starts faint.
It doesn't only work with Vigil. The phone answers ONVIF, so recorders that look for cameras the usual way — NVRs, door panels, Home Assistant, a NAS — find it in a scan and record it like any other camera, and can fetch a still from it without opening the stream. It answers everything such a recorder asks; which recorders then accept it is a list still being written, so tell us how yours gets on.
-
Motion alerts
Cameras added through ONVIF report their own detections, so alerts say what was seen and where, like Person at Garage, and each camera can alert only for people, vehicles or whatever else it tells apart. For the others, Vigil compares the picture itself: MJPEG and snapshot cameras everywhere, RTSP cameras on Android, iOS and desktop. Alerts come with the picture, in the app and as notifications.
-
Sound alerts
Vigil can listen as well as watch: a camera with sound alerts on tells you when it hears something louder than the room usually is, like a baby crying, as Sound at Nursery. It learns what the room sounds like, so a fan or a television left on stops counting. On any RTSP camera that sends sound, on Android, iOS and desktop. An old phone used as a camera listens for itself and only says when it hears something, so no video flows all night.
-
Every event in one place
The bell counts what's new and opens the events, grouped by day. Filter by camera or by what was seen, swipe to delete with undo, and page through the pictures to zoom in or save one. Turn on a video of each event, about 20 seconds from just before the motion or sound, and play it from there. The last 200 stay across launches.
-
Quiet when you want it
Paint over the parts of a picture that move by themselves, like trees or a busy road. During quiet hours, motion is still logged, without alerts.
-
Watch with Vigil closed
On Android, turn this on in Settings to keep alerts coming, and recording going, when the app is closed. It shows a notification while it runs, uses more battery, and is off by default.
-
Snapshots and recording
Capture from the viewer on every kind of camera. Recordings keep exactly what the camera sent, without re-encoding, and play in QuickTime, VLC, mpv and ffmpeg. The web build can take snapshots but not record.
-
Record all the time, or on motion
Set each camera to record by itself, into storage on your own device and nowhere else. Scrub a timeline, jump between motion events and save a clip. You set how much room it may take; the oldest recordings go first. On Android it goes on with Vigil closed, on desktop while Vigil runs.
-
Sync across your devices
Pair devices on the same Wi-Fi with a code, and their cameras stay the same, passwords included. Set up a TV from your phone instead of its remote. Everything is encrypted with a key only paired devices hold.
-
An old phone as a camera
Turn a spare Android phone or tablet into a camera. It streams to your own network only, with a password, and keeps going with the screen off. Your paired devices show it by themselves; VLC and Home Assistant can watch it too. It serves a smaller stream beside the full one, for other devices' grids, and films only while someone is watching either.
-
Home-screen widgets
Keep the latest picture from your cameras on your Android or iPhone home screen, and tap one to open it full screen. With the app lock on, widgets show a lock instead.
-
Android Auto
While parked, see a list of your cameras and a still picture of each, refreshed on demand. On your phone, the menu on Vigil's icon opens your first cameras.
-
Made for remotes
On Android TV the D-pad moves around the wall and pans and tilts in the viewer. On LG TVs the Magic Remote's pointer works too, and its wheel zooms in on what it points at.
-
Quick to come back
Streams pause in the background. Return within a few seconds and the picture is there at once. A camera that drops out keeps its last picture while it reconnects.
Point the camera at what you want to see
On a camera that can pan and tilt, the picture is the control. There's nothing to aim with but what you can see — and buttons for when there's no finger to aim with.
- Hold to centre. Press and hold what you want to see until a ring appears, then let go. The camera turns to bring it to the middle.
- Hold and drag to fine-tune. Press and hold, then drag without lifting your finger. The camera follows, as if you were dragging the picture, until it points exactly where you want.
- Use them together. How far a camera turns is typical rather than measured, so a first hold can land a little off. Hold and drag finishes the job.
- With a mouse, arrows. Dragging is a finger's way of aiming and the arrow keys are a keyboard's, so a pointer gets an arrow cross above the zoom buttons: hold one and the camera turns until you let go. It appears only once you use a mouse.
- Everything else. Tap to show or hide the controls, swipe sideways to change camera, double-tap to zoom in on a spot and back out, and pinch or use the mouse wheel to zoom. Holding works at normal zoom, with a mouse too.
Your cameras stay yours
Vigil needs no account. It talks to your cameras and, if you pair them, your own devices.
- App lock. Ask for a PIN when Vigil opens and after 30 seconds away. Where the device offers it, fingerprint, face or screen lock works too. While it's on, motion notifications don't show pictures.
- Passwords kept apart. They stay out of the camera list, in the Android Keystore, iOS Keychain or your desktop's keyring.
- Crash reports in the open. After a crash, Vigil shows you the report and offers to open it as a public GitHub issue. Camera addresses, names and passwords are taken out first, and nothing is sent unless you file it.
- One exception. Browsers have no secure store, so the web build keeps passwords in
localStorage.
Get Vigil
There are no downloads yet, so Vigil is built from source. You need JDK 21 or newer, the Android SDK, and Xcode for iOS.
git clone https://github.com/tiper/Vigil.git
cd Vigil
# Android and Android TV
./gradlew :androidApp:installDebug
# Desktop
./gradlew :desktopApp:run
# Web, into webApp/build/dist/web
./gradlew :webApp:assembleWebDistribution
- iPhone and iPad. Open
iosApp/iosApp.xcodeprojin Xcode and run theiosAppscheme. - Desktop. The first build compiles FFmpeg's decoders, which needs a C compiler and
pkg-config. There's nothing to install to run it. - LG TVs. Needs the webOS NDK and a TV in Developer Mode. See the TV app's guide.
- Everything else. The README covers the full details and a fake camera for development.
Not there yet
Worth knowing before you start:
- Android Auto only trusts apps from Google Play, so it isn't in the builds here yet.
- In browsers, RTSP needs a relay you run, and recording and sync aren't available.
- On iOS, motion alerts and recording stop soon after you leave Vigil, because the system stops background apps.
- Encrypted
rtsps://addresses work with a camera's own certificate: you check its fingerprint and trust it once on your phone, tablet or computer, and Vigil warns you if it changes. The TV follows what you trust there.