Also available on Github: https://github.com/Seednode/roulette
Go to file
Seednode d5f645abff Added README 2022-09-16 14:52:59 -05:00
cmd Replaced --version with version subcommand 2022-09-16 14:48:30 -05:00
licenses Added licenses 2022-09-09 19:01:52 -05:00
vendor Moved from manually checking magic numbers to github.com/h2non/filetype 2022-09-09 19:00:02 -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 Added README 2022-09-16 14:52:59 -05:00
build.sh Initial commit 2022-09-08 10:12:06 -05:00
go.mod Moved from manually checking magic numbers to github.com/h2non/filetype 2022-09-09 19:00:02 -05:00
go.sum Moved from manually checking magic numbers to github.com/h2non/filetype 2022-09-09 19:00:02 -05:00
main.go Initial commit 2022-09-08 10:12:06 -05:00

README.md

Russian roulette for your media

About

Sometimes, you just need a way to randomly display files from one or more directories in your browser.

This tool is here to help.

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

A random file will be selected if you open the root URI directly (e.g. http://localhost:8080/), or if you click on any displayed image.

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

Builds available here.

Usage output

Usage:
  roulette <path1> [path2] ... [pathN] [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 int    port to listen on (default 8080)
  -r, --recursive   recurse into subdirectories
  -v, --verbose     log accessed files to stdout
      --version     version for roulette

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