Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binux/webtorrent-share
share files via webtorrent
https://github.com/binux/webtorrent-share
Last synced: about 2 months ago
JSON representation
share files via webtorrent
- Host: GitHub
- URL: https://github.com/binux/webtorrent-share
- Owner: binux
- Created: 2015-12-28T18:03:39.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-24T18:41:46.000Z (almost 8 years ago)
- Last Synced: 2024-02-15T00:36:26.301Z (7 months ago)
- Language: JavaScript
- Homepage: http://bgm.binux.me
- Size: 181 KB
- Stars: 150
- Watchers: 14
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
share files via webtorrent network
==================================通过 [WebTorrent] 分享视频/文件
share files via [WebTorrent]
Features
--------* 通过 [WebTorrent] P2P 地分享文件
* **视频边下边播,支持弹幕!**
* 自动检测文件添加删除变动* Share files via [WebTorrent] p2p network.
* Video streaming with [danmu](https://en.wikipedia.org/wiki/Bilibili#Features)!!
* Watch files add/change/remove on specified path.Usage
-----可能需要 node>=6.0
may need node>=6.0```
npm install binux/webtorrent-share -g
webtorrent-share [options] [glob]--port port of service
--danmu_server a [wilddog](https://www.wilddog.com/) (realtime message storage & push service) endpoint```
默认会分享当前目录下的所有文件,你可以通过例如 `webtgorrent-share '/downloads/**/*.mp4'` 来指定分享 downloads 目录以及所有下级目录中的 mp4 文件
It will share every files in current path `./*` by default, you can specify the files by glob pattern:
e.g. `webtgorrent-share '/downloads/**/*.mp4'` which means every mp4 in zero or more subdirectores under downloads folder.License
-------
MIT[WebTorrent]: https://github.com/feross/webtorrent