sindresorhus / pageres

Capture website screenshots
MIT License
9.68k stars 744 forks source link

Documentation - way to contribute and consume real-world code examples, cookbook #321

Open revelt opened 7 years ago

revelt commented 7 years ago

hi guys,

I know Sindre prefers to have Wiki's turned off, but currently there are not only no real-world examples (in my opinion at least), but there is not even a way to share code examples with others. Commonly wiki's usually perform that role, but it's turned off here.

I'm tinkering with Gulp and pageres and seemingly elementary things take quite some time to set up. It would be nice if somebody compiled the most common cases. You wouldn't start from scratch each time.

For example, I've got bunch of folders with one HTML file in each. I want to prepare two screenshots and place them besides the HTML - full size screenshot and a thumbnail. It's going slow to assemble this and I'd be happy to share the Gulp task with others once I nail that. Now, if I put that in my blog, peeps won't find it as much compared if it was placed here. Extending Readme is also not an option, it will be cramped soon.

Consider some way to let community contribute code examples.

cheers

sindresorhus commented 7 years ago

Wiki's are bad as anyone can add and edit anything without proper review. I would be happy to accept good recipes though. Could be in a recipes folder in the repo and linked to from the readme.