Back to packages list

Vals using hono

Description from the NPM package:
Web framework built on Web Standards
apiProxy
postpostscript
apiProxy
An interactive, runnable TypeScript val by postpostscript
HTTP
authIdUserGuide
postpostscript
authIdUserGuide
authIdUserGuide: steps necessary to sign in as you to HTTP vals which support this pattern Required Val: @[your username/authId Fork @postpostscript/authId Required Val: @[your username/jwks Setup Fork @postpostscript/jwks Set JWKS Environment Variables Go to https://postpostscript-generatejwksenv.web.val.run/?prefix=JWKS Follow the steps there with the prefix "JWKS" Test it out! Go to this val's endpoint Enter your username and click "Go to Your Sign In Page" You are now on your sign in page that you completely control ! Click "Send Sign In Link to My Email" Check for an email with the subject line "Sign In Request" and click the "Sign In" link Review the permissions that the val has asked for. The only token scope that is currently required is "@[your username]/authId/id". If a val has requested any others, you may optionally accept them here Click "Provide Access" You are now signed in!
HTTP
sqliteExplorerApp
postpostscript
sqliteExplorerApp
Remix of: nbbaier/sqliteExplorerApp
HTTP
valtowntown
maxm
valtowntown
🏘️ Val Town Town Val Town implemented in Val Town. What if you want to build your own Val Town? What if you want features we haven't built yet? Val Town Town demonstrates how you can run untrusted code yourself. Extend it and see what you can build!
HTTP
test_explorer_router
pomdtr
test_explorer_router
@jsxImportSource npm:hono/jsx
Script
authMiddleware
postpostscript
authMiddleware
authMiddleware: middleware to protect your HTTP val Todo [ ] Human readable JWT claim validation errors
Script
emailAPI
agmm
emailAPI
// https://username-valname.web.val.run?k=myKey&s=mySubject&m=myMessage
HTTP
blobmanager
agmm
blobmanager
An interactive, runnable TypeScript val by agmm
Script
sauron
agmm
sauron
An interactive, runnable TypeScript val by agmm
HTTP
sqliteExplorerApp
pomdtr
sqliteExplorerApp
Remix of: nbbaier/sqliteExplorerApp
HTTP
blob_admin_delete
pomdtr
blob_admin_delete
@jsxImportSource https://esm.sh/hono@4.0.8/jsx
Script
blob_admin_edit
pomdtr
blob_admin_edit
@jsxImportSource https://esm.sh/hono@4.0.8/jsx
Script
blob_admin_create
pomdtr
blob_admin_create
@jsxImportSource https://esm.sh/hono@4.0.8/jsx
Script
blob_admin_blob
pomdtr
blob_admin_blob
Remix of: stevekrouse/blob_admin_blob
Script
blob_admin
pomdtr
blob_admin
Remix of: stevekrouse/blob_admin
Script
ssr_router
pomdtr
ssr_router
SSR Framework for val.town Usage The router map url paths to component vals. Component vals must export a React Component as their default export: export default function() { <h1>Hello World!</h1> } Optionally, you can define an handler next to your component, allowing you to handle query params or form inputs. Use the ctx.render function to pass props to your component. export const handler: Handler = (ctx) => { const url = new URL(ctx.req.url); const params = new URLSearchParams(url.search); return ctx.render({ name: params.get("name") }); }; export default function(props: {name?: string}) { <h1>Hello { name || "World }!</h1> }
HTTP