An open API service indexing awesome lists of open source software.

https://github.com/drylikov/bing-wallpaper-downloader

A simple script to download Bing's daily background images.
https://github.com/drylikov/bing-wallpaper-downloader

bing desktop-wallpaper ruby wallpaper

Last synced: about 1 month ago
JSON representation

A simple script to download Bing's daily background images.

Awesome Lists containing this project

README

        

# Bing Wallpaper Downloader.
A simple script to download Bing's daily background images.

# Requirements
- Ruby 2.3.1

# Usage
You can run the script with the following command:

```
./bing-wallpaper-download --destination=~/Pictures/Bing
```

You can specify the locale with the `locale` argument:

```
./bing-wallpaper-download --destination=~/Pictures/Bing --locale=en-GB
```

You can get previous images with `total` argument, where the value is the number of days back to go:

```
./bing-wallpaper-download --destination=~/Pictures/Bing --total=5
```

You can specify the resolution image you want using the `resolution` argument:

```
./bing-wallpaper-download --destination=~/Pictures/Bing --resolution=1920x1080
```

For help use the help flag:

```
./bing-wallpaper-download -h
```

```
$ ./bing-wallpaper-downloader.sh --destination=~/Pictures/Bing/ --total=5
Success: Downloaded 5 Bing wallpapers
- /Users/Denis/Pictures/Bing/2024-08-10.jpg
- /Users/Denis/Pictures/Bing/2024-08-09.jpg
- /Users/Denis/Pictures/Bing/2024-08-08.jpg
- /Users/Denis/Pictures/Bing/2024-08-07.jpg
- /Users/Denis/Pictures/Bing/2024-08-06.jpg
```