https://github.com/jcaesar/polaris-fuse
https://github.com/jcaesar/polaris-fuse
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jcaesar/polaris-fuse
- Owner: jcaesar
- Created: 2024-01-30T12:08:22.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-29T05:38:32.000Z (over 1 year ago)
- Last Synced: 2025-02-09T12:43:07.473Z (12 months ago)
- Language: Rust
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Polaris fuse mounter
Mount a polaris server as a local folder, to be used with any media player.
## Usage Example
```
$ mount-polaris ./polaris https://demo.polaris.stream demo_user <(echo demo_password)
$ mpv ./polaris/search/cyber
[file] This is a directory - adding to playlist.
Playing: sshfs/search/cyber/Chris Zabriskie - Abandon Babylon - 03 Where Have All the Cybertrackers Gone-.mp3
```
## Installation
* Via cargo: `cargo install --git https://github.com/jcaesar/polaris-fuse/`
* Via nix: `nix shell github:jcaesar/polaris-fuse`
## Caveats
* Implementation is rough
* Mostly single-threaded
* No proper caching
* No proper unmounting
* FUSE and polaris aren't a good fit
* No stable IDs that could be used as Inodes
* FUSE needs to know the file size to even return it in a directory list,
polaris doesn't offer a way of getting the size without requesting the file