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

  • ArsonButCute@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 days ago

    Unironically, yes.

    I used to have every device on my network connected via smb share. Either I did something completely wrong or the protocol is just dog slow. Switched to filebrowser quantum with local mDNS resolution and haven’t looked back. Now when I need to move files from pc to pc over the network I just navigate in a browser to http://files.local/ and download them on the client machine. It is also significantly more friendly for my (non-techie) partner who often uses it to grab music from our shared digital music library to put on their MP3 player.

    • the_riviera_kid@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 days ago

      I’ve never had an issue with smb being slow. I do have an issue on my linux machines where it wont show thumbnail previews which is pretty annoying but I’ve never been bothered by it enough to figure out why.