Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makew0rld/lannet
A little web on the LAN
https://github.com/makew0rld/lannet
Last synced: 2 months ago
JSON representation
A little web on the LAN
- Host: GitHub
- URL: https://github.com/makew0rld/lannet
- Owner: makew0rld
- License: gpl-3.0
- Created: 2021-06-30T19:00:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-20T17:05:48.000Z (about 1 year ago)
- Last Synced: 2024-10-26T22:25:42.827Z (2 months ago)
- Language: Go
- Size: 52.7 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# lannet
Lannet creates a little web on the LAN. It runs a fileserver daemon in the background, and hosts a homepage that links to other lannet servers on the same network.
Here's the view of the homepage, with one other lannet server on the network:
![homepage](screenshots/homepage.png)
By default the server serves files from the `~/lannet` folder, but any root path can be set.
I see lannet as being useful in a classroom environment. Many students are on the same LAN, developing websites, and with lannet they have immediate access to a web server with no config, and can easily check out the websites of their classmates at any time, with no need to type in IP addresses.
```
lannet - a little web on the LANCommands:
lannet
Start the daemon if needed, and open the homepage.lannet version
View the version information of lannet.lannet stop
Stop the daemon if runninglannet root my/path
Change the webserver root from ~/lannet to my/pathlannet name [new-name]
View the current name, or set it to a new one
```Download binaries for lannet on [releases page](https://github.com/makeworld-the-better-one/lannet/releases).
## Building from source
**Requirements:**
- Go 1.16 or later
- GNU MakePlease note the Makefile does not intend to support Windows, and so there may be issues.
```shell
git clone https://github.com/makeworld-the-better-one/lannet
cd lannet
# git checkout v1.2.3 # Optionally pin to a specific version instead of the latest commit
make # Might be gmake on macOS
sudo make install # If you want to install the binary for all users
```Because you installed with the Makefile, running `lannet version` will tell you exactly what commit the binary was built from.
## License
Lannet is licensed under the GPLv3. See [LICENSE](LICENSE) for details.