Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dqbd/earthview
Sets a random satellite image from Earth View with Google as a wallpaper.
https://github.com/dqbd/earthview
earthview scrap wallpaper
Last synced: 18 days ago
JSON representation
Sets a random satellite image from Earth View with Google as a wallpaper.
- Host: GitHub
- URL: https://github.com/dqbd/earthview
- Owner: dqbd
- License: mit
- Created: 2018-09-30T10:34:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-09-30T12:01:28.000Z (about 6 years ago)
- Last Synced: 2024-10-13T13:12:58.749Z (about 1 month ago)
- Topics: earthview, scrap, wallpaper
- Language: JavaScript
- Homepage:
- Size: 365 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EarthView
Sets a random satellite image from [Earth View with Google](http://earthview.withgoogle.com) as a wallpaper.
The dataset of the satellite images are scrapped beforehand using a script (see `install.js`) by calling multiple network requests. Feel free to fetch those images again.
## Usage
### As CLI
```
npm install -g earthview
earthview
```### As library
```js
import {
scrap, // fetch newest images
wallpapers, // cached list of wallpapers
random, // get random image
} from 'earthview'const randomImage = random()
scrap().then(wallpapers => { /* ... */ })
```