Back to packages list

Vals using hono

Description from the NPM package:
Web framework built on Web Standards
vawogbemi avatar
dateme
@vawogbemi
HTTP
Forked from stevekrouse/dateme
pomdtr avatar
circles
@pomdtr
HTTP
Forked from maxm/multiplayerCircles
impedivity avatar
tanaSave
@impedivity
HTTP
Forked from nbbaier/tanaSave
maxm avatar
multiplayerCircles
@maxm
HTTP
Multiplayer Circles Move circles around. State is synced with the server. Open a window in another tab and watch the circles update as you move them .
impedivity avatar
honoTanaEndpoint
@impedivity
HTTP
Forked from nbbaier/honoTanaEndpoint
triptych avatar
myspace
@triptych
HTTP
Forked from stevekrouse/myspace
pomdtr avatar
lastloginHono
@pomdtr
Script
See @pomdtr/lastlogin for more informations about the middleware Example /** @jsxImportSource npm:hono@3/jsx */ import { lastlogin } from "https://esm.town/v/pomdtr/lastloginHono"; import { verifyUserEmail } from "https://esm.town/v/pomdtr/verifyUserEmail" import { Hono } from "npm:hono"; const app = new Hono(); const lastloginMiddleware = lastlogin({ verifyEmail: verifyUserEmail }); // required for the auth pages to work app.use("/auth/*", lastloginMiddleware); // this page is public app.get("/", async (c) => { return c.html( <div> There is a secret message for you if you{" "}<a href="/secret">login</a> </div>, ); }); // this page requires the user to signup app.get("/secret", lastloginMiddleware, async (c) => { const email = c.req.header("X-User-Email"); return c.html( <div> I think {email} is a really silly email address, actually. </div>, ); }); export default app.fetch;
kaleidawave avatar
sqlite_admin
@kaleidawave
HTTP
Forked from stevekrouse/sqlite_admin
yawnxyz avatar
imageDownSizer
@yawnxyz
HTTP
Forked from jdan/blobImages
Daniel avatar
blob_admin_edit
@Daniel
Script
Forked from pomdtr/blob_admin_edit
Daniel avatar
blob_admin
@Daniel
HTTP
Forked from stevekrouse/blob_admin
stevekrouse avatar
datme_home_geo
@stevekrouse
HTTP
Forked from stevekrouse/dateme_home
zcribe avatar
sqliteExplorerApp
@zcribe
HTTP
Forked from nbbaier/sqliteExplorerApp
pomdtr avatar
freeformServer
@pomdtr
HTTP
Freeform Brings a taste of Observable to Val Town. This val was adapted from @tmcw obsidian plugin . Instead of using the display function, this port use export default . https://pomdtr-freeformServer.web.val.run/v/<author>/<name> or https://freeform.pomdtr.me/v/<author>/<name> Examples Bar Chart ( View Source )
yawnxyz avatar
semanticSearch
@yawnxyz
Script
In-memory semantic search; load it up with valtown KV. This is a "dumb" version of vector search, for prototyping RAG responses and UIs — with both regular search (w/ Lunr) and vector search (with OpenAI embeddings + cosine similarity) Usage: import { semanticSearch } from "https://esm.town/v/yawnxyz/semanticSearch"; const documents = [ { id: 1, content: 'cats dogs' }, { id: 2, content: 'elephants giraffes lions tigers' }, { id: 3, content: 'edam camembert cheddar' } ]; async function runExample() { // Add documents to the semantic search instance await semanticSearch.addDocuments(documents); const results = await semanticSearch.search('animals', 0, 3); console.log('Top 3 search results for "animals":'); console.log(results); } runExample();
pomdtr avatar
sms
@pomdtr
HTTP
Send/receive sms from val.town Test sending/receiving sms from SMSHub