JetKVM - Control any computer remotely
kvm
Go to file
Alex P b1f85db7de feat(audio): enhance error handling and add device health monitoring
- Implement robust error recovery with progressive backoff in audio streaming
- Add comprehensive device health monitoring system
- Improve ALSA device handling with enhanced retry logic
- Refactor IPC message handling to use shared pools
- Add validation utilities for audio frames and configuration
- Introduce atomic utilities for thread-safe metrics tracking
- Update latency histogram to use configurable buckets
- Add documentation for new metrics and configuration options
2025-08-26 12:51:11 +00:00
.devcontainer [#315] Updates: add advanced audio support 2025-08-02 02:23:37 +00:00
.github Fix: literal /home/vscode in cache paths 2025-08-22 21:49:15 +00:00
.vscode chore: add VSCode extensions for improved development environment (#509) 2025-05-23 14:38:15 +02:00
bin Release 202412292127 2024-12-29 21:27:42 +01:00
cmd refactor(audio): rename audio-server flag to audio-output-server for clarity 2025-08-23 12:18:33 +00:00
internal feat(audio): enhance error handling and add device health monitoring 2025-08-26 12:51:11 +00:00
resource [WIP] Performance Enhancements: move audion processing into a separate process 2025-08-22 12:04:30 +00:00
tools [WIP] Performance Enhancements: move audion processing into a separate process 2025-08-22 12:04:30 +00:00
ui refactor(audio): centralize config and remove debug logs 2025-08-25 16:49:48 +00:00
.gitignore [#315] Updates: add advanced audio support 2025-08-02 02:23:37 +00:00
.golangci.yml Improvements, Fixes: reduce mouse lag when audio is on 2025-08-04 23:29:47 +03:00
CODE_OF_CONDUCT.md Release 202412292127 2024-12-29 21:27:42 +01:00
DEVELOPMENT.md Docs: Updated documentation 2025-08-24 23:15:46 +00:00
LICENSE Release 202412292127 2024-12-29 21:27:42 +01:00
Makefile feat: improve custom jiggler settings and add timezone support (#742) 2025-08-24 22:54:26 +00:00
README.md Docs: Updated documentation 2025-08-24 23:15:46 +00:00
block_device.go network enhanecment / refactor (#361) 2025-04-16 01:39:23 +02:00
block_device_linux.go network enhanecment / refactor (#361) 2025-04-16 01:39:23 +02:00
block_device_notlinux.go network enhanecment / refactor (#361) 2025-04-16 01:39:23 +02:00
cloud.go [WIP] Fix: performance issues 2025-08-13 11:35:11 +00:00
config.go feat: improve custom jiggler settings and add timezone support (#742) 2025-08-24 22:54:26 +00:00
dc_metrics.go feat(metrics): adding prometheus metrics for dc power extension (#556) 2025-07-11 17:04:41 +02:00
dev_deploy.sh feat(usbgadget): add nil checks for gadget operations and cleanup tests 2025-08-25 22:24:41 +00:00
display.go Cleanup / Fix: linting errors, code formatting, etc 2025-08-02 17:45:24 +00:00
fuse.go refactor: update golintci-lint and linter issues 2025-04-13 03:55:30 +02:00
go.mod Added crontab scheduler for jiggler (#316) 2025-08-24 22:54:26 +00:00
go.sum Added crontab scheduler for jiggler (#316) 2025-08-24 22:54:26 +00:00
hw.go network enhanecment / refactor (#361) 2025-04-16 01:39:23 +02:00
input_rpc.go Fix: linter errors 2025-08-22 22:28:15 +00:00
input_rpc_test.go Fix: linter errors 2025-08-12 13:59:21 +00:00
jiggler.go feat: improve custom jiggler settings and add timezone support (#742) 2025-08-24 22:54:26 +00:00
jsonrpc.go refactor(audio): centralize config and remove debug logs 2025-08-25 16:49:48 +00:00
log.go network enhanecment / refactor (#361) 2025-04-16 01:39:23 +02:00
main.go refactor(audio): rename audio components for clarity and add validation 2025-08-26 10:42:25 +00:00
mdns.go network enhanecment / refactor (#361) 2025-04-16 01:39:23 +02:00
native.go [#315] Updates: add advanced audio support 2025-08-02 02:23:37 +00:00
native_notlinux.go Improvements, Fixes: reduce mouse lag when audio is on 2025-08-04 23:29:47 +03:00
native_shared.go Improvements, Fixes: reduce mouse lag when audio is on 2025-08-04 23:29:47 +03:00
network.go chore(network): fix linting error errcheck 2025-07-11 11:30:02 +02:00
ota.go Implement HTTP proxy option (#515). (#521) 2025-07-11 17:43:22 +02:00
prometheus.go Fix: go lint errors 2025-08-22 23:23:07 +00:00
publish_source.sh fix: Shell linting (#328) 2025-04-11 00:43:45 +02:00
remote_mount.go refactor: use structured logging 2025-04-11 00:43:46 +02:00
serial.go Improvements, Fixes: reduce mouse lag when audio is on 2025-08-04 23:29:47 +03:00
session_provider.go Separation of Concerns: Move the audio-related code into the audio internal package 2025-08-05 02:04:37 +03:00
terminal.go Improvements, Fixes: reduce mouse lag when audio is on 2025-08-04 23:29:47 +03:00
test_usbgadget feat(usbgadget): add nil checks for gadget operations and cleanup tests 2025-08-25 22:24:41 +00:00
timesync.go network enhanecment / refactor (#361) 2025-04-16 01:39:23 +02:00
usb.go feat(usbgadget): add nil checks for gadget operations and cleanup tests 2025-08-25 22:24:41 +00:00
usb_mass_storage.go chore: create images folder when starting the application (#437) 2025-05-13 21:13:21 +02:00
version.go feat: add command to show version (#604) 2025-07-11 11:32:46 +02:00
video.go Cleanup / Fix: linting errors, code formatting, etc 2025-08-02 17:45:24 +00:00
web.go feat(audio): implement comprehensive audio optimization system 2025-08-24 22:33:49 +00:00
web_tls.go fix: ensure certStore is initialised when adding custom cert (#639) 2025-06-30 18:58:39 +02:00
webrtc.go Fix: linting errors 2025-08-24 23:36:29 +00:00
wol.go chore: add metrics for configuration and WOL (#193) 2025-07-11 18:14:32 +02:00

README.md

JetKVM is a high-performance, open-source KVM over IP (Keyboard, Video, Mouse, Audio) solution designed for efficient remote management of computers, servers, and workstations. Whether you're dealing with boot failures, installing a new operating system, adjusting BIOS settings, or simply taking control of a machine from afar, JetKVM provides the tools to get it done effectively.

Features

  • Ultra-low Latency - 1080p@60FPS video with 30-60ms latency using H.264 encoding. Smooth mouse, keyboard, and audio for responsive remote control.
  • First-Class Audio Support - JetKVM now supports bidirectional, low-latency audio streaming using a dual-subprocess architecture with ALSA and Opus integration via CGO. Features both audio output (PC→Browser) and audio input (Browser→PC) with dedicated subprocesses for optimal performance and isolation.
  • Free & Optional Remote Access - Remote management via JetKVM Cloud using WebRTC.
  • Open-source software - Written in Golang (with CGO for audio) on Linux. Easily customizable through SSH access to the JetKVM device.

Contributing

We welcome contributions from the community! Whether it's improving the firmware, adding new features, or enhancing documentation, your input is valuable. We also have some rules and taboos here, so please read this page and our Code of Conduct carefully.

I need help

The best place to search for answers is our Documentation. If you can't find the answer there, check our Discord Server.

I want to report an issue

If you've found an issue and want to report it, please check our Issues page. Make sure the description contains information about the firmware version you're using, your platform, and a clear explanation of the steps to reproduce the issue.

Development

JetKVM is written in Go & TypeScript, with some C for low-level integration. Audio support uses a sophisticated dual-subprocess architecture with CGO, ALSA, and Opus integration for bidirectional streaming with complete process isolation.

The project contains two main parts: the backend software (Go, CGO) that runs on the KVM device, and the frontend software (React/TypeScript) that is served by the KVM device and the cloud.

For comprehensive development information, including setup, testing, debugging, and contribution guidelines, see DEVELOPMENT.md.

For quick device development, use the ./dev_deploy.sh script. It will build the frontend and backend and deploy them to the local KVM device. Run ./dev_deploy.sh --help for more information.

Backend

The backend is written in Go and is responsible for KVM device management, audio/video streaming, the cloud API, and the cloud web. Audio uses dedicated subprocesses for both output and input streams, with CGO-based ALSA and Opus processing, IPC communication via Unix sockets, and comprehensive process supervision for reliability.

Frontend

The frontend is written in React and TypeScript and is served by the KVM device. It has three build targets: device, development, and production. Development is used for the cloud version on your local machine, device is used for building the frontend for the KVM device, and production is used for building the frontend for the cloud.