Vigil

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.

An illustration of Vigil's live grid on desktop, showing six invented example cameras with group filter chips above them. An illustration of the same cameras in Vigil at phone size.

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.

PlatformRuns onMJPEG and snapshotRTSP
Android phones and tabletsAndroid 7.0 or newerYesYes
Android TVSame app, on the TV launcherYesYes
iPhone and iPadiOS 15 or newerYesYes
DesktopmacOS, Windows, LinuxYesYes
WebChrome 119, Firefox 120, Safari 18.2 or newerCameras that send CORS headersThrough a relay you run
LG TVs EarlywebOS 4 or newer, native appYesYes, 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.

An illustration of Vigil's screen for adding a camera, showing the streams ONVIF detection found.

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.

An illustration of Vigil's fullscreen camera wall, nine invented example cameras with one outlined after an alert.

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 illustration of Vigil's full-screen viewer showing an invented front-door scene, with pan and tilt, saved positions and hold-to-talk.

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.

An illustration of Vigil on a phone, showing cameras in a grid.

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.

Your cameras stay yours

Vigil needs no account. It talks to your cameras and, if you pair them, your own devices.

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

Not there yet

Worth knowing before you start: