This application is based on someone else's idea: put shower thoughts on pretty Earth images and configure your Chromecast to display them.
In order to connect to Reddit (the source), an "application" must be created on a Reddit account. Visit https://reddit.com/prefs/apps, create a "script" application. Take note of the client ID and client secret.
Create a file in gradle/config/secrets.gradle
that has the following
structure:
reddit {
client_id = 'the client ID from above'
client_secret = 'the client secret from above'
}
./gradlew run
Once the secrets are configured, running it is as simple as gradlew run
.