Avatar

yawnxyz

i make ui for ai
Joined March 31, 2023
Likes
94
stevekrouse avatar
stevekrouse
getColor
HTTP
Forked from dctalbot/getColor
1
yawnxyz avatar
yawnxyz
openAiExample
HTTP
Forked from yawnxyz/openAiHelloWorld
1
iamseeley avatar
iamseeley
HonoHTMX
HTTP
Forked from mxdvl/vals
5
stevekrouse avatar
stevekrouse
upload_url
Script
// Function to upload data using Wormhole API and return the URL
1
stevekrouse avatar
stevekrouse
valwriter
HTTP
Forked from stevekrouse/cron2
1
nbbaier avatar
nbbaier
sqlite_explorer
HTTP
An interactive, runnable TypeScript val by nbbaier
1
taras avatar
taras
cors_proxy
HTTP
Forked from taras/free_open_router
1
robsimmons avatar
robsimmons
sqlite_admin
HTTP
Forked from stevekrouse/sqlite_admin
1
hugentobler avatar
hugentobler
whatsappWebhookExample
HTTP
* Simple, free webhook to start using WhatsApp Platform. * Handles GET request for verification, and POST request for notifications. * Meta example: https://glitch.com/edit/#!/whatsapp-cloud-api-echo-bot * * Setup: * 1. Make sure your val name, and thus the val generated HTTP endpoint does not have underscores. * Underscores present in the endpoint may error out the verification step. * 2. Set your env variable `WHATSAPP_WEBHOOK_VERIFY_TOKEN` * Set env variables in val: https://docs.val.town/reference/environment-variables/ * hub.verify_token value: https://developers.facebook.com/docs/graph-api/webhooks/getting-started * * Note: * - As of Mar 2024, Retool webhooks don't support GET requests. So we use val.
1
stevekrouse avatar
stevekrouse
amaranthYak
HTTP
Forked from nbbaier/sqliteExplorerApp
1
stevekrouse avatar
stevekrouse
reloadOnSave
Script
Forked from stevekrouse/ReloadScript
6
pomdtr avatar
pomdtr
trpc
Script
trpc Access private Val Town apis. ⚠️ trpc endpoints can change at any time Available Procedures (WIP) Queries search getVal getValMetadata getValLastLogs Mutations deleteVal updateReadme togglePrivacy updateVal toggleLike run updateInterval stopInterval
3
andreterron avatar
andreterron
isMyWebsiteDown
Cron
Forked from thierryc/isMyWebsiteDown
2
pomdtr avatar
pomdtr
password_auth
Script
Password Auth Middleware Protect your vals behind a password. Use session cookies to persist authentication. Usage import { passwordAuth } from "https://esm.town/v/pomdtr/password_auth?v=84"; export default passwordAuth(() => { return new Response("OK"); }, { verifyPassword: (password) => password == Deno.env.get("VAL_PASSWORD") }); If you want to use an api token to authenticate: import { passwordAuth } from "https://esm.town/v/pomdtr/password_auth?v=84"; import { verifyToken } from "https://esm.town/v/pomdtr/verifyToken"; export default passwordAuth(() => { return new Response("OK"); }, { verifyPassword: verifyToken }); TODO [x] allow to authenticate using a val town token [ ] add a way to send an email to ask a password from the val owner [ ] automatically extend the session [ ] automatically remove expired sessions FAQ How to sign out ? Navigate to <your-site>/signout .
15
nbbaier avatar
nbbaier
sqliteExplorerApp
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 (v86) 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 [x] 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 [x] 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
21
nbbaier avatar
nbbaier
runPython
Script
Adapting the solution to running pyodide in Deno from this gh comment: https://github.com/pyodide/pyodide/issues/3420#issuecomment-1726815037
1