Live data from Hacker News

Screenshoteer – Command-line website screenshots and mobile emulations

github.com

1–10 of 32 posts

Re: Screenshoteer – Command-line website screenshots and mobile emulations

#3
post #2

Nice small project. This uses a chrome-headless on the background to perform the screenshot, isn't it? Also, you have included a .DS_Store file in your repository.

Yes, it uses puppeteer(headless chrome).

For the .DS_Store I totally forgot to put .gitignore :)

Re: Screenshoteer – Command-line website screenshots and mobile emulations

#5
Nice. I made something almost exactly like this using puppeteer as well except it took screenshots of all the pages of a site. It crawled first getting all site pages, then created a JSON config file that would be used to take screenshots with. I should really throw this up on GitHub as well.

Funnily enough, I called mine: Screenshotr

Re: Screenshoteer – Command-line website screenshots and mobile emulations

#6

Nice. I made something almost exactly like this using puppeteer as well except it took screenshots of all the pages of a site. It crawled first getting all site pages, then created a JSON config file that would be used to take screenshots with. I should really throw this up on GitHub as well. Funnily enough, I called mine: Screenshotr

Please do. Yours sounds a bit more comprehensive than the current state of OP's.

Re: Screenshoteer – Command-line website screenshots and mobile emulations

#9
post #3
post #2

Nice small project. This uses a chrome-headless on the background to perform the screenshot, isn't it? Also, you have included a .DS_Store file in your repository.

Yes, it uses puppeteer(headless chrome). For the .DS_Store I totally forgot to put .gitignore :)

The version from NPM is 0.3.2 but the GitHub docs are for 1.0.1? Looks like the --url option doesn't (yet) exist on NPM.

Re: Screenshoteer – Command-line website screenshots and mobile emulations

#10
Cool, I was just looking for something like this. A useful feature would be the possibility to screenshot a specific element only instead of the whole page (using something like https://github.com/GoogleChrome/puppeteer/blob/master/docs/a... ). Also an option to set the ouput filename is a must for scripting !
Post reply on HN