Avatar

curtcox

Doesn't mention the Met.
Joined January 27, 2024
Public vals
15
curtcox avatar
curtcox
slides
HTTP
Use the tail of the path to specify the slideshow URL. Use the left and right arrow keys to navigate. The slideshow file format is: seconds-to-show URL-to-show Here's a set of example slides. https://curtcox-slides.web.val.run/raw.githubusercontent.com/curtcox/slides/refs/heads/main/sets/ai The tail of the URL points to the plain text slide list at https://raw.githubusercontent.com/curtcox/slides/refs/heads/main/sets/ai If your slides are blocked due to the domain, you could serve them somewhere besides val.town. An easy way to do that while still using a github repo is to embed the slides directly into an HTML page. You could use Github Pages or https://raw.githack.com/ to serve that.
0
curtcox avatar
curtcox
QRCodeScanner
HTTP
* This val creates a QR code scanner using the device's camera. * It uses the jsQR library to decode QR codes from video frames. * The app displays the scanned QR code content and additional information. * * We'll use the following approach: * 1. Set up a video element to capture camera feed * 2. Use canvas to process video frames * 3. Use jsQR to decode QR codes from the frames * 4. Display the QR code content and additional information * 5. Add extensive debugging to identify issues
0
curtcox avatar
curtcox
sourceOnGithubExample
HTTP
Example showing how to reference source in public github repos.
0
curtcox avatar
curtcox
CommandProcessorTest
HTTP
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
MarkdownCommand
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
EmailCommand
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
_not_actually_private_so_that_you_can_see_it
HTTP
This is public so you can see what's in it. If it had real secrets, it should be private. See https://www.val.town/v/curtcox/reply_to_slack_message
0
curtcox avatar
curtcox
Html
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
Object
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
message_processor
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
Chatio
HTTP
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
Public
HTTP
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
authorized
Script
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
getslack
HTTP
An interactive, runnable TypeScript val by curtcox
0
curtcox avatar
curtcox
reply_to_slack_message
HTTP
This val provides a way of readily having lots of different Slack bots that do different things and support different Slack workspaces without needing a bunch of Val Town accounts. If you only need a single bot on a single workspace, just go with the approach in the Val Town docs . This bot is essentially the one described in the Val Town docs , but without any of the details. Those are externalized by the SlackConfig and SlackFunction interfaces. It is just glue. In order to make it work, you will need the following additional glue: a public HTTP val to handle requests like this one a private val to supply any info missing from the public one like this one Actually, those could both be public or all in the same val, but the whole point of this scheme is to allow you to hide anything you want.
0
Next