Skip to content

RF Workbench

by SEYSOFT · Version 0.9.0

Browser control panel for a HackRF One: live spectrum and waterfall, tune and listen, a channel scanner and an RF activity monitor, in Docker.

Docker Communications
RF Workbench

Overview

RF Workbench is a browser control panel for a HackRF One software-defined radio. It runs on a small Linux machine next to the radio, and you use it from any browser on your network: a phone, a tablet or a laptop. The pages have big touch-friendly buttons, a dark theme and sign-in with accounts.

It uses one HackRF and runs one instrument at a time. It measures radio signals from 1 MHz to 6 GHz. It does not detect anything else.

What it does

  • Spectrum: wide sweeps from 1 MHz to 6 GHz as a spectrum and a waterfall, with a catalogue of 48 bands and narrow-band views. Tune and listen (narrow FM, wide FM, AM). Save the last 30 seconds, or record.
  • Scanner: steps through the channels in a band (sweep), jumps to the strongest unknown signal (seek), visits idle channels, or hops at random. A survey mode learns the stations that are always on so they can be skipped.
  • RF Monitor: measures 15 fixed bands in turn at locked gains and shows electric field (V/m) and power density. It learns what is normal for each band and shows the change from normal in dB, with a 0 to 5 activity level. Tap a band to watch only that band. A rise smaller than 2.5 times the band's own jitter is not counted.
  • Dashboard: CPU, memory and temperature gauges, the clock, uptime, load and disk, and one big tile per instrument showing READY, RUNNING or OFFLINE.
  • Accounts: a first-run setup page creates the main administrator, then an admin panel manages accounts, passwords and admin rights. There is no public registration.

How it is built

One Docker container runs php-fpm, nginx, a Laravel app and a radio supervisor. Python workers read the HackRF and stream results to your browser over a WebSocket, and nginx checks your sign-in before it opens that connection. The database is SQLite. Everything (database, recordings, calibration, app key) lives in one Docker volume, so updating keeps your data. The container is not privileged. It gets the USB bus and a cgroup rule for USB devices only.

Limits (also stated in the app)

  • A HackRF is not a calibrated instrument. Until a band is calibrated against a known source, absolute numbers (V/m, dBm) can be off by 10 dB or more. Changes from normal in dB are relative and don't depend on this.
  • It cannot measure mains-frequency (50/60 Hz) or static magnetic fields. It is weak below about 30 MHz and cannot tune below 1 MHz.
  • A strong transmitter nearby can overload the receiver. The app flags those bands (HOT / OVER) and hides their numbers.

Good to know

  • You need a HackRF One and a Linux machine to plug it into. The maximum safe input is -5 dBm. Above that the hardware can be damaged, and calibrating with a signal generator needs enough attenuation.
  • Early release: it has so far been tested against simulated radio data. Behaviour with a real radio, real antenna and your local noise floor is still being confirmed, so treat readings as approximate.
  • Receiving some radio traffic is regulated in some countries. You are responsible for how you use it.
  • Until the setup page is completed, whoever opens the page first becomes the administrator. Do it right after you start it.
  • HackRF is a trademark of its owner. This is an independent product and is not made or endorsed by them. The Docker image contains third-party software (the HackRF tools, SoapySDR, Python libraries) under their own licences, and the image lists them.
  • You run it on your own systems, at your own risk.

Installation

You need an Ubuntu 22.04, 24.04 or 26.04 machine with the HackRF plugged in. Everything below runs on that machine.

Easiest: the helper script

  1. Copy the downloaded zip to the machine, then unzip it:
sudo apt install -y unzip
unzip -o ~/rf-workbench-project.zip -d ~/
  1. Run the helper. It asks for your sudo password, and the first build takes several minutes:
bash ~/rf-workbench/deploy/install-docker-ubuntu.sh

The script installs Docker from Docker's official apt repository if it's missing (and adds your user to the docker group), creates .env, opens port 7684 if the ufw firewall is on, builds and starts the app, then runs lsusb and hackrf_info so you can see whether the radio is found.

  1. Open http://<machine-ip>:7684.

By hand, if you already have Docker with Compose

cd ~/rf-workbench
cp .env.example .env
sudo docker compose up -d --build

