Home
Softono

URL To PNG

Open source MIT Nodejs
246
Stars
29
Forks
3
Issues
4
Watchers
4 months
Last Commit

 About URL To PNG

URL to PNG utility featuring parallel rendering using Playwright for screenshots and with storage caching via Local, S3, or CouchDB.

Platforms

Web Self-hosted Docker

Languages

Node.js

Need Help Installing URL To PNG?

We provide expert installation service for this software. Our team will install, configure, and secure URL To PNG on your server. plans start at just $30.

URL To PNG

View on GitHub

URL to PNG logo
URL to PNG

GitHub License GitHub Workflow Status Docker Pulls

A URL to PNG generator over HTTP with a fairly simple API accessed via query params passed to the server.

  • Generate PNG images from URLs
  • Customizable image dimensions and viewport size
  • Support for mobile user agent and dark mode rendering
  • Caching of generated images
  • Allow list for domain-specific requests
  • Configurable Playwright options
  • Integration with various storage providers (AWS S3, CouchDB, Filesystem)
  • Prometheus metrics endpoint

Examples

Use in your HTML

<img src="http://localhost:3089?url=https://jasonraimondi.com&width=600">
<img src="http://localhost:3089?url=https://github.com/jasonraimondi/url-to-png&width=600">

Getting Started

Checkout the docs to getting_started

Docker

Run the following command:

docker run --rm -p 3089:3089 ghcr.io/jasonraimondi/url-to-png

On the hub: Link to DockerHub

Local Serve

Serve the project

git clone https://github.com/jasonraimondi/url-to-png
cd url-to-png
pnpm install
pnpm exec playwright install chromium
pnpm dev

Configuration

Read the full config options

Encryption

Learn about encryption

Metrics

Learn about metrics

Star History

Star History Chart