a simple tool to download images from unsplash.
Find a file
2023-11-23 14:53:12 +01:00
.vscode initial commit 2023-11-23 14:24:28 +01:00
internal initial commit 2023-11-23 14:24:28 +01:00
.gitignore initial commit 2023-11-23 14:24:28 +01:00
go.mod initial commit 2023-11-23 14:24:28 +01:00
go.sum initial commit 2023-11-23 14:24:28 +01:00
gosplash.sh removed echo statement 2023-11-23 14:53:12 +01:00
LICENSE.md initial commit 2023-11-23 14:24:28 +01:00
main.go initial commit 2023-11-23 14:24:28 +01:00
README.md initial commit 2023-11-23 14:24:28 +01:00

gosplash

a simple tool to download images from unsplash.

usage

gosplash [output]

note:
if [output] is not specified gosplash will download images to the current working directory with the name (slug) provided by unsplash.

api key

register an application for free to get your api key.

the api key must be provided to gosplash via the environment variable GOSPLASH_APIKEY!

environment variables

variable default description
GOSPLASH_APIKEY your api (access) key
GOSPLASH_QUERY limit selection to images matching the search term
GOSPLASH_COUNT 10 number of images to download (1-10)