One app for your cameras and recorders: live view, recordings, events and each one's health, from any browser or as an app on your phone. It talks to each system directly, through a small server on your own network, so nothing goes through a vendor's cloud and old hardware stays useful after its own apps stop working.
- Raysharp-made recorders, such as the Swann DVR8-4575, which are sold under several brands. Their own apps and browser plugins no longer work in modern browsers.
- Any camera with a stream address, such as RTSP, or a still picture.
- Reolink cameras, hubs and recorders: live view, stills, motion and person, vehicle and animal detections, cameras that pan, tilt and zoom, and a hub or recorder's recordings.
- The camera in a Bambu Lab P1 or A1 printer, as a picture every few seconds, with what it records during prints and its timelapses.
- Live streams on web pages, such as a Twitch channel or a YouTube live stream, through yt-dlp: live view only.
The server records any of them to your own disk, and copies each source's own recordings in beside them.
- Live: every camera at once, or any number fewer at a time, with smart tiling, zoom, moving cameras that pan and tilt, picture settings and their sound.
- Recordings: a day's timeline, with several channels played together on one clock, playback up to 32 times, clips, stills and MP4 downloads.
- Events: motion, PIR, detections and alarms as they happen.
- Health: whether each system is reachable, its disks and each camera's signal, with problems pushed to your phone.
- For agents: the
kestrelCLI, with Code Mode and MCP.
The server runs go2rtc for the video, and the pages are built on Groundwork.
Kestrel comes for Arch, Debian, Ubuntu, Fedora and Windows, as a Home Assistant app and as a container image. See Install for each, and Running it to set up a server and pair your devices with it.
To run it from a checkout, you need mise:
mise install
mise run build
mise run serve:serverOpen https://server.kestrel.localhost. The docs in docs/ cover
the settings, the API and the protocol.
packages/core: what every source shares: how sources and cameras are named, what they report and the interface each kind implements, in TypeScript with Effectpackages/protocol-raysharp: the Raysharp recorders' control protocolpackages/source-raysharp: Raysharp recorders as a source, over that protocol and their RTSP streamspackages/source-stream: cameras you list by their stream addresses, such as RTSP, or a still picture, for live viewpackages/source-reolink: Reolink cameras, hubs and recorders, over their HTTP API and RTSP streamspackages/protocol-baichuan: Reolink's own protocol on port 9000, for replaying recorded filespackages/source-bambu: the camera in a Bambu Lab P1 or A1 printer, over its own picture feedpackages/source-web: live streams from web pages, such as Twitch or YouTube, through yt-dlp, for live viewpackages/protocol-ftp: an upload-only FTP receiver, for cameras that send their clips to the serverpackages/format-mp4: recorded video as MP4, written for the browser and read back as framespackages/nvr: records cameras' streams to disk with ffmpeg, in short files by day, clears out old recordings by age and disk space, and reads the folder backpackages/server: the server, with the API, go2rtc and recordingpackages/web: the web client, installable on a phonepackages/desktop: the desktop app, which runs the server and keeps it running in the traypackages/cli: thekestrelCLI, with Code Mode and MCP for agents, and its skilldocs: the docs site
mise run check # lint, types, formatting and the docs
mise run testWhere it's heading is in timmo001/kestrel#11.
