Features
Use Cases
Townie
AI
Blog
Docs
Pricing
Log in
Sign up
pomdtr
I mainly enjoy building dev tools: - VS Code integration:
https://github.com/pomdtr/valtown-vscode
- CLI:
https://github.com/pomdtr/vt
Vals
317
Likes
262
Forks
46
pomdtr
pomdtrr
Joined
June 14, 2023
Public vals
317
Sort
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
cliServer
Script
An interactive, runnable TypeScript val by pomdtr
pomdtr
webdav
HTTP
An interactive, runnable TypeScript val by pomdtr
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
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
pomdtr
publicBlushSnipe
Script
An interactive, runnable TypeScript val by pomdtr
pomdtr
neverthrow
Script
Usage import { Failure, Success } from "https://esm.town/v/pomdtr/neverthrow?v=5"; const demoFunction = () => { const result = Math.random(); if (result > 0.5) { return Failure( "Math. random produced too high a number", ); } return Success(result); }; const res = demoFunction(); if (res.ok) { console.log(res.value); } else { console.error(res.error); }
1
pomdtr
illIndigoVicuna
HTTP
An interactive, runnable TypeScript val by pomdtr
pomdtr
publicRouteTest
HTTP
An interactive, runnable TypeScript val by pomdtr
pomdtr
exampleAuth
HTTP
An interactive, runnable TypeScript val by pomdtr
pomdtr
auth
Script
Minimal Auth Middleware Usage import { auth } from "https://esm.town/v/pomdtr/auth"; export default auth(req => Response.json({message: "You are logged in!"}));
2
pomdtr
verifyUserEmail
Script
Check that a string match your profile email
pomdtr
coffeeFowl
Script
An interactive, runnable TypeScript val by pomdtr
pomdtr
smallwebDashboard
Script
smallweb.json { "permissions": { "env": true, "read": true, "run": [ "smallweb" ] } } .env EMAIL=<your-email>
pomdtr
excalidraw
HTTP
Excalidraw, embedded inside Val Town ! The drawing will be persisted in your blobs as json / png / svg. You can access the drawing source directly using the /json , /png and /svg subpaths. For example, to embed the image in a markdown document, you can use: ![pomdtr-excalidraw.web.val.run](https://pomdtr-excalidraw.web.val.run/png)
3
pomdtr
datasette
HTTP
An interactive, runnable TypeScript val by pomdtr
Prev
Next