Skip to content
/ earthview Public

Sets a random satellite image from Earth View with Google as a wallpaper.

License

Notifications You must be signed in to change notification settings

dqbd/earthview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EarthView

Sets a random satellite image from Earth View with Google 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

import {
  scrap,      // fetch newest images
  wallpapers, // cached list of wallpapers
  random,     // get random image
} from 'earthview'

const randomImage = random() 

scrap().then(wallpapers => { /* ... */ })

About

Sets a random satellite image from Earth View with Google as a wallpaper.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published