Back to packages list

Vals using hono

Description from the NPM package:
Web framework built on Web Standards
willthereader avatar
personalWebsite
@willthereader
HTTP
@jsxImportSource https://esm.sh/hono@latest/jsx
postpostscript avatar
readmeManager
@postpostscript
HTTP
@postpostscript/readmeManager: Edit Val Readmes With Persistent Drafts edit this readme Todo: [ ] Upload images [ ] Autosave/save without reloading page [ ] Ctrl+S [ ] Multiple draft versions [ ] Switch to dark codemirror theme which has markdown styling [ ] Allow for checking checkboxes in preview [ ] View with just the preview [ ] Ability to favorite vals on the Home page
nbbaier avatar
blobEditor
@nbbaier
Script
Usage: import blobEditor from "https://esm.town/v/pomdtr/blob_editor" export default blobEditor("article.md") You can easily protect your val behind @pomdtr/passwordAuth or @pomdtr/emailAuth
saolsen avatar
gltf_torus
@saolsen
HTTP
Builds a torus as a gltf file and displays it with https://modelviewer.dev/ based on https://www.donmccurdy.com/2023/08/01/generating-gltf/ https://github.com/mrdoob/three.js/tree/dev/src/geometries
vladimyr avatar
mdViewer
@vladimyr
HTTP
Val readme source viewer ℹ️ As expected, I'm late to the party 😅 so go ahead and check out @pomdtr's wonderful @pomdtr/cdn val: https://www.val.town/v/pomdtr/cdn#fetching-the-val-readme Usage https://vladimyr-mdviewer.web.val.run/v/<author>/<val> Bookmarklet: vladimyr/bookmarkletMdViewer Example https://vladimyr-mdviewer.web.val.run/v/pomdtr/notebook https://vladimyr-mdviewer.web.val.run/v/vladimyr/mdViewer
vladimyr avatar
bookmarklets
@vladimyr
HTTP
Bookmarklet Manager Write your bookmarklets in val.town. Usage You val should export an anonymous function, containing the code that will run when the bookmarklet is triggered. export default () => { alert("Hi mom!"); } Make sure that your val is either unlisted or public, then navigate to https://pomdtr-bookmarklets.web.val.run/v/:author/:name to generate the bookmarklet link. Sharing a bookmarklet Make sure that your val is public, and add a #bookmarklet tag anywhere in the code. export default () => { alert("Hi mom!"); } // #bookmarklet It should automatically appears on https://pomdtr-bookmarklets.web.val.run . ⚠️ If you are using the Arc Browser , you can use the Powerlet extension to install bookmarklets.
pps avatar
sqliteExplorerApp
@pps
HTTP
fork of @nbbaier/sqliteExplorerApp with my authentication middleware
parkerdavis avatar
comments
@parkerdavis
HTTP
Comments (just add water) A self-contained comments system Val. Just fork this val and you have a complete (but extremely minimal) comment system! Call on the front-end using: const MY_FORKED_VAL_URL = "https://vez-comments.web.val.run"; const getComments = async () => { const response = await fetch(MY_FORKED_VAL_URL); const json = await response.json(); return json; }; const addComment = async (str) => { try { const response = await fetch(MY_FORKED_VAL_URL, { method: "POST", body: JSON.stringify(str), }); if (response.status >= 400 && response.status < 600) { /* error */ return false; } else { /* success */ return true; } } catch (e) { /* error */ return false; } };
parkerdavis avatar
blob_admin
@parkerdavis
HTTP
Blob Admin This is a lightweight Blob Admin interface to view and debug your Blob data. Use this button to install the val: It uses basic authentication with your Val Town API Token as the password (leave the username field blank). TODO [x] /new - render a page to write a new blob key and value [x] /edit/:blob - render a page to edit a blob (prefilled with the existing content) [x] /delete/:blob - delete a blob and render success [ ] handle non-textual val properly [ ] add upload/download buttons [ ] merge edit and view pages [ ] add client side navigation using htmx [ ] use codemirror instead of a textarea for editing text blobs
pomdtr avatar
authMiddleware
@pomdtr
Script
authMiddleware: middleware to protect your HTTP val Todo [ ] Human readable JWT claim validation errors
huangyuzhang avatar
hono
@huangyuzhang
HTTP
An interactive, runnable TypeScript val by huangyuzhang
stevekrouse avatar
whiteXerinae
@stevekrouse
HTTP
SQLite Explorer View and interact with your Val Town SQLite data. It's based off Steve's excellent SQLite Admin val, adding the ability to run SQLite queries directly in the interface. This new version has a revised UI and that's heavily inspired by LibSQL Studio by invisal . This is now more an SPA, with tables, queries and results showing up on the same page. Install Install the latest stable version (v66) by forking this val: Authentication Login to your SQLite Explorer with password authentication with your Val Town API Token as the password. Todos / Plans [ ] improve error handling [ ] improve table formatting [ ] sticky table headers [ ] add codemirror [ ] add loading indication to the run button (initial version shipped) [ ] add ability to favorite queries [ ] add saving of last query run for a table (started) [ ] add visible output for non-query statements [ ] add schema viewing [ ] add refresh to table list sidebar after CREATE/DROP/ALTER statements [ ] add automatic execution of initial select query on double click [ ] add views to the sidebar [ ] add triggers to sidebar [ ] add upload from SQL, CSV and JSON [ ] add ability to connect to a non-val town Turso database [x] fix wonky sidebar separator height problem (thanks to @stevekrouse) [x] make result tables scrollable [x] add export to CSV, and JSON (CSV and JSON helper functions written in this val . Thanks to @pomdtr for merging the initial version!) [x] add listener for cmd+enter to submit query
stevekrouse avatar
whiteThrush
@stevekrouse
HTTP
SQLite Explorer View and interact with your Val Town SQLite data. It's based off Steve's excellent SQLite Admin val, adding the ability to run SQLite queries directly in the interface. This new version has a revised UI and that's heavily inspired by LibSQL Studio by invisal . This is now more an SPA, with tables, queries and results showing up on the same page. Install Install the latest stable version (v64) by forking this val that imports & exports it in your account: Authentication Login to your SQLite Explorer with password authentication with your Val Town API Token as the password. Todos / Plans [x] fix wonky sidebar separator height problem (thanks to @stevekrouse) [ ] improve error handling [ ] improve table formatting [x] make result tables scrollable [ ] sticky table headers [ ] add codemirror [ ] add loading indication to the run button (initial version shipped) [ ] add ability to favorite queries [ ] add saving of last query run for a table (started) [ ] add visible output for non-query statements [ ] add schema viewing [x] add export to CSV, and JSON (CSV and JSON helper functions written in this val . Thanks to @pomdtr for merging the initial version!) [ ] add refresh to table list sidebar after CREATE/DROP/ALTER statements [ ] add automatic execution of initial select query on double click [x] add listener for cmd+enter to submit query [ ] add views to the sidebar [ ] add triggers to sidebar [ ] add upload from SQL, CSV and JSON [ ] add ability to connect to a non-val town Turso database
postpostscript avatar
authIdExampleComments
@postpostscript
HTTP
An interactive, runnable TypeScript val by postpostscript
postpostscript avatar
authIdExampleCookiePrivate
@postpostscript
HTTP
An interactive, runnable TypeScript val by postpostscript
RIKKAEBI avatar
lavenderMockingbird
@RIKKAEBI
HTTP
An interactive, runnable TypeScript val by RIKKAEBI
…
12
…
Next