Skip to content

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

License

Notifications You must be signed in to change notification settings

oranggggeee/url-to-png

This branch is 2 commits ahead of jasonraimondi/url-to-png:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

978acef · Jul 19, 2024
Jun 5, 2024
Jul 13, 2024
Jul 13, 2024
Jun 5, 2024
Jul 13, 2024
Aug 2, 2018
May 24, 2024
Jun 4, 2024
Mar 20, 2024
Mar 20, 2024
Mar 22, 2024
May 18, 2024
Jun 5, 2024
Mar 22, 2024
Mar 22, 2024
Jul 19, 2024
Mar 22, 2024
Jul 13, 2024
May 24, 2024
Mar 20, 2024
Mar 22, 2024

Repository files navigation

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

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

About

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

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.5%
  • HTML 3.1%
  • JavaScript 3.1%
  • Dockerfile 2.3%