npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

airplanejs

v1.4.2

Published

📡✈️ App that picks up ADS-B radio signals from airplanes and plots them in real time on a map in your browser

Downloads

63

Readme

AirplaneJS

📡 ✈️ An SDR app written in JavaScript that picks up ADS-B radio signals from airplanes and plots them in real time on a map in your browser ✨🐢🚀✨

Map with aircrafts plottet

Build status js-standard-style

Prerequisites

Hardware

This software requires an RTL-SDR USB dongle with an RTL2832U chip in order run. Here's a few that I like:

Disclaimer: I'm trying out the Amazon Affiliate Program to support my free open source work. So if you decide to buy an RTL-SDR dongle using one of the links above I'll be grateful (the search link should work as well).

For more information about buying RTL-SDR dongles, check out the RTL-SDR.com blog buyers guide.

Software

This software also requires that you have Node.js and librtlsdr installed on your system. You can install librtlsdr with most package managers which will ensure you have the right dependencies.

Homebrew (macOS):

brew install librtlsdr

Debian based Linux distros:

apt-get install librtlsdr-dev

Usage

The easiest way to run AirplaneJS is using the npx command that you'll have availble if you have Node.js 8+ installed. Simply plug in your RTL-SDR dongle and type:

npx airplanejs

This will download and run AirplaneJS without any hassle.

When AirplaneJS successfully have connected to the USB dongle, your default browser should automatically open to http://localhost:3000.

Alternatively install the module globally like in the old days:

  1. Install AirplaneJS globally:
    npm install airplanejs -g
  2. Run AirplaneJS:
    airplanejs

Options

The following options are available when running airplanejs:

  • --help - Show help (alias: -h)
  • --version - Output AirplaneJS version (alias: -v)
  • --device <index> - Select RTL dongle (alias: -d, default: 0)
  • --frequency <hz> - Set custom frequency (alias: -f, default: 1090000000)
  • --gain <gain> - Set custom tuner gain (alias: -g)
  • --auto-gain - Disable manual tuner gain (default: off)
  • --enable-agc - Use Automatic Gain Control (default: off)
  • --port <port> - Set custom HTTP server port (alias: -p, default: 3000)
  • --no-browser - Disable automatic opening of default browser

License

MIT