A similar project with some nice features that I use is croc: https://github.com/schollz/croc
replies(3):
The file system access API is a great way to write chunks of a file at a gime, but for now Firefox doesn't support it
https://wicg.github.io/file-system-access/ https://mozilla.github.io/standards-positions/#native-file-s...
The server sends an application/octet-stream response and a few other headers and it works.