Url To Png

screenshot of Url To Png
hono
nestjs
vitepress
vue

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

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

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.

hono
Hono

Hono is an ultrafast web framework designed for edge computing environments. It's lightweight, supports multiple runtimes including Cloudflare Workers, Deno, and Bun, and provides a familiar Express-like API with excellent TypeScript support.

nestjs
Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.

vitepress
Vitepress

VitePress is a static site generator designed for creating documentation websites. It offers a lightweight and fast development experience using Vue.js and Markdown, with features such as live-reload, theming, and customizable layout components.

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

docker
Docker

A website that uses Docker for containerization to streamline development, testing, and deployment workflows. This includes features such as containerization of dependencies, automated builds and deployments, and container orchestration to ensure scalability and availability.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

zod
Zod

Zod is a TypeScript-first schema declaration and validation library. It allows you to define schemas that can validate data at runtime while providing excellent TypeScript inference, making it perfect for API validation, form validation, and type-safe data handling.