Skip to content

tankred/daily-painting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.standaard.be/ 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 891.be 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

Resources

Stars

Watchers

Forks

Packages

No packages published