Application connects to Reddit api to get images.
Available api endpoints:
- /random - fetches random image url from top 100 hot posts in a given subbreddit
- /history - fetches downloaded images history
Linux
export RedditApi__ClientSecret="<Your Reddit api client secret>"
docker-compose up -d --buildWindows
$env:RedditApi__ClientSecret = "<Your Reddit api client secret>"
docker-compose up -d --buildApplication runs on http://localhost:8080
By default application uses r/poland subbreddit. In order to change the subrreddit you have to change the value in appsettings.json.
"RedditApi": {
...
"Subreddit": "<type subreddit name e.g. bitcoin>"
...
}