Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ecrmnn/spaceholder
🌅 Download placeholder images from public domain sources blazingly fast
https://github.com/ecrmnn/spaceholder
cli cli-app dummyimage fakeimg images lorem-pixel placeimg public-domain unsplashed
Last synced: 14 days ago
JSON representation
🌅 Download placeholder images from public domain sources blazingly fast
- Host: GitHub
- URL: https://github.com/ecrmnn/spaceholder
- Owner: ecrmnn
- License: mit
- Created: 2015-07-19T18:31:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-05-05T17:41:49.000Z (over 2 years ago)
- Last Synced: 2024-07-06T00:46:50.821Z (4 months ago)
- Topics: cli, cli-app, dummyimage, fakeimg, images, lorem-pixel, placeimg, public-domain, unsplashed
- Language: JavaScript
- Homepage: https://npmjs.com/spaceholder
- Size: 184 KB
- Stars: 25
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazingly-fast - spaceholder - 🌅 Download placeholder images from public domain sources blazingly fast (JavaScript)
README
#
> Download placeholder images from public domain sources blazingly fast
[![Travis](https://img.shields.io/travis/ecrmnn/spaceholder.svg?style=flat-square)](https://travis-ci.org/ecrmnn/spaceholder.svg?branch=master)
[![npm version](https://img.shields.io/npm/v/spaceholder.svg?style=flat-square)](http://badge.fury.io/js/spaceholder)
[![npm downloads](https://img.shields.io/npm/dm/spaceholder.svg?style=flat-square)](http://badge.fury.io/js/spaceholder)
[![npm license](https://img.shields.io/npm/l/spaceholder.svg?style=flat-square)](http://badge.fury.io/js/spaceholder)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)### What is it?
Spaceholder makes it easy to download placeholder images when you need them.
Images are downloaded from Picsum.photos, PlaceIMG.com, Dummyimage.com, Fakeimg.pl.### Installation
Spaceholder requires that you have Node.js installed on you computer
```bash
npm install -g spaceholder
```### Usage
```bash
spaceholder
# Downloads 1 image (1024x768px) into current directory
```
```bash
spaceholder -n 100
# Downloads 100 images into current directory
```
```bash
spaceholder -s 800x600
# Downloads 1 image (800x600px) into current directory
```
```bash
spaceholder -n 50 -s 800x600 -p LoremPicsum
# Downloads 50 images (800x600px) from LoremPicsum into current directory
# If no --provider / -p is specified, each image is downloaded from a random provider
```### Providers / Sources
- [Dummy Image](http://dummyimage.com)
- [FakeImg](fakeimg.pl)
- [Picsum Photos](http://picsum.photos)
- [PlaceImg](http://placeimg.com)### Contributors
- [mrtnsn](https://github.com/mrtnsn)### License
MIT © [Daniel Eckermann](http://danieleckermann.com)