- cross-posted to:
- opensource@lemmy.ml
- cross-posted to:
- opensource@lemmy.ml
I ( @alpin@lemmy.ml ) started writing a small piece of software some time ago to easily host files on a local server and share them with any device equipped with a web browser or an HTTP client (curl, wget, etc.). I’ve been using it myself at home and I keep slowly working on it in my free time to add features and fix the problems that I find.
It’s very lightweight and fast, and it doesn’t require anything special to compile, just a Unix-like system, a C compiler, and a few standard utilities (sorry Windows users). It’s compiled into a single binary and that can be configured at compile time or with a config file.
For now it can only be used to download files from the hosting server, but I’m working on uploading, renaming, and deleting files.
Hopefully it can be useful to other people. Any (constructive) feedback is welcome!
Link with source code and instructions: https://codeberg.org/alpin/lanstash
OC by Developer @alpin@lemmy.ml



To be fair setting up a user account for a random file is a nuisance.
I run a simple web server for just this purpose. Anyone in the net can access my software folder via any browser, download whatever they need. Windows/Linux/Android apps, scripts, etc.
This way no user account is needed, I just send them a link. And the files are well-isolated by both the share the webserver connects through (read only) and then users can only access the files through the web server which doesn’t have any change capability.