Skip to content
Nat Lee

Keyboard shortcuts

Turn these off if they get in the way of a screen reader or voice control. The setting is saved in this browser.

1
Home
2
Projects
3
About
4
Experience
/
Search projects
?
Show this panel

Web Automation

pyppeteer-snap

Website Screenshot Tool

The original Pyppeteer screenshot helper. Archived; new work uses playwright-snap with the same function names, arguments and return types.

Role
Creator & Maintainer
Period
2020 – 2021
Status
Archived
Theme
Libraries & tools
pyppeteer-snap, screenshot 1

Overview

A Python helper returning website PNG and PDF snapshots as base64. The project is archived because its Pyppeteer browser dependency is no longer maintained. Its successor, playwright-snap, keeps the same API with Playwright-driven Chromium.

Results

  • API carried forward by playwright-snap

Features

  • PNG and PDF snapshots as base64
  • Python API and command-line interface
  • Libraries & tools7070 stars on GitHub

    Blur-Generator

    Makes perfectly good images worse on purpose: motion, lens, Gaussian and depth-aware blur, for training models that have to cope with bad photos.

    2019Completed
  • Libraries & tools2626 stars on GitHub

    HEIC2PNG

    Turns iPhone HEIC photos into PNG from the CLI, a shell pipe or Python. A small tool for a small, recurring annoyance.

    2019Completed
  • Libraries & tools7676 stars on GitHub

    batch-crop-images

    Draw a crop box once and it is applied to a whole folder of similar images. Written because I refused to crop them one by one, and apparently other people refused too.

    2019Completed