stevekrouse avatar
stevekrouse
json_viewer
Script
Inspector to browser json data in HTTP vals Example: https://val.town/v/stevekrouse/weatherDescription Thanks @mmcgrana (https://markmcgranaghan.com/) for the idea!
7
petermillspaugh avatar
petermillspaugh
dailySubscriptionStats
Cron
Val Town email subscriptions: daily stats Cousin Val to @petermillspaugh/emailSubscription for emailing yourself daily subscriber stats.
0
stevekrouse avatar
stevekrouse
auth_middleware
Script
Forked from pomdtr/auth_middleware
0
stevekrouse avatar
stevekrouse
formOld
Script
// Forked from @andreterron.valtown_forms_test
0
postpostscript avatar
postpostscript
htmlAsync
Script
Forked from postpostscript/html
1
nicosql avatar
nicosql
ablePinkDog
Script
Forked from pomdtr/password_auth
0
pomdtr avatar
pomdtr
page
HTTP
Render a val readme Inspired by github pages. Use https://pomdtr-page.web.val.run/v/<author>/<name> Example You can see this val readme at https://pomdtr-page.web.val.run/v/pomdtr/readme
1
pomdtr avatar
pomdtr
raw
HTTP
Fetch the source of a val This val was created before the introduction of https://esm.town Usage curl https://pomdtr-raw.web.val.run/v/<author>/<name>.<extension>[?v=<version>] To see the code of this val, use https://pomdtr-raw.web.val.run/v/pomdtr/raw.ts Examples Fetching the val code $ curl https://pomdtr-raw.web.val.run/v/pomdtr/add.tsx You can also use js , jsx and ts extension (only the content-type change, there is no transpilation). Fetching private val Pass an api token as an username $ curl "https://<token>@pomdtr-raw.web.val.run/v/pomdtr/privateVal.ts" Fetching the val README $ curl https://pomdtr-raw.web.val.run/v/pomdtr/add.md Getting an image $ curl https://pomdtr-raw.web.val.run/v/pomdtr/add.png Fetching a specific version of a val $ curl https://pomdtr-raw.web.val.run/v/pomdtr/raw.ts?v=66 You need to be authenticated to use this method. Fetching the val metadata $ curl https://pomdtr-raw.web.val.run/v/pomdtr/add.json Running vals locally using Deno Create a new val.ts file referencing the @pomdtr.add import { add } from "https://pomdtr-raw.web.val.run/v/pomdtr/add.ts"; console.log(add(1, 2)); then use deno run $ deno run ./val.ts 3 If you val accept a request and return a response, you can pass it to Deno.Serve to run it locally! import {raw} from "https://pomdtr-raw.web.val.run/v/pomdtr/raw.ts"; Deno.serve(raw); If your val is private, you can set the DENO_AUTH_TOKENS env. DENO_AUTH_TOKENS=<val-town-token>@pomdtr-raw.web.val.run deno run val.ts
4
d17e avatar
d17e
status
HTTP
Forked from stevekrouse/status
0
cjpais avatar
cjpais
status
HTTP
Forked from stevekrouse/status
0
jacobhthomas avatar
jacobhthomas
dateme_react_hydrated
HTTP
Forked from stevekrouse/dateme_react_hydrated
0
pomdtr avatar
pomdtr
ninja_keys
HTTP
GET https://pomdtr-ninja_keys.web.val.run
0
stevekrouse avatar
stevekrouse
pexelsExample
HTTP
An interactive, runnable TypeScript val by stevekrouse
0
stevekrouse avatar
stevekrouse
untitled_indigoNightingale
HTTP
Forked from stevekrouse/blob_admin
0
kamek avatar
kamek
password_auth
Script
Forked from pomdtr/password_auth
0
adamwiggins avatar
adamwiggins
renderFormAndSaveData
HTTP
Forked from andreterron/renderFormAndSaveData
0
Updated: October 23, 2023