A simple OneDrive Slideshow designed to be run on Windows or Linux.
For pre-built binaries, look at the Artifacts attached to any successful build of main
.
The app will authenticate to OneDrive via the "Device Flow": it will provide a URL (that you will need to open on another device where you can log in to OneDrive) and a code to enter.
You will need to create a file called slideshow.txt
in the root of your OneDrive that configures the slideshow. This is a JSON file with the basic format of:
{
"directories":
[
"Pictures"
],
"interval": 5
}
directories
is the list of directories to search recursively for images.interval
is the approximate number of seconds between each image.
OneDrive Slideshow is built in Rust, so building it requires the Rust toolchain and then running:
cargo build --release