Public vals
17
curtcox
ShoutyJSON
HTTP
Accepts messages via either JSON or a message query parameter. Responds with a JSON body with the message in all upper case. So, either ?message=hello or { "message": "hello"} will produce a JSON response of: { "message": "HELLO" } This is intended a test standin for a real chat server.
2
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
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