jLynx/BrowSDR
Tentang
Penerima SDR berbasis web
Proyek lainnyaYang dapat Anda lakukan
- ๐ฏ Multi-VFO Mastery Tune into multiple frequencies simultaneously! Create an unlimited number of Virtual Frequency Oscillators (VFOs), each with independent demodulation, volume, squelch, and DSP settings. Listen to multiple broadcasts without dropping a single packet.
- โก High-Speed Rust & WASM Architecture Built for raw performance. FFT and DSP pipelines are written in Rust and compiled to WebAssembly (WASM). Running inside Web Workers off the main thread ensures a crystal-clear, smooth UI and buttery 60 FPS performance, even with multiple active VFOs.
- ๐๏ธ Live Transcribe Built-in AI-powered live transcription of demodulated audio right in your browser.
- ๐ POCSAG Decoder Instantly decode paging networks straight from the UI.
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +1
- dalam 15 hari
- +3
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli๐ป BrowSDR
A blazing fast, next-generation browser-based Software Defined Radio (SDR) receiver for HackRF, HackRF Pro, RTL-SDR, Airspy, LimeSDR, and PlutoSDR devices. Connect a compatible SDR directly to your browser via WebUSB and tune into FM, AM, SSB, CW, and more โ no drivers, no native software, no hassle.
โจ Features
Enjoy the power of a desktop SDR platform fully within your web browser.
- ๐ฏ Multi-VFO Mastery Tune into multiple frequencies simultaneously! Create an unlimited number of Virtual Frequency Oscillators (VFOs), each with independent demodulation, volume, squelch, and DSP settings. Listen to multiple broadcasts without dropping a single packet.
- โก High-Speed Rust & WASM Architecture Built for raw performance. FFT and DSP pipelines are written in Rust and compiled to WebAssembly (WASM). Running inside Web Workers off the main thread ensures a crystal-clear, smooth UI and buttery 60 FPS performance, even with multiple active VFOs.
- ๐๏ธ Live Transcribe Built-in AI-powered live transcription of demodulated audio right in your browser.
- ๐ POCSAG Decoder Instantly decode paging networks straight from the UI.
- ๐ก๏ธ rtl_433 Sensor Decoder Live browser-side OOK/FSK decoding for supported weather sensors, remotes, TPMS, and other ISM devices. See the decoder build and reception guide.
- โ๏ธ ADS-B Aircraft and Live Map Decode 1090 MHz aircraft transmissions locally, with callsigns, altitude, ground speed, and live positions on an interactive map.
- ๐ข AIS Vessels and Live Map Decode Class A/B vessel transmissions on AIS A and AIS B, with vessel details, live positions, and ITU MID country lookup.
- ๐ Radiosonde Balloons and Live Map Decode Vaisala RS41 balloon GPS telemetry with altitude, movement, battery.
- ๐ต BLE Devices Passively discover nearby BLE advertisements with channel scanning, advertised names, service UUIDs and a live device list.
- โ๏ธ ACARS Aircraft Messages Decode VHF aircraft operational messages with registration, flight, label and searchable text.
- ๐ APRS Stations and Live Map Decode amateur radio position reports, messages, weather and telemetry on 1200-baud packet channels, with a live station map.
- ๐ Frequency Activity Visually spot active signals and quickly jump to transmissions using the dynamic frequency activity scanner and interactive waterfall display.
- ๐ Advanced Bookmarking System Save, organize, and quickly recall your favorite frequencies. Group your bookmarks into custom categories to effortlessly manage airbands, ham frequencies, repeaters, or emergency services.
- ๐ Real-time WebGL Waterfall & Spectrum Monitor the entire RF band visually with an ultra-responsive, GPU-accelerated waterfall and spectrum analyzer. Waterfall scrolling and spectrum smoothing are time-based: higher FPS makes animation smoother without speeding up the history. The 512-row waterfall retains approximately 25.6 seconds of continuous reception at every target.
- ๐ป Wide Demodulation Support Supports WFM, NFM, AM, USB, LSB, DSB, CW, and raw IQ modes.
- ๐ก RDS Decoding on the Fly Instantly decode station name, programme type, and radiotext on WFM signals.
- ๐ป FM HD Radio Listen to digital stereo broadcasts and select HD1โHD8 programs, with station information, song metadata and digital reception status.
- ๐๏ธ Full DSP Toolset Control squelch, noise reduction, de-emphasis, and stereo output per VFO.
- ๐ Remote Access Share all connected SDRs with others through one WebRTC link using PeerJS. Each remote user has independent VFOs on every receiver.
- ๐ก Multiple SDRs at Once Connect any number of compatible SDRs, including mixed device families. Each receiver has independent tuning, sample rate, gains, waterfall, and VFOs. Switch receiver tabs while audio from all enabled VFOs continues playing. Device settings stay in separate saved slots when USB serial numbers collide. WebUSB cannot distinguish identical devices across reloads if their enumeration order changes; assign unique serial numbers when possible for reliable physical-device matching.
๐๏ธ Planned Features
See the feature roadmap for requested additional radiosonde support, alongside completed APRS, ACARS, AIS, ADS-B and initial BLE features.
๐ How It Works
- WebUSB โ Communicates directly with your supported SDR device from Google Chrome or Edge.
- WebAssembly โ Signal processing (FFT, filtering, decimation, mixer, demodulation) is handled by RustFFT and highly optimized Rust code compiled to WASM.
- Web Workers โ Multi-threaded DSP via Comlink keeps the event loop entirely free of blocking tasks.
- WebGL โ Hardware-accelerated FFT rendering.
- Vue 3 โ A sleek, reactive UI powering complex per-VFO controls.
- Cloudflare Workers โ Fast edge-deployed static assets and API proxy.
(Note: WebUSB requires a secure context โ HTTPS or localhost)
๐ก Supported Devices
BrowSDR includes receive drivers for the following device families. Driver availability does not mean every model, firmware version, or feature has been hardware-tested.
| Device family | Models / variants | Notes |
|---|---|---|
| HackRF | HackRF One, HackRF Pro | Uses the HackRF WebUSB driver; compatible devices using the same protocol and recognized USB IDs may also work. |
| RTL-SDR | RTL-SDR Blog V3 and V4, compatible Nooelec and generic RTL2832U dongles | Supports R820T, R820T2, R828D, E4000, FC0012, FC0013, and FC2580 tuners. Includes Blog V4-specific tuner configuration. Compatibility depends on the tuner and recognized USB ID, not just the brand. |
| Airspy | Airspy One, R2, Mini | Includes an Airspy receive driver with device-reported sample rates. |
| Airspy HF+ | Airspy HF+ family | Includes a separate HF+ receive driver; individual variants still require hardware verification. |
| LimeSDR | LimeSDR-USB | Uses the LimeSDR WebUSB receive driver with gain and antenna controls. See the Windows setup below. |
| PlutoSDR | ADALM-PLUTO and compatible clones | Uses the PlutoSDR WebUSB receive driver with gain controls. See the Windows setup below. |
Use a WebUSB-capable browser such as Chrome or Edge, over HTTPS or localhost. On Windows, the SDR's USB interface may need WinUSB instead of a vendor or DVB-T driver. Close other applications using the device before connecting.
๐งฐ Tech Stack
| Layer | Technology |
|---|---|
| Frontend | TypeScript, Vue 3 (Options API), Vite |
| UI catalog | Storybook, shared Vue UI components |
| DSP | Rust, RustFFT, WebAssembly, Web Workers |
| Deployment | Cloudflare Workers (Wrangler) |
| Testing | Vitest, wasm-bindgen-test, cargo test |
| UI testing | Vue Test Utils, jsdom, Storybook browser interaction tests |
๐ ๏ธ Prerequisites
| Tool | Purpose | Install |
|---|---|---|
| Node.js | Build & dev server | Download from website |
| Rust | Compile WASM module | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh |
wasm32-unknown-unknown target |
Rust โ WASM | rustup target add wasm32-unknown-unknown |
| wasm-pack | Build & package WASM | cargo install wasm-pack |
| cargo-make | Task runner for Rust builds | cargo install --force cargo-make |
| A WebUSB-capable browser | Run the app (e.g., Google Chrome) | โ |
โ๏ธ Quick Start
# 1. Install dependencies
npm install
# 2. Build the WASM module (first time or after Rust changes)
npm run build:dsp
# 3. Start the local dev server
npm run dev
Then open http://localhost:5173 in Google Chrome or any WebUSB-supported browser.
To host in a directory such as https://example.org/sdr/, build with
npm run build -- --base=/sdr/. See self-hosting for
environment settings, server headers and backend configuration.
Shared UI and Storybook
Run npm run storybook to browse existing component variants at
http://localhost:6006. The app and Storybook use the same
stylesheet. See the UI component guide for component
contracts, examples, tests, and how to add future features.
Run npm run test:ui for component tests. After npx playwright install chromium,
run npm run test:storybook to render the catalog and check story interactions.
npm run build:storybook creates a standalone catalog in storybook-static/.
LimeSDR-USB and PlutoSDR on Windows
WebUSB needs these devices to use the WinUSB driver. If connecting fails with Access denied, install WinUSB with Zadig: for LimeSDR-USB, replace the Cypress CYUSB3 driver; for PlutoSDR, replace the driver on its IIO interface only (enable List All Devices). Do not replace drivers for USB hubs or unrelated devices, and switch back when native SDR applications need the original driver. See Chrome's Windows WebUSB requirements and the notes in limesdr and plutosdr.
IQ precision and recording size
Reception retains each driver's native sample precision: HackRF and RTL-SDR use 8-bit IQ, LimeSDR, Airspy and PlutoSDR retain their 12-bit sources in 16-bit containers, and Airspy HF+ retains its delivered 16-bit samples. Stop reception to select a lower IQ Precision under Radio โ Advanced on higher-resolution radios. This reduces sample detail and internal memory traffic. LimeSDR's separate USB Format controls wire packing; reducing IQ precision alone does not reduce USB traffic.
Tools โ IQ Recorder offers 8-bit, 16-bit, and normalized 32-bit float recording on higher-precision reception. 12-bit samples use 16-bit file storage; choosing 8-bit halves that file size. See IQ recording and IQ replay.
Automatic receive gains (LimeSDR and HackRF)
Use Auto set gains while receiving to adjust LimeSDR LNA, TIA and PGA, or HackRF LNA, VGA and RF amplifier, from sampled raw ADC RMS, peak and clipping measurements. It targets about โ22 dBFS RMS with at least 6 dB peak headroom, applies bounded adjustments, then holds the result steady. This is a receiver-wide setting shared by all VFOs. It works with muted audio. Cancel keeps the last applied gains; a measurement or USB error attempts to restore the starting gains. Manual gain controls remain available afterward. PGA displays its actual gain (register value minus 12 dB).
HackRF uses signed 8-bit IQ samples for these measurements. LNA changes in 8 dB steps (0โ40 dB), VGA in 2 dB steps (0โ62 dB); gain staging keeps them roughly balanced, following HackRF's gain recommendations. The RF amplifier is enabled only when levels remain low after substantial LNA/VGA gain, and disabled on ADC overload. Before enabling it, downstream gain is reduced to limit the level jump; fresh measurements account for its frequency-dependent gain. The existing Amp (14dB) label refers to this switch; current HackRF docs specify roughly 11 dB. Receiver and gain controls are disabled while adjusting; Cancel keeps the gains already applied.
This optimizes ADC level, not station SNR or antenna matching. Strong signals anywhere in the sampled band can limit gain, and analog overload before the ADC may not be detected. Reduce bandwidth or try manual gains if reception suffers.
๐ป Build Commands
| Command | Description |
|---|---|
npm run dev |
Start Vite dev server (http://localhost:5173) |
npm run build |
Build client assets into dist/ |
npm run build:mbelib |
Rebuild the DSD voice codec (requires Emscripten; optional for normal builds) |
npm run deploy |
Build and deploy to Cloudflare Workers |
npm run typecheck |
Run TypeScript type checking |
npm run test |
Run tests with Vitest |
Building the WASM Module
The Rust/WASM module must be built separately (requires Rust toolchain):
cd wasm/dsp
cargo make build # Build for web (output: wasm/dsp/pkg/)
Note: The WASM build outputs in
wasm/dsp/pkg/are committed to the repo, sonpm run deployworks seamlessly even without Rust installed on the CI/deployment machine.
๐ง Running the App
- Connect a supported SDR to a USB port and complete any required USB driver setup.
- Open the application and click Connect Device.
- Select your SDR from the device picker; pair a new device through the browser's USB prompt if needed.
- Set your desired Center Frequency and hit Play.
- Click anywhere on the spectrum or waterfall to instantly tune a new VFO, or manually add as many VFOs as you want!
- Customize the demodulation mode (WFM, NFM, AM, USB, etc.) and DSP settings for each VFO.
- Adjust the device-specific gain and antenna controls for optimal signal reception.
๐งช Testing
# TypeScript / Worker tests
npm run test
# Code checks and native Rust DSP tests (requires Rust/Cargo)
npm run check
# Native Rust DSP tests only
npm run test:dsp
# Rust / WASM tests
cd wasm/dsp
cargo make test
๐ฌ Community
Join the BrowSDR Discord community for setup help, hardware and antenna discussions, sharing receptions, and development chat.
๐ License
Licensed under the AGPL-3.0 โ see LICENSE for details.
Jelajahi proyek terkait
Memuatโฆ