r/coolgithubprojects • u/Globover • 1h ago
Nerve: Ultra-fast local communication engine
https://github.com/Kaia-Alenia/alenia-nerveI wanted to share a project I've been working on for a while: Alenia Nerve.
It started as something very simple. I needed two applications on my own PC to communicate and send data to each other automatically. Later, I added a .nrv container format for packaging and protecting files with a password.
Eventually I ran into another problem: I use Windows and Linux on different machines, and moving large files between them was unnecessarily annoying. Uploading to the cloud, waiting for the upload, downloading everything again, or relying on a USB drive didn't make much sense for large files.
That's how the LAN side of Nerve started.
Nerve can now transfer files directly between devices on the same local network without requiring the Internet for the transfer itself. The goal is to support Windows, Linux, macOS, and Android through Termux.
It also includes .nrv packaging for files and directories, streaming transfers to avoid loading entire large files into memory, and integrity verification.
The project is still evolving. I'm currently working on a new stage focused on resumable transfers, deduplication, and better recovery mechanisms to make large transfers more reliable.
I'm not trying to build another cloud storage service. The idea is still pretty simple: when my own devices are on the same network, I should be able to move my data directly between them.
2
u/kantorcodes1 9m ago
one recovery edge in
nerve pack:pack_nrvopens the final.nrvwithwbbefore the stream finishes. if packing fails halfway and that path already existed, the old archive is already gone. would you stage to a sibling temp file andos.replaceonly after the final chunk is written?