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

awesome-touping

v1.0.2

Published

Serve local video to support AirPlay across devices

Downloads

9

Readme

Awesome Touping

Boost the joy of your local video to smart TV through AirPlay!

Pick your local video, served as static resource with Content-Range supported, and open Safari automatically.

And after that, you can choose the Airplay button in video controls, to share video among all devices in your local network!

Usage

 npm install -g awesome-touping
> awesome-touping -h

awesome-touping <path>

serve local video file with an accessible url in local area network on MacOS. **
Mp4 only now.**

Positionals:
  path  the path of local video file                                    [string]

Options:
  -h, --help     Show help                                             [boolean]
      --version  Show version number                                   [boolean]
  -p, --port     Local port to serve from               [number] [default: 9527]

Example

# Serve the example.mp4
>  awesome-touping example.mp4               

# Same as before, serve the example.mp4, but with an explicit command `serve`
> awesome-touping serve example.mp4        

# Serve mp4 in an given port 3000, instead of default port 9527
> awesome-touping serve example.mp4 -p 3000  

Guidance

You are not using Safari

If you are using Chrome or other AirPlay-available browser, you will see this above the video:

Safari-Warning

Please copy the url and open it in Safari.

No Airplay Device Detected

If awesome-touping doesn't find any "AirPlay-able" device, you will see this beneath the video:

NoAirPlaDeviceWarning

Please check your device is working as expected, and is connected with a same network as your mac, which means both are in a same WiFi for most cases.

RoadMap

  • Support custom port and local ip address;
    • [x] custom port
  • Publish as homebrew package [WIP]
  • Support interactive command-line;
  • Support proxy for multiple video, with custom order;
  • Wrap an application on MacOS;