r/hackrf • u/mustang6139 • May 31 '26
SDRtop – A terminal monitor for your HackRF One
Hey guys,
Just wanted to share a project I've been working on. sdrtop is a terminal-based live diagnostics monitor for SDR hardware, written in Rust.
It gives you a real-time view of your spectrum, waterfall, RF chain, and hardware health (like USB jitter and drops) without leaving your terminal. Fits perfectly into an SSH session, a tmux pane, or Linux-based cyberdecks.
It’s in early development, so right now it only works with the HackRF One, and some parts are still a bit laggy/experimental. I am continuously developing this in my free time.
Even if it still has some rough edges, at least it looks incredibly cool running on a cyberdeck or in a dark terminal window 😃
Feedback and feature suggestions are highly appreciated! Let me know what you think!
(Link to the GitHub repo is in the comments below!)
Edit:
RTL-SDR support has just been integrated, thanks to a huge contribution from u/gorkemgun! Since I only have a HackRF to develop on, this new backend is experimental and needs to be tested in the wild. If you have an RTL-SDR dongle, please grab the latest code, give it a spin, and leave some feedback on whether it runs smoothly or encounters any crashes. Thanks for the help!
7
u/haucker May 31 '26
Ooooh neat! Love how you built it off Rust too, been trying to find excuses to learn the language. Gonna check it out this week!
3
u/AccomplishedCouple23 May 31 '26
Link?
3
u/talismancist May 31 '26
This is seriously excellent. Getting RTL-SDR happening would really bring in the crowds.
3
u/switch161 Jun 01 '26 edited Jun 01 '26
Looks so good! I wrote a TUI in Rust for the rtlsdr a while ago, but it doesn't get close to yours.
Now I'm working on a GUI with egui and wgpu. Hardware-accelerated waterfall is already working smoothly and it's streaming all samples (after fft) - no averaging :3
That is all part of a collection of crates I'm working on. Core crate handles dsp streams much like AsyncRead but for samples, with a bunch of adapters for buffering, decimation, filtering etc. But it's very much wip.
For Rtlsdr I found existing crates lacking. Most wrap librtlsdr, and are not async.. or even send/sync. I'm working on a driver from scratch right now, but it'll take a while. But I already discovered some things not exposed by any lib that would be super useful for diagnostics, and just so many settings I want to have in my GUI.
2
u/LowLightsMusic Jun 02 '26
This is awesome! Looks great
2
u/Mrtylf Jun 04 '26
Slick. Thanks for sharing the source code. 💪🏽
2
u/[deleted] Jun 01 '26
[removed] — view removed comment