Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pagepew

A tiny CLI to screenshot and record scrolling web pages using Playwright (Chromium).

  • shot: PNG screenshots (viewport or full page)
  • record: scrolling recordings to GIF or MP4 (via ffmpeg)
  • run: JSON flow scripts (clicks/waits/scroll/record) for SPAs and multi-page sites

Install

Global

npm i -g pagepew

One-off (no install)

npx pagepew shot https://example.com --out shot.png

Usage

Screenshot

pagepew shot https://example.com --out shot.png
pagepew shot https://example.com --full-page --out full.png
pagepew shot https://example.com --width 1280 --height 800 --out shot.png

Record scroll (GIF/MP4)

pagepew record https://example.com --scroll --speed 900 --fps 15 --duration 6 --out scroll.gif
pagepew record https://example.com --scroll --speed 900 --fps 30 --duration 6 --out scroll.mp4

Run a flow (SPA clicks, multi-step)

pagepew run flow.json       # there are example flows in examples/ directory

Notes

  • This application is in very early development and can be buggy. If you do notice some obvious bugs please report them I would be happy to work on it.
  • Contributions are welcome!

License

  • MIT

About

a tiny CLI for making screen recordings of websites

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages