justbe
Hiya! I'm Justin, I'm a Brooklyn, NY based engineer working here at Val.town! I co-host devtools.fm and am interested in the future of personal computing, malleable software, and anything we can build to make folks' lives easier.
Public vals
13
justbe
denoWasmModuleChanged
denoWasmModuleChanged This val is used to update the wasm.rs file in my wasm-to-dts repo
to match that of the deno_graph crate. When it detects that deno_graph has updated it invokes the workflow_dispatch in my GitHub actions.
Cron
justbe
deno2wasmExample
Imports a WASM module written as WAT from https://www.val.town/v/just_be/wasmExample. This direct import was enabled via Deno 2.1
Script
justbe
highlight
Highlight This val exposes and endpoint that you can post code to and get back syntax highlighted
html via Shiki . Shiki does server side highlighting, so it's
perfect for val.town. You can switch themes by providing ?theme=<theme> and specify
the language via ?lang=<language> Example You can play with a working example here . const res = await fetch(`https://just_be-highlight.web.val.run?lang=${lang}&theme=${theme}`, {
method: "POST",
body: code,
});
console.log(await res.text()) Why? I want to add syntax highlighting to my blog soon and I'm
experimenting with what it mean to offload parts of my rendering
to val.town (behind a content-addressible cache, of course).
HTTP