Lanstash is a lightweight, special-purpose web server that exposes a directory tree to the network through a web UI.

Release page: https://codeberg.org/alpin/lanstash/releases/tag/v0.29

Version 0.29 introduces configless mode. When the binary is started without the path of a config file, it exposes the current directory and prints log messages in the terminal. The intended use case is for quickly and temporarily sharing files over the LAN, as opposed to running as a daemon.

Usage:

$ lanstash

Or to use a different port than the default 8080:

$ lanstash -p PORT

Then simply point a web browser at the IP of the computer where Lanstash is running, for example at http://192.168.1.101:8080/.