https://github.com/aureleoules/redditwallpaper
🖼 reddit as wallpaper
https://github.com/aureleoules/redditwallpaper
nodejs reddit wallpaper
Last synced: 2 months ago
JSON representation
🖼 reddit as wallpaper
- Host: GitHub
- URL: https://github.com/aureleoules/redditwallpaper
- Owner: aureleoules
- Created: 2018-02-09T10:51:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-09T11:04:19.000Z (over 8 years ago)
- Last Synced: 2025-03-06T03:45:38.418Z (over 1 year ago)
- Topics: nodejs, reddit, wallpaper
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reddit Wallpaper
Downloads and set your wallpaper as one random reddit post of a subreddit you choose.
## Usage
* Create a new Reddit App [here](https://www.reddit.com/prefs/apps)
* Create a .env file that looks like this:
```
CLIENT_ID=***
CLIENT_SECRET=***
REDDIT_USER=***
REDDIT_PASS=***
```
* Run using `node index.js`
* _Optionnaly_: You can change 3 **constants**:
* **LENGTH**: Number of submissions to fetch
* **PATH**: Where to save wallpapers
* **SUBREDDIT**: Which subreddit used to fetch wallpapers
## Librairies used
[Axios](https://github.com/axios/axios)
[Dotenv](https://github.com/motdotla/dotenv)
[Snoowrap](https://github.com/not-an-aardvark/snoowrap)
[Wallpaper](https://github.com/sindresorhus/wallpaper)
# Author
[Aurèle Oulès](http://aurele.oules.com)