In her blog post, Charlie explains her code in greater detail, noting that it draws inspiration from AirplaneJS and rtlsdr.js. She explains how the Web USB API works, how to process the raw ADS-B data, and what her final setup looks like.
A demo site that you can use to directly connect to your RTL-SDR is available here.
In the past we've seen other WebUSB projects, like "aprs-sdr" which creates an APRS repeater system using a HackRF.
Most interestingly the software works via the WebUSB interface, which allows for USB devices like a HackRF SDR to connect directly to the software through USB via the Chrome web browser. So no external app or software needs to be downloaded, all you need to do to run the code is open the hosted aprs-sdr page at https://xakcop.com/aprs-sdr with a Chrome browser, and connect the HackRF to your device.
Radoslav writes further:
The tracker is using the HTML Geolocation API to fetch the device’s location and WebUSB to talk with the SDR. The code which generates the packets is written in C++ and compiled to WASM. You can find the source at https://github.com/rgerganov/aprs-sdr.
And now to some results. I have successfully transmitted packets from my home to LZ0DOE (15km away!) using my Pixel phone, HackRF and ANT500. I find it amazing given the low TX power of HackRF.
Radoslav also notes that in the future he hopes to add other SDRs as well. He also notes that the script seems to work best on desktop Chrome. On mobile Chrome there may be a bug which stops transmission after a few packets.