Avatar

pomdtr

I mainly enjoy building dev tools: - VS Code integration: https://github.com/pomdtr/valtown-vscode - CLI: https://github.com/pomdtr/vt
Joined June 14, 2023
Public vals
355
pomdtr avatar
pomdtr
bluesky
Email
Forked from stevekrouse/forwarder
0
pomdtr avatar
pomdtr
independentAmberCod
HTTP
An interactive, runnable TypeScript val by pomdtr
0
pomdtr avatar
pomdtr
jsrExample
Email
An interactive, runnable TypeScript val by pomdtr
0
pomdtr avatar
pomdtr
privateExample
HTTP
An interactive, runnable TypeScript val by pomdtr
0
pomdtr avatar
pomdtr
fetchValInfo
Script
Usage import { fetchValInfo } from "https://esm.town/v/pomdtr/fetchValInfo" const val = await fetchValInfo(import.meta.url) console.log(val.id) What's the difference with extractValInfo ? @pomdtr/extractValInfo get metadata synchronously by analysing the val import url, while @pomdtr/fetchValInfo perform an http call to the val.town REST api. Only use fetchValInfo if you need some metadata that are not available from extractValInfo .
1
pomdtr avatar
pomdtr
smallweb_test
Script
An interactive, runnable TypeScript val by pomdtr
0
pomdtr avatar
pomdtr
smallweb
Script
More details about smallweb at https://smallweb.run
0
pomdtr avatar
pomdtr
testCache
HTTP
An interactive, runnable TypeScript val by pomdtr
0
pomdtr avatar
pomdtr
smallweb_openapi
Script
An interactive, runnable TypeScript val by pomdtr
0
pomdtr avatar
pomdtr
outsideGreenCamel
Script
An interactive, runnable TypeScript val by pomdtr
0
pomdtr avatar
pomdtr
codejar
Script
An interactive, runnable TypeScript val by pomdtr
0
pomdtr avatar
pomdtr
dotShortcut
Script
Dot Shortcut This val adds a github-like dot shortcut to your website, redirecting to the val.town editor. Usage Add the following script tag to your website head. <script type="module" src="https://esm.town/v/pomdtr/dotShortcut"></script>
1
pomdtr avatar
pomdtr
cliServer
Script
An interactive, runnable TypeScript val by pomdtr
0
pomdtr avatar
pomdtr
webdav
HTTP
An interactive, runnable TypeScript val by pomdtr
0
pomdtr avatar
pomdtr
webdavServer
Script
Webdav Manage your vals from a webdav client (ex: https://cyberduck.io/) ⚠️ some webdav operations are not supported, so support can vary between clients. Installation Click "Create Val" on the code block, and change it's type to http. import { basicAuth } from "https://esm.town/v/pomdtr/basicAuth"; import { verifyToken } from "https://esm.town/v/pomdtr/verifyToken"; import { serveVals } from "https://esm.town/v/pomdtr/webdavServer"; export default basicAuth(serveVals, { verifyUser: (user) => { return verifyToken(user); }, }); Use a val town token as the username, and keep the password blank to authenticate.
5
pomdtr avatar
pomdtr
esm
HTTP
Esm.town proxy (to get proper highlighting in VS Code) Usage https://pomdtr-esm.web.val.run/<author>/<val>@<version>/<filename> Supported filenames: mod.js mod.ts mod.jsx mod.tsx README.md Example: @pomdtr/serveGithubRepo -> https://pomdtr-esm.web.val.run/pomdtr/serveGithubRepo@34/mod.ts
0