musithang/sdrtop
حول
Terminal monitor for SDR hardware - written in Rust. Early development.
أدوات التطويرالنمو المقاس للنجوم
- خلال 24 ساعة
- +١
- خلال 7 أيام
- +٣٣
- خلال 15 يومًا
- +٩٢
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل
sdrtop
A bench instrument for software defined radios, living in your terminal.
Spectrum, waterfall, and the measurements a plot cannot give you.
This project is supported by
Airspy · SDRplay · OpenSourceSDRLab
Via SoapySDR
Grey means written from the API, not from owning one. It should work. Nobody has told me either way yet, which is exactly as reassuring as it sounds. The honest version.
Install · Hardware · Full guide · Changelog
Hey there! This is my take on a terminal monitor for SDR hardware. Raw, real-time diagnostics from your radio, with a spectrum, a waterfall and a set of bench instruments, in a tmux pane, an SSH session, or the postage-stamp screen of a cyberdeck. I set out to print a few numbers. There is now a Friis noise figure model in here. I'm not entirely sure how that happened.
Honestly, I made it for you ❤️. Beat on it, open issues, send ideas and pull requests. This is an open table, not my private garage.
https://github.com/user-attachments/assets/af278500-24ff-4d98-8129-b421fd513a49
It's a terminal app, so brace yourself for the visual spectacle of monospace text in color. The only special effects are honest dBFS numbers.
Piconet follow · classic Bluetooth
One piconet, found by the access code at the start of every packet and read packet by packet. How it works
https://github.com/user-attachments/assets/a9c554c0-bb78-4ac9-9970-b569650d4d08
RDS demodulation · FM broadcast
Station name, programme type and RadioText, read off the 57 kHz subcarrier. How it works
https://github.com/user-attachments/assets/0586cbb9-a0e7-48e0-81b5-664c7c9cfd5a
What it does
- Spectrum and waterfall, plus the Command Rail cockpit: frequency, S-meter, SNR, noise figure and saturation on live traces.
- Four lab benches for what a plot can't answer: quadrature, front-end staging, timing, and what is that signal. Details
- A demodulator that reads radios: FM deviation, pilot, stereo, CTCSS, AM depth, RDS. Details
- NET: the 2.4 GHz band, measured. Bluetooth (BLE, LE Coded, classic) and Wi-Fi, decoded and held against the specification. Never transmits, never joins. Details
- IQ correction, band sweeps, SigMF recording, observer mode for a radio another app holds, and every lab panel marked [STALE] the moment its data stops being live.
- Research you can repeat: measurements made with monasd and a radio on a desk, each with its recipe and its method, for research and education only. The first: the flaw in the quartz, Bluetooth LE devices placed by their crystal's error. All of them
- monasd, the same engine with no screen: the radio in the attic, an HTTP API and a WebSocket to drive it and read every measurement the screen has, each with when it was taken and why it's missing when it is. It records SigMF, exports CSV, and when the radio goes away it waits for it to come back and writes down how long it was gone. Details · The API
Under the hood there are three names: Monas is the engine (the radio, the receivers, the measurements), sdrtop is the terminal on top of it, and monasd is Monas with no screen. You mostly only need the second one.
Because the only thing worse than no data is confidently wrong data.
Everything else, every key and every config field, is in the full user guide.
Install
curl -fsSL https://raw.githubusercontent.com/musithang/sdrtop/main/packaging/install.sh | sh
The installer takes the prebuilt binary, or compiles from source when that can't run on your machine, and puts monasd beside sdrtop while it's at it. Add your radio's runtime with sh -s -- --hackrf, --rtlsdr, --airspy, --airspyhf or --soapy; --sdrplay checks SDRplay's API and service. Piping a script into sh means running code you haven't read, so read it first: packaging/install.sh. I'd want to.
On Arch, from the AUR:
yay -S sdrtop-bin # or sdrtop, or sdrtop-git
With cargo, anywhere with Rust 1.88+ and a C compiler:
cargo install sdrtop --locked
cargo install monasd --locked # optional: the engine with no screen
sdrtop plays sound through your speakers out of the box. On Linux that needs the ALSA headers to build: libasound2-dev on Debian and Ubuntu, alsa-lib-devel on Fedora, alsa-lib on Arch. Don't want sound, or can't install them? cargo install sdrtop --locked --no-default-features builds a silent sdrtop that needs no library at all. No SDR library is needed to build either way; each radio's library is loaded at runtime, and a missing one disables only its own backend. Every flag, every distribution and the tarball by hand: Getting started.
First run: sdrtop opens on its menu. Enter takes a layout, Space starts receiving, Esc brings the menu back, q quits and saves. Every key: Keyboard shortcuts.
Supported hardware
| Device | Status |
|---|---|
| HackRF One, PortaPack H4M | ✅ Tested |
| RTL-SDR | ✅ Tested |
| Airspy R2 | ✅ Tested, measured |
| Airspy HF+ Discovery | ✅ Tested, measured |
| SDRplay RSP1B | ✅ Tested, measured |
| PlutoSky R2 | ✅ Tested, measured |
| tinySA / Ultra / Ultra+ | ✅ Spectrum (ZS405 tested) |
| Anything with a SoapySDR driver | 🧪 Beta, written from the API |
Native support lands only after testing on a real radio. The RSP1B came from SDRplay, the R2 and the HF+ Discovery from Airspy, and the PlutoSky R2 from OpenSourceSDRLab. Thank you all. How the radios differ: Supported hardware.
📡 (pst… you scrolled this far, might as well)
.
/=\
( |#| )
(( |#| ))
((( |#| )))
(( |#| ))
( |#| )
|#|
/|#|\
/ |#| \
/ |#| \
/___|#|___\
/ |#| \
'''''''''''''''
Yep, it's a radio tower. I'm a simple man, I see free time, I make ASCII art.
73 de sdrtop: ham-speak for "catch you later." 📻
Credits · Contributing · License: GPL-3.0-or-later
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…
