Url To Png screenshot

Url To Png

Author Avatar Theme by Jasonraimondi
Updated: 13 Jul 2024
192 Stars

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

Categories

Overview

This product is a URL to PNG generator accessed via query params passed to the server. It allows users to generate PNG images from URLs with customizable image dimensions and viewport size. The generator supports features such as mobile user agent and dark mode rendering, caching of generated images, domain-specific request allow list, and integration with various storage providers. It also provides Prometheus metrics endpoint for monitoring.

Features

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

Installation

Getting Started

  1. Check out the documentation to get started.
  2. For Docker installation, run the following command:
docker run <docker_image>
  1. To serve the project locally:
    • Use the provided configuration options.

Configuration

  • Read the full config options available for customization.
  • Learn about encryption options for securing data.
  • Understand the metrics provided for monitoring purposes.

Summary

This URL to PNG generator is a versatile tool that allows users to create PNG images from URLs with customizable settings. Its features like support for mobile user agents, caching, and integration with storage providers make it a powerful resource. The installation process is straightforward through Docker, with ample configuration options for users to tailor the tool to their needs.