client for 'slideshow-api'
Find a file
2023-11-16 15:26:24 +01:00
.vscode initial commit 2023-11-16 15:26:24 +01:00
images initial commit 2023-11-16 15:26:24 +01:00
internal initial commit 2023-11-16 15:26:24 +01:00
.gitignore initial commit 2023-11-16 15:26:24 +01:00
go.mod initial commit 2023-11-16 15:26:24 +01:00
go.sum initial commit 2023-11-16 15:26:24 +01:00
LICENSE.md initial commit 2023-11-16 15:26:24 +01:00
main.go initial commit 2023-11-16 15:26:24 +01:00
README.md initial commit 2023-11-16 15:26:24 +01:00

slideshow

a simple cli application

requirements

configuration

configuration is entirely done via environment variables.

| variable | default | description | | SLIDESHOW_INTERVAL | 60 | the interval of the slideshow in seconds | | SLIDESHOW_DIRECTORY | "$HOME" | path to a directory containing images | | SLIDESHOW_RESOLUTION | | the resolution to which images are scaled (i.e. 1920x1080) | | SLIDESHOW_LOGLEVEL | "info" | the log level |

note: if no resolution is set the images will be displayed as they are (without any scaling).

available log levels:

  • debug
  • info
  • warning
  • error
  • fatal