/random_wallpaper

Download random image from unsplash in HD resolution using golang.

Primary LanguageGoMIT LicenseMIT

image

Random wallpaper from unsplash

Download random image from unsplash in HD resolution using golang.

Installation

Clone the repository.

git clone https://github.com/Awan/random_wallpaper.git

Go to the directory where the project is cloned.

and build it.

go build wallpaper.go

If you want to build for android:

GOARCH=arm go build -ldflags="-s -w" wallpaper.go

Usage

wallpaper <some keyword>

For example, if you want to get some random mountains image:

wallpaper mountains