From 897ffbbbd036f842ca3870d8ea48c3bafc560ddf Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 19 Apr 2024 00:02:28 +0000 Subject: [PATCH] pipe: add to docs --- README.md | 11 ++++++++++- docs/versus.md | 4 ++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cfeabf73..604da5fb 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ turn almost any device into a file server with resumable uploads/downloads using * [file-search](#file-search) - dropping files into the browser also lets you see if they exist on the server * [unpost](#unpost) - undo/delete accidental uploads * [self-destruct](#self-destruct) - uploads can be given a lifetime + * [race the beam](#race-the-beam) - download files while they're still uploading ([demo video](http://a.ocv.me/pub/g/nerd-stuff/cpp/2024-0418-race-the-beam.webm)) * [file manager](#file-manager) - cut/paste, rename, and delete files/folders (if you have permission) * [batch rename](#batch-rename) - select some files and press `F2` to bring up the rename UI * [media player](#media-player) - plays almost every audio format there is @@ -206,6 +207,7 @@ also see [comparison to similar software](./docs/versus.md) * ☑ write-only folders * ☑ [unpost](#unpost): undo/delete accidental uploads * ☑ [self-destruct](#self-destruct) (specified server-side or client-side) + * ☑ [race the beam](#race-the-beam) (almost like peer-to-peer) * ☑ symlink/discard duplicates (content-matching) * download * ☑ single files in browser @@ -631,7 +633,7 @@ up2k has several advantages: > it is perfectly safe to restart / upgrade copyparty while someone is uploading to it! > all known up2k clients will resume just fine 💪 -see [up2k](#up2k) for details on how it works, or watch a [demo video](https://a.ocv.me/pub/demo/pics-vids/#gf-0f6f5c0d) +see [up2k](./docs/devnotes.md#up2k) for details on how it works, or watch a [demo video](https://a.ocv.me/pub/demo/pics-vids/#gf-0f6f5c0d) ![copyparty-upload-fs8](https://user-images.githubusercontent.com/241032/129635371-48fc54ca-fa91-48e3-9b1d-ba413e4b68cb.png) @@ -697,6 +699,13 @@ clients can specify a shorter expiration time using the [up2k ui](#uploading) -- specifying a custom expiration time client-side will affect the timespan in which unposts are permitted, so keep an eye on the estimates in the up2k ui +### race the beam + +download files while they're still uploading ([demo video](http://a.ocv.me/pub/g/nerd-stuff/cpp/2024-0418-race-the-beam.webm)) -- it's almost like peer-to-peer + +requires the file to be uploaded using up2k (which is the default drag-and-drop uploader), alternatively the command-line program + + ## file manager cut/paste, rename, and delete files/folders (if you have permission) diff --git a/docs/versus.md b/docs/versus.md index 90c8f3ff..546e1a9f 100644 --- a/docs/versus.md +++ b/docs/versus.md @@ -161,6 +161,7 @@ symbol legend, | upload verification | █ | | | █ | █ | | | | █ | | | | | | upload deduplication | █ | | | | █ | | | | █ | | | | | | upload a 999 TiB file | █ | | | | █ | █ | • | | █ | | █ | ╱ | ╱ | +| race the beam ("p2p") | █ | | | | | | | | | • | | | | | keep last-modified time | █ | | | █ | █ | █ | | | | | | █ | | | upload rules | ╱ | ╱ | ╱ | ╱ | ╱ | | | ╱ | ╱ | | ╱ | ╱ | ╱ | | ┗ max disk usage | █ | █ | | | █ | | | | █ | | | █ | █ | @@ -181,6 +182,8 @@ symbol legend, * `upload verification` = uploads are checksummed or otherwise confirmed to have been transferred correctly +* `race the beam` = files can be downloaded while they're still uploading; downloaders are slowed down such that the uploader is always ahead + * `checksums provided` = when downloading a file from the server, the file's checksum is provided for verification client-side * `cloud storage backend` = able to serve files from (and write to) s3 or similar cloud services; `╱` means the software can do this with some help from `rclone mount` as a bridge @@ -283,6 +286,7 @@ symbol legend, | self-updater | | | █ | | | | | | | | | | █ | | log rotation | █ | | █ | █ | █ | | | • | █ | | | █ | • | | upload tracking / log | █ | █ | • | █ | █ | | | █ | █ | | | ╱ | █ | +| prometheus metrics | █ | | | █ | | | | | | | | █ | | | curl-friendly ls | █ | | | | | | | | | | | | | | curl-friendly upload | █ | | | | | █ | █ | • | | | | | |