url-to-png icon indicating copy to clipboard operation
url-to-png copied to clipboard

Configurable defaults

Open enstyled opened this issue 11 months ago • 1 comments

All the query parameters have default values! It would be great if these defaults can be configured with environment variables, e.g. DEFAULT_WIDTH, DEFAULT_VIEWPORT_HEIGHT, etc.

enstyled avatar Mar 22 '24 20:03 enstyled

Oh nice yeah good idea, that would be an easy follow up

jasonraimondi avatar Mar 22 '24 21:03 jasonraimondi

@jasonraimondi thank you for looking into this! I could not find how to use these options. Happy to help with updating the docs, if you point me to the implementation.

enstyled avatar May 24 '24 12:05 enstyled

Oh shoot I accidentally thought this was one of my “brainstorming” issues that had (like #39). I have not implemented this one yet (mostly because I forgot) but would definitely accept a PR for any of these improvements. I can try and get this issue worked on soon now that I remember it is a real request from an end user.

jasonraimondi avatar May 24 '24 13:05 jasonraimondi

+1 for this defaults to be configured as env var :)

thecoffeebin avatar May 28 '24 06:05 thecoffeebin