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

airharvest

v0.2.2

Published

A tool to scan your network for RAOP and AirPlay bonjour services and send their details to an open central repository

Downloads

3

Readme

AirHarvest

The Apple AirPlay and RAOP protocols are the foundation of Apple TV and all AirPlay compatible hardware. The two protocols are continuesly evolving and new features are added all the time. Clément Vasseur did a fantastic job documenting most of the two protocols in 2012, but since then a lot have happended.

This project is a first step in trying to fully uncover the two protocols.

Each new OS release for Apple TV and AirPort Express introduces slight changes to the two protocols. So an important part of the reverse engineering is to get snapshots of how the different OS and hardware combinations expose them selfs on the network.

This project does just that.

Important note about privacy

Installing an running this software on your computer will collect and send information about all AirPlay and RAOP compatible devices on your network to a public database.

See below if you'd like to know what kind of information is collected.

Installation

This is a Node.js module, so if you don't already have Node.js installed, go ahead and do so first.

Then run the following to install AirHarvest:

npm install -g airharvest

If you are not comfortable with the command line, you can help by telling your friends about this project instead.

Note: This have not been tested on Windows and since it have binary dependencies, this might get tricky. Please open issues if you have any problmes installing or running this software.

Run it!

Just run the airharvest command from your command line :)

What does the collected data look like?

This is an example of what kind of RAOP data is collected:

{
    "type": "raop",
    "port": 5000,
    "txt": {
        "cn": "0,1,2,3",
        "da": "true",
        "et": "0,3,5",
        "ft": "0x5A7FFFF7,0xE",
        "md": "0,1,2",
        "am": "AppleTV3,1",
        "pk": "****************************************************************",
        "sf": "0x44",
        "tp": "UDP",
        "vn": "65537",
        "vs": "200.54",
        "vv": "2"
    }
}

This is an example of what kind of AirPlay data is collected:

{
    "type": "airplay",
    "port": 7000,
    "txt": {
        "deviceid": "***",
        "features": "0x5A7FFFF7,0xE",
        "flags": "0x44",
        "model": "AppleTV3,1",
        "pk": "****************************************************************",
        "srcvers": "200.54",
        "vv": "2"
    }
}

License

MIT