Skip to content

lutzky/webdu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

01384e1 · Jun 9, 2021

History

45 Commits
Jun 9, 2021
Feb 20, 2021
Apr 13, 2019
Feb 20, 2021
Jun 9, 2021
Jun 8, 2021
Jun 8, 2021
Feb 20, 2021
Feb 20, 2021
Feb 21, 2021
Feb 21, 2021
Feb 20, 2021
Feb 20, 2021

Repository files navigation

webdu

Go codecov

WebDU is a simple web interface for disk usage.

Screenshot

Screenshot

Usage

Some variables to make the example simpler:

PORT=8099 # The default port
BASEPATH=/path/to/relevant/files # Whatever path you want

Then, either use directly:

go build webdu
./webdu --base_path $BASEPATH --port $PORT

...or with docker:

docker run -p $PORT:8099 -v $BASEPATH:/data:ro \
  lutzky/webdu --base_path=/data

Then point your browser at http://localhost:8099/.

Note that http://localhost:8099/any/path/at/all will work as well, which is useful for putting webdu behind a reverse proxy. See http://github.com/lutzky/wamc for an example.