https://github.com/pixelrobin/daily-wallpaper
🖼️ Scrape the Unsplash daily photo and set it as your wallpaper
https://github.com/pixelrobin/daily-wallpaper
Last synced: over 1 year ago
JSON representation
🖼️ Scrape the Unsplash daily photo and set it as your wallpaper
- Host: GitHub
- URL: https://github.com/pixelrobin/daily-wallpaper
- Owner: Pixelrobin
- License: mit
- Created: 2018-04-09T06:39:32.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T19:55:21.000Z (over 7 years ago)
- Last Synced: 2025-01-19T21:50:02.812Z (over 1 year ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# daily-wallpaper
Node script that scrapes the [Unsplash.com](https://unsplash.com/) photo of the day from their homepage and sets it as the desktop background. The official API doesn't seem to have a way of getting that photo.
This was meant for personal use, and can break at any time since it depends on the Unsplash DOM.
## Using it
Make sure you have [Node.js](https://nodejs.org/) and [Git](https://git-scm.com/) installed.
```
cd wherever/you/want
git clone https://github.com/Pixelrobin/daily-wallpaper.git
cd daily-wallpaper
npm install
```
Then, to run, simply do `node index` at the directory where everything was installed.
This will perform the action once. In my use case I just set it up to run at startup for me.
Currently only tested on windows, but should technically work on other platforms.
## Future plans
This was just a quick and dirty script for my needs, but maybe I'll take it further. Here are some ideas:
* Make it into a serverless function?
* Host it on an rss feed?
* Make a twitter bot?
* Make a desktop app?
* Add more options then use the actual [Unsplash Source](https://source.unsplash.com/) API?
* Make it an actual node module?
* Make it into a CLI?
## Contributing
Feel free to open up issues and make PRs if this is something you're interested in.
## Disclaimer
This is not offically associated with Unsplash in any way. Things can and probably will break eventually.