First run

  1. Open http://<machine-ip>:7684. The setup page asks for the main administrator's email and a password (at least 10 characters, typed twice), then signs you in. Do this right after the container starts, because the first visitor becomes the administrator.
  2. To skip the page, set both RIG_ADMIN_EMAIL and RIG_ADMIN_PASSWORD in .env before the first start.
  3. To start over: sudo docker compose down -v (this deletes all saved data) and then sudo docker compose up -d --build.

Settings (.env, next to compose.yaml)

Setting Default Meaning
RIG_HTTP_PORT 7684 Port the web page is served on
RIG_BIND 0.0.0.0 Address to listen on. Use 127.0.0.1 behind your own reverse proxy
APP_URL http://localhost:7684 Set it to the address you actually open if you use a proxy
RIG_ADMIN_EMAIL, RIG_ADMIN_PASSWORD empty Both set: creates the administrator at first start and skips the setup page
TZ UTC Time zone

For HTTPS, if a browser feature needs it: sudo docker compose --profile https up -d, then open https://<machine>. See docker/Caddyfile.

Everyday commands (run in ~/rf-workbench)

sudo docker compose logs -f rig            # watch the log
sudo docker compose restart rig            # restart
sudo docker compose exec rig hackrf_info   # is the HackRF found?
sudo docker compose exec rig hackrf-check
sudo docker compose up -d --build          # update after unzipping a new version over the folder

Troubleshooting

Symptom Likely cause
HackRF NOT FOUND in the log Not plugged in, a bad cable, or /dev/bus/usb not passed to the container. On the host, lsusb must list 1d50:6089
error -71 in the host's dmesg A bad cable or port. Try another port and cable
On the bus but "could not be opened" Missing udev rules on the host (sudo apt install hackrf, then unplug and replug), or another program holds the device
Instrument tiles show OFFLINE The supervisor stopped. Check sudo docker compose logs rig, then restart
You get the login page, not setup An account already exists in the volume, or both RIG_ADMIN_* values are set in .env
Signed out right after login behind a proxy The proxy must send X-Forwarded-Proto and APP_URL must match the address you open
Port already in use Change RIG_HTTP_PORT in .env and run sudo docker compose up -d

Firmware is updated from the host, never from inside the container. If your HackRF is old, install the host tools (sudo apt install hackrf) and run hackrf_spiflash and hackrf_cpldjtag there first.

Windows: Docker inside WSL2 with a USB forwarding tool such as usbipd-win. macOS: Docker can't pass USB devices to containers, so it isn't supported with Docker.

Requirements

  • A HackRF One (and an antenna suitable for what you want to receive)
  • A Linux machine to plug it into: Ubuntu 22.04, 24.04 or 26.04
  • Docker with the Compose plugin (the helper script can install it)
  • Internet access for the first build
  • Port 7684 free on the host
  • Windows: Docker in WSL2 with USB forwarding (usbipd-win). macOS: not supported with Docker
  • Any modern browser on a phone, tablet or laptop

Versions

  • 0.9.0 Latest · Nov 23, 2026 · 203.8 KB

    SHA-256 a87d7d62d39930ab617302ca7b0291ab0c47225d1f32ab491e137044b13f4880

    Release notes

    First release. Browser control panel for a HackRF One: spectrum and waterfall (1 MHz to 6 GHz), tune and listen, channel scanner, RF activity monitor, dashboard, and accounts with an admin panel. Runs in one Docker container with SQLite.

To check a download, compare the SHA-256 above with sha256sum <file> on Linux and macOS, or Get-FileHash <file> in PowerShell. If they differ, download it again.

Software is provided as it is, and any open-source components keep their own licences. Need help with it? Contact support.

More software

View all →

Minimodem Admin Panel

SEYSOFT

A browser control panel for minimodem: send and receive data as audio modem tones using your computer's mic and speaker, no terminal needed.

Docker Communications
v1.0.0 Included

Ledgerline

SEYSOFT

Self-hosted business management for small businesses: sales, customers, expenses, inventory, vendors and employees in one Docker container.

Docker Business
v1.0.0 Included

Codesey

SEYSOFT

A small desktop operating system in your browser tab: windows, taskbar and built-in apps, with accounts and a one-container Docker install.

Docker Kiosk
v1.1.0 Included