{"id":13802708,"url":"https://github.com/binux/webtorrent-share","last_synced_at":"2025-04-22T17:06:38.890Z","repository":{"id":142061302,"uuid":"48705437","full_name":"binux/webtorrent-share","owner":"binux","description":"share files via webtorrent","archived":false,"fork":false,"pushed_at":"2016-09-24T18:41:46.000Z","size":185,"stargazers_count":150,"open_issues_count":2,"forks_count":17,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-02-15T00:36:26.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://bgm.binux.me","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-12-28T18:03:39.000Z","updated_at":"2023-03-09T07:07:10.000Z","dependencies_parsed_at":"2024-01-13T10:42:33.215Z","dependency_job_id":"b8104be7-75ef-4a93-8b00-afe7e72564a3","html_url":"https://github.com/binux/webtorrent-share","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binux%2Fwebtorrent-share","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binux%2Fwebtorrent-share/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binux%2Fwebtorrent-share/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binux%2Fwebtorrent-share/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binux","download_url":"https://codeload.github.com/binux/webtorrent-share/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249279432,"owners_count":21242926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T00:01:50.769Z","updated_at":"2025-04-16T21:31:50.052Z","avatar_url":"https://github.com/binux.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"share files via webtorrent network\n==================================\n\n通过 [WebTorrent] 分享视频/文件\n\nshare files via [WebTorrent]\n\n\nFeatures\n--------\n\n* 通过 [WebTorrent] P2P 地分享文件\n* **视频边下边播，支持弹幕！**\n* 自动检测文件添加删除变动\n\n\n* Share files via [WebTorrent] p2p network.\n* Video streaming with [danmu](https://en.wikipedia.org/wiki/Bilibili#Features)!!\n* Watch files add/change/remove on specified path.\n\n\nUsage\n-----\n\n可能需要 node\u003e=6.0\nmay need node\u003e=6.0\n\n```\nnpm install binux/webtorrent-share -g\nwebtorrent-share [options] [glob]\n\n--port                      port of service\n--danmu_server              a [wilddog](https://www.wilddog.com/) (realtime message storage \u0026 push service) endpoint\n\n```\n\n默认会分享当前目录下的所有文件，你可以通过例如 `webtgorrent-share '/downloads/**/*.mp4'` 来指定分享 downloads 目录以及所有下级目录中的 mp4 文件\n\nIt will share every files in current path `./*` by default, you can specify the files by glob pattern:  \ne.g. `webtgorrent-share '/downloads/**/*.mp4'` which means every mp4 in zero or more subdirectores under downloads folder.\n\n\nLicense\n-------\nMIT\n\n\n[WebTorrent]:           https://github.com/feross/webtorrent\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinux%2Fwebtorrent-share","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinux%2Fwebtorrent-share","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinux%2Fwebtorrent-share/lists"}