Also available on Github: https://github.com/Seednode/roulette
Go to file
Seednode b0ebf1177b Updated readme with more useful info 2022-10-18 16:58:15 -05:00
cmd Changed port type from int to uint16 2022-10-18 16:54:01 -05:00
licenses Added licenses 2022-09-09 19:01:52 -05:00
vendor Updated transitive dependencies 2022-10-13 11:19:34 -05:00
.gitignore Initial commit 2022-09-08 10:12:06 -05:00
LICENSE Initial commit 2022-09-08 10:12:06 -05:00
README.md Updated readme with more useful info 2022-10-18 16:58:15 -05:00
build.sh Replaced unquoted variable expansion with explicit splitting, to make shellcheck happy 2022-09-21 23:15:45 -05:00
go.mod Updated transitive dependencies 2022-10-13 11:19:34 -05:00
go.sum Updated transitive dependencies 2022-10-13 11:19:34 -05:00
main.go Initial commit 2022-09-08 10:12:06 -05:00

README.md

About

Sometimes, you just need a way to randomly display images from your filesystem.

Simply point this tool at one or more directories, and then open the specified port (default 8080) in your browser.

A new image will be selected if you open / directly, or if you click on any displayed image.

Browser history is preserved, so you can always go back to any previously displayed image.

Supported file types and extensions are jp[e]g, png, gif, and webp.

Builds available here.

Usage output

Usage:
  roulette <path> [path2]... [flags]
  roulette [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  version     Print version

Flags:
  -h, --help          help for roulette
  -p, --port uint16   port to listen on (default 8080)
  -r, --recursive     recurse into subdirectories
  -v, --verbose       log accessed files to stdout

Use "roulette [command] --help" for more information about a command.