Public
HTTP (deprecated)
version 27
Readme

Val Shot

Generate val source code screenshot using sourcecodeshots.com

⚠️ This service is offered for personal use under a reasonable usage policy as stated here: https://sourcecodeshots.com/docs

📣 Special thanks to @pomdtr for their help and contributions!

Usage

https://vladimyr-valshot.web.val.run/v/<author>/<val>

Example

Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
7
pomdtr avatar

Wdyt of using the pathname instead of query params for passing the val ?

https://val.town/v/vladimyr/valshot => https://vladimyr-valshot.web.val.run/v/vladimyr/valshot

vladimyr avatar

Sure, why not? Usually, I do it that way but because there are other query params (theme) I opted for param 🤷

pomdtr avatar

I like to use the path for required parameters, and query for optional ones.

https://vladimyr-valshot.web.val.run/v/vladimyr/valshot?theme=github-light looks good to me.

pomdtr avatar

I'll create a pr :)

vladimyr avatar

@pomdtr Thanks for PR, merged! Is your pomdtr/readme val private cause it is failing?

pomdtr avatar

it is, this is now fixed :)

vladimyr avatar

Great, removed my temporary shim :)

vladimyr-valshot.web.val.run
March 6, 2024