Avatar

stevekrouse

mayor of val town
Likes
451
ashryanio avatar
routineTrackerApp
@ashryanio
HTTP
Routine Tracker This is a little React component to make our 7yo's after school routine self-serve so she can be a bit more independent after school. To change the items in the list, modify the routineTasks array of objects: [ {name: "item", timed: false}, {name: "item 2", timed: true, duration: 2 * 60 } {name: "item 3", timed: false, requiresParent: true} ] You can set the parent password on this line: const PARENT_PASSWORD_HASH = simpleHash("1234"); Todos Make the parent password modal touch friendly Track dates/times of list completions Show a tracker of how many completions this week
begoon avatar
thisval
@begoon
Script
This val default exports a function returning ValInfo. The val information comes from the Deno stack trace induced by throw new Error() . type ValInfo = { stack: string[]; // mostly for debugging endpoint: string; // val endpoint URL, empty if it is not an HTTP val user: string; // val.town user name name: string; // val name }; Here is an example program: import thisval from "https://esm.town/v/begoon/thisval"; const val = thisval(); export default async function(req: Request): Promise<Response> { return Response.json(val); } when invoked, it returns: { "stack": [ "Error", " at info (https://esm.town/v/begoon/thisval?v=12:10:11)", " at https://esm.town/v/begoon/thisvaltest?v=2:3:13" ], "endpoint": "begoon-thisvaltest.web.val.run", "user": "begoon", "name": "thisvaltest" }
ankitkr0 avatar
successiveVioletGrouse
@ankitkr0
HTTP
* This game challenges players to click and hold a button for as long as possible. * It uses React for the UI, SQLite for storing high scores, and includes a leaderboard. * The game features vibrant colors and a pre-game explanation.
saolsen avatar
lucia_hono
@saolsen
HTTP (deprecated)
// deno-lint-ignore-file no-namespace
stevekrouse avatar
chatWithCerebras
@stevekrouse
HTTP
@jsxImportSource https://esm.sh/react
yawnxyz avatar
perlinNoiseFabricColor
@yawnxyz
HTTP (deprecated)
Forked from yawnxyz/perlinNoiseFabric
yawnxyz avatar
lucia_middleware_safe
@yawnxyz
Script
Forked from stevekrouse/lucia_middleware_safe
yawnxyz avatar
lucia_middleware
@yawnxyz
Script
Forked from stevekrouse/lucia_middleware
jdan avatar
infoboxCrawler
@jdan
HTTP
Forked from jdan/emperorOfJapanCrawler
ejfox avatar
typingTestSpectrogram
@ejfox
HTTP
// This app creates a 10-second typing test with audio recording and spectrogram visualization.
pomdtr avatar
webdavServer
@pomdtr
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.
muhammad_owais_warsi avatar
shySapphireLeopard
@muhammad_owais_warsi
HTTP (deprecated)
@jsxImportSource https://esm.sh/react
sarahxc avatar
slackScout
@sarahxc
Cron
Slack scout sends a slack notification every time your keywords are mentioned on Twitter, Hacker News, or Reddit. Get notified whenever you, your company, or topics of interest are mentioned online. Built with Browserbase . Inspired by f5bot.com . Full code tutorial . Getting Started To run Slack Scout, you’ll need a Browserbase API key Slack Webhook URL: setup here Twitter Developer API key Browserbase Browserbase is a developer platform to run, manage, and monitor headless browsers at scale. We’ll use Browserbase to navigate to, and scrape our different news sources. We’ll also use Browserbase’s Proxies to ensure we simulate authentic user interactions across multiple browser sessions . Get started with Browserbase for free here . Twitter We’ve decided to use the Twitter API to include Twitter post results. It costs $100 / month to have a Basic Twitter Developer account. If you decide to use Browserbase, we can lend our token. Comment below for access. Once you have the SLACK_WEBHOOK_URL , BROWSERBASE_API_KEY , and TWITTER_BEARER_TOKEN , input all of these as Val Town Environment Variables . Project created by Sarah Chieng and Alex Phan 💌
moe avatar
numbergame
@moe
HTTP
@jsxImportSource https://esm.sh/react
yawnxyz avatar
hnCloneLuciaOauth
@yawnxyz
HTTP (deprecated)
Forked from stevekrouse/givenOliveScorpion
wilg avatar
taxrates
@wilg
HTTP
// This approach calculates taxes based on the selected filing status from the URL.