sunbeamValTownFn
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
main.tsx
https://pomdtr--3ed45716277f11f0b46e569c3dd06744.web.val.run
First, install sunbeam.
Then create a new val referencing this val.
const sunbeamValtown = @pomdtr.sunbeamValTownFn(@me.secrets.valtown)
then switch it's visibility to unlisted.
You can then install your val in sunbeam
# install the extension sunbeam extension install --alias valtown val:<username>/sunbeamValtown
sunbeam valtown # list your vals sunbeam valtown --help # list available commands