awesome-touping

1.0.2 • Public • Published

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;

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.20latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.20
1.0.10
1.0.03

Package Sidebar

Install

npm i awesome-touping

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

20.5 MB

Total Files

33

Last publish

Collaborators

  • boatzhang