tankred / daily-painting

Daily painting generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Daily (On Kawara) painting generator

Create app to generate a daily painting in html (see codepen)

  • 10 . clip some copy from NYT to accompany the html painting
  • 20 . publish a screenshot on your favorite img stream

Getting Started

automated screenshots with puppeteer

node .\take-screenshot.js

use chancejs on puppeteer projects install chance-cli Chance: usage

chance.company()

explore charlatan persona=generator

use npm pageres to create full page screenshots 6 ♦

npm install pageres-cli
pageres www.charlesverraest.be 1024x768 1366x768 #2 screenshots
pageres www.vives.be/vrijstellingen 1024x768 1366x768

Lab pageres > using pageres api

update pageres:

npm update -g pageres

Using a list of screen resolutions

pageres <url> < screen-resolutions.txt

SAMPLE:

pageres web.vives.be/webshop 1024x768 1366x768

modify click to specific page

Prerequisites

What things you need to install the software and how to install them

npm i -g puppeteer
npm install

Generating a daily painting

Get a screenshot

node --unhandled-rejections=strict src/index.js

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

Tankred

License

GPLv3 license

Acknowledgments

About

Daily painting generator


Languages

Language:JavaScript 100.0%