The initial motivation for creating this extension was to replace the dead ‘Dream After’ extension that I had been using many years.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
If you are new to the chrome extension development, I highly recommend reading the official document first.
https://developer.chrome.com/extensions
This is the reference for the available API from chrome.
https://developer.chrome.com/extensions/api_index
Download the source code, fill in the api value in the wallpaper.js
and weather.js
by registing the free developer program on PEXELS
and Open Weather
.
PEXELS: {
// url: 'https://api.pexels.com/v1/curated?',
url: 'https://api.pexels.com/v1/search?',
name: 'pexels',
key: ''
}
class Weather {
constructor() {
this.BASE = {
api: "https://api.openweathermap.org/data/2.5/onecall",
key: "",
};
Install the unpacked extension on the browser:
Open the Extension Management page by navigating to chrome://extensions.
Enable Developer Mode by clicking the toggle switch next to Developer mode.
Click the LOAD UNPACKED button and select the extension directory.
The released version can be installed on the Chrome App Store: https://chrome.google.com/webstore/detail/scenery-tab/nfbonabaanjojlhechnjjakifgdncbgb
Any ideas or development contributions are wellcome.