talira

Open and inexpensive DIY IP-KVM based on Raspberry Pi

open sourceGPL-3.0-onlyself-hostablefree

PiKVM is open source KVM-over-IP software that turns a Raspberry Pi (Pi 2 to Pi 5 and Zero 2 W) into a remote keyboard, video and mouse for another computer, so you can manage a server whatever state its operating system is in: change BIOS settings, reinstall the OS from a virtual CD/DVD or flash drive, or power-cycle it through an ATX board. It ships as PiKVM OS, a read-only Arch Linux ARM build with its own KVM packages (the kvmd daemon), and gives you a web UI with WebRTC, H.264 or MJPEG video at around 35-50 ms latency, plus VNC, IPMI, Redfish and an HTTP API. It also handles Wake-on-LAN, GPIO and USB relays, Bluetooth and PS/2 input, a mouse jiggler, and two-factor authentication. The same software runs the maker's own ready-made devices (PiKVM V3 and V4), which are sold separately; the DIY builds are free.

Problems it solves

  • get into the BIOS of my headless home server without walking over to it
  • reinstall the OS on a remote machine that won't boot
  • remote console for servers that don't have IPMI or iDRAC
  • power-cycle a frozen computer remotely
  • build a cheap KVM over IP with a Raspberry Pi
  • mount an ISO as a virtual USB drive on a remote machine to install Linux
  • control a remote machine's keyboard and screen from a browser with low latency
  • automate pressing keys and power buttons on test machines through an API
  • reach my homelab's console over Tailscale when the network on the host is down

Features

  • runs on Raspberry Pi 2, 3, 4, 5 and Zero 2 W
  • Full HD video through an HDMI-to-CSI bridge or a USB dongle
  • WebRTC, H.264-over-HTTP and MJPEG video, 35-50 ms H.264 latency
  • bootable virtual CD/DVD and flash drive, with images on NFS
  • USB keyboard and mouse, Bluetooth HID, PS/2 and a mouse jiggler
  • ATX power control
  • web UI and VNC access
  • IPMI BMC, IPMI SoL, Redfish and Wake-on-LAN
  • read-only PiKVM OS based on Arch Linux ARM
  • HTTPS out of the box, extensible authorization and two-factor authentication
View 3 more
  • GPIO and USB relay control
  • HTTP API
  • guides for Tailscale, NetBird and Cloudflare Tunnel access

Capabilities

Has an APIplan not known