multrin
A simple micorservice for taking screenshots of websites.
Install
$ npm install multrin
Usage
Start server
multrin
Take a screenshot
https://<instance-url>/?url=<url>[&width=<width>&height=<height>&delay=<delay>]
Options
Name | Default | Description | Optional |
---|---|---|---|
url | null |
The website's url | ✖ |
width | 1200 |
The screenshot's width | ✔ |
height | 950 |
The screenshot's height | ✔ |
delay | 0 |
Delay after the network is idle | ✔ |
CLI
$ npm install --global multrin
$ multrin
Usage
multrin
Options
--port The port you want multrin to listen to [Default: 3000]
Examples
$ multrin --port 80
License
MIT © Tobias Herber