url-to-png

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

MIT License

Stars
153
Committers
9

Bot releases are visible (Hide)

url-to-png - v2.1.0 Latest Release

Published by jasonraimondi 5 months ago

What's Changed

pnpm add @jmondi/url-to-png

Full Changelog: https://github.com/jasonraimondi/url-to-png/compare/v2.0.3...v2.1.0

url-to-png - v2.0.3 - Security Update

Published by jasonraimondi 5 months ago

Release Notes - Security Update

  • fix(security): require screenshot protocol to be http/https by @jasonraimondi in https://github.com/jasonraimondi/url-to-png/pull/48
    • Resolved a critical arbitrary file read vulnerability in the Playwright screenshot feature.
    • The vulnerability allowed attackers to read arbitrary files on the server using the file:// URI scheme.
    • Restricted URI schemes to only allow http and https for the screenshot feature.
    • Implemented strict input validation and sanitization to ensure only allowed URIs are processed.

This release addresses a severe security issue and is highly recommended for all users. Please update to the latest version as soon as possible to protect your application and sensitive data.

Thank You

Thank you to @timoxoszt for his contribution in finding and reporting this vulnerability.

Full Changelog: https://github.com/jasonraimondi/url-to-png/compare/v2.0.2...v2.0.3

url-to-png - v2.0.2

Published by jasonraimondi 5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/jasonraimondi/url-to-png/compare/v2.0.1...v2.0.2

url-to-png - v2.0.1

Published by jasonraimondi 5 months ago

What's Changed

Full Changelog: https://github.com/jasonraimondi/url-to-png/compare/v2.0.0...v2.0.1

url-to-png - v2.0.0

Published by jasonraimondi 7 months ago

What's Changed

Breaking Changes

  • The default port has switched from 3000 to 3089. To keep using port 3000, use PORT=3000
  • AWS_ACCESS_KEY has been replaced with AWS_ACCESS_KEY_ID
  • AWS_SECRET_KEY has been replaced with AWS_SECRET_ACCESS_KEY
  • AWS_REGION has been replaced with AWS_DEFAULT_REGION

New Contributors

Full Changelog: https://github.com/jasonraimondi/url-to-png/compare/v1.5.0...v2.0.0

url-to-png - v1.5.0 - Local filesystem caching

Published by jasonraimondi 7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/jasonraimondi/url-to-png/compare/v1.4.2...v1.5.0

url-to-png - v1.4.2

Published by jasonraimondi 11 months ago

Notes

ops(feat): deploy to ghcr #25

Full Changelog

https://github.com/jasonraimondi/url-to-png/compare/v1.4.1...v1.4.2

url-to-png - v1.4.1

Published by jasonraimondi 11 months ago

Notes

chore(deps): bump sharp from 0.32.1 to 0.32.6 #24

Full Changelog

https://github.com/jasonraimondi/url-to-png/compare/v1.4.0...v1.4.1

url-to-png - v1.4.0

Published by jasonraimondi over 1 year ago

chore: bump nodejs v12 to v20
chore: bump aws sdk from v2 to v3
chore: bumps all dependencies

url-to-png - v1.3.3

Published by jasonraimondi over 2 years ago

Fixes https://github.com/jasonraimondi/url-to-png/issues/19 - browsers not being returned to pool on error

url-to-png - v1.3.2

Published by jasonraimondi over 2 years ago

Fixes #18 #6

url-to-png - v1.3.1

Published by jasonraimondi over 3 years ago

fix: cases where ALLOW_LIST is a blank string blocks all domains

url-to-png - v1.3.0

Published by jasonraimondi over 3 years ago

feat: Adds ALLOW_LIST env to allow screen shots from a list of approved domains

url-to-png - v1.2.0

Published by jasonraimondi over 3 years ago

includes deviceScaleFactor for hi-res

url-to-png - v1.1.0

Published by jasonraimondi over 3 years ago

Support requests for dark mode with &isDarkMode=true

url-to-png - v1.0.0

Published by jasonraimondi over 3 years ago

Rewrite from express & puppeteer to fastify & playwright