GithubHelp home page GithubHelp logo

wangjun / webtorrent-share Goto Github PK

View Code? Open in Web Editor NEW

This project forked from binux/webtorrent-share

0.0 2.0 0.0 184 KB

share files via webtorrent

Home Page: http://bgm.binux.me

JavaScript 78.43% HTML 21.57%

webtorrent-share's Introduction

share files via webtorrent network

通过 WebTorrent 分享视频/文件

share files via WebTorrent

Features

  • 通过 WebTorrent P2P 地分享文件

  • 视频边下边播,支持弹幕!

  • 自动检测文件添加删除变动

  • Share files via WebTorrent p2p network.

  • Video streaming with danmu!!

  • 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-share's People

Contributors

binux avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.