Live data from Hacker News

Screenshoteer – Command-line website screenshots and mobile emulations

github.com

11–20 of 32 posts

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

#11
post #3

Earlier quoted context omitted.

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.

That is super strange.. I never inserted 0.3.2. The current version is 1.0.1

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

#12
post #7

Maybe the interface could be simplified: you're always going to give it URLs so you can allow those as non-option arguments (also can you pass it multiple URLs?).

Seconding this, a very good suggestion to simplify the API.

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

#14
post #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 !

I just pushed the version 1.0.2 to npm. Now you can do this:

screenshoteer --url https://news.ycombinator.com/item?id=18598672 --el ".fatitem"

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

#15
post #3

Earlier quoted context omitted.

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.

The one that's 0.3.2 is called "screenshooter", while this tool is called "screenshoteer".

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

#16

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

I would really like to see this as well. We're looking to monitor a set of websites and all child pages (which change dynamically) to identify possible data leaks.

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

#17
post #15

Earlier quoted context omitted.

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.

The one that's 0.3.2 is called "screenshooter", while this tool is called "screenshoteer".

Oh. Well, that would explain.

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

#18

Earlier quoted context omitted.

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.

That is super strange.. I never inserted 0.3.2. The current version is 1.0.1

There's another NPM package with an almost but not quite similar name to yours.

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

#19
post #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.

I'll put it up once I get home from work and post it here (or maybe submit it as a new thread)
Post reply on HN