Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cybershadow/webtorrent-fuse
Mount a WebTorrent-streamed torrent as a local directory
https://github.com/cybershadow/webtorrent-fuse
Last synced: 17 days ago
JSON representation
Mount a WebTorrent-streamed torrent as a local directory
- Host: GitHub
- URL: https://github.com/cybershadow/webtorrent-fuse
- Owner: CyberShadow
- Created: 2024-12-28T13:45:47.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-12-28T13:46:01.000Z (about 1 month ago)
- Last Synced: 2025-01-13T15:56:14.658Z (21 days ago)
- Language: D
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
webtorrent-fuse
===============This program allows mounting a torrent, as streamed by [WebTorrent](https://github.com/webtorrent/webtorrent-cli) over HTTP, in a filesystem directory (using FUSE).
For some reason, the HTTP URLs exposed by WebTorrent have a flat, numbered layout, and do not correspond to the torrent's original directory structure. This program maps those URLs to files following the original directory structure.
In effect, this does roughly the same as [btfs](https://github.com/johang/btfs), but uses WebTorrent for streaming the torrent data.
Building
--------- Install [a D compiler](https://dlang.org/download.html)
- Install [Dub](https://github.com/dlang/dub), if it wasn't included with your D compiler
- Run `dub build -b release`Usage
-----```shell
# 1. Start WebTorrent
$ webtorrent https://.../my-data.torrent# 2. Create a directory where webtorrent-fuse will be mounted
$ mkdir ~/my-data# 3. Run webtorrent-fuse
$ webtorrent-fuse ~/my-data
```By default, `webtorrent-fuse` will mount data at the default WebTorrent URL (`http://127.0.0.1:8000`), but this can be overridden - run with `--help` for details.