Added macos client
This commit is contained in:
13
README.md
13
README.md
@@ -7,12 +7,12 @@ Designed for streaming media (video, music) over the network.
|
|||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
```
|
```
|
||||||
furumi-server (gRPC + TLS) ←→ furumi-client-core ←→ furumi-mount-linux (FUSE)
|
furumi-server (gRPC + TLS) ←→ furumi-client-core ←→ furumi-mount-{linux,macos} (FUSE)
|
||||||
```
|
```
|
||||||
|
|
||||||
- **furumi-server** — exposes a directory over gRPC with auto-TLS, Bearer token auth, and Prometheus metrics
|
- **furumi-server** — exposes a directory over gRPC with auto-TLS, Bearer token auth, and Prometheus metrics
|
||||||
- **furumi-client-core** — cross-platform gRPC client library with attribute caching
|
- **furumi-client-core** — cross-platform gRPC client library with attribute caching
|
||||||
- **furumi-mount-linux** — mounts the remote directory locally via FUSE (read-only)
|
- **furumi-mount-linux** / **furumi-mount-macos** — mounts the remote directory locally via FUSE (read-only)
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
@@ -26,12 +26,18 @@ cargo build --release --workspace
|
|||||||
--token mysecrettoken \
|
--token mysecrettoken \
|
||||||
--tls-cert-out /tmp/furumi-ca.pem
|
--tls-cert-out /tmp/furumi-ca.pem
|
||||||
|
|
||||||
# Client — automatically uses TLS, trusts server certificate
|
# Client (Linux) — automatically uses TLS, trusts server certificate
|
||||||
./target/release/furumi-mount-linux \
|
./target/release/furumi-mount-linux \
|
||||||
--server server-ip:50051 \
|
--server server-ip:50051 \
|
||||||
--token mysecrettoken \
|
--token mysecrettoken \
|
||||||
--mount /mnt/remote
|
--mount /mnt/remote
|
||||||
|
|
||||||
|
# Client (macOS)
|
||||||
|
./target/release/furumi-mount-macos \
|
||||||
|
--server server-ip:50051 \
|
||||||
|
--token mysecrettoken \
|
||||||
|
--mount /Volumes/remote
|
||||||
|
|
||||||
# Use it
|
# Use it
|
||||||
ls /mnt/remote
|
ls /mnt/remote
|
||||||
mpv /mnt/remote/video.mkv
|
mpv /mnt/remote/video.mkv
|
||||||
@@ -80,6 +86,7 @@ Available at `http://<metrics-bind>/metrics`:
|
|||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- Linux with `libfuse3-dev` and `pkg-config` (for client)
|
- Linux with `libfuse3-dev` and `pkg-config` (for client)
|
||||||
|
- macOS with `macFUSE` installed (for macOS client)
|
||||||
- Rust 2024 edition
|
- Rust 2024 edition
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
Reference in New Issue
Block a user