A simple command line tool that lets you bulk download images from Unsplash, previously known as Unsplash Bulk Downloader
Bulksplash is now powered by the official Unsplash API. The new API gives us access to some new features, including:
- You can now download the featured images from Unsplash
- You can now download images with a specific search query
- You can now choose the orientation of the images
Additionally, the images are now saved in the images
folder grouped by the search term, or images/random
if no search term is supplied. The photo's file name will contain the photographer's Unsplash username and the photo's unique ID. This will allow you to keep adding new images to your existing folders.
To get started with Bulksplash, simply clone the repo, install the modules with npm install
and run node index
Prompts in the terminal will guide you through the options for downloading images, with some default values for quicker use. The prompts are as follows:
How many images (up to 50)?
- The number of images to retrieve. Defaults to 20What search term?
- A search term, or blank for random images. Defaults to blankOnly featured images?
- Should it only get featured images, curated by Unsplash? Defaults toYes
What orientation?
- What orientation should the images be? The options areMixed
,Portrait
,Landscape
,Squarish
, orCustom
.Mixed
will get images regardless of orientation, whileCustom
allows you to choose a specific width and height. Defaults toMixed
Width?
- For any orientation, choose the width of the returned images. This is required when theCustom
orientation is selected. Defaults to blank for original sizeHeight?
- ForCustom
orientation, specify a height. This option is not displayed if the orientation is notCustom
and a width is specified. Defaults to blank for original size
Please feel free to contribute to this tiny project and make it better :)