odddollar / File-browser

Web interface for viewing a file system over a network
MIT License
11 stars 0 forks source link

Network File Browser

View and interact with a file system over a network with Network File Browser. A single binary file is all you need to host an entire directory through a beautiful web interface; all dependencies are included in the binary. Run it on a storage server to view and upload/download files without needing to install anything on a client device.

PLEASE NOTE: When uploading a file with the same name as an existing one, the existing file will be overwritten.

INSPIRATION: Inspired by the amazing Filebrowser program.

Features

Usage

To host a directory with Network File Browser, run the command: file-browser -v "[PATH]"

Use the -p flag to specify a port; 8080 by default.

(Optional) Set this command to run on device start-up to ensure that the desired path's web interface is always available.

Building

Pre-built binaries are available on the GitHub page.

git clone https://github.com/odddollar/File-browser.git
cd File-browser
go build

Use go build -ldflags="-s -w" in place of go build to produce a significantly smaller binary.

Technologies

Developed on Windows, but should work on Linux and Mac. I've tested with WSL2 and it seems to work, but further testing on a native Linux machine is probably necessary.

Screenshots

Home

Edit