Avatar

curtcox

Joined January 27, 2024
Public vals
17
curtcox avatar
sourceOnGithubExample
@curtcox
HTTP
Example showing how to reference source in public github repos.
curtcox avatar
CommandProcessorTest
@curtcox
HTTP
An interactive, runnable TypeScript val by curtcox
curtcox avatar
markdown_download
@curtcox
HTTP
markdown.download Handy microservice/library to convert various data sources into markdown. Intended to make it easier to consume the web in ereaders Introductory blog post: https://taras.glek.net/post/markdown.download/ Package: https://jsr.io/@tarasglek/markdown-download Features Apply readability Further convert article into markdown to simplify it Allow webpages to be viewable as markdown via curl Serve markdown converted to html to browsers Extract youtube subtitles Source https://github.com/tarasglek/markdown-download https://www.val.town/v/taras/markdown_download License: MIT Usage: https://markdown.download/ + URL Dev: https://val.markdown.download/ + URL
curtcox avatar
MarkdownCommand
@curtcox
Script
An interactive, runnable TypeScript val by curtcox
curtcox avatar
EmailCommand
@curtcox
Script
An interactive, runnable TypeScript val by curtcox
curtcox avatar
_not_actually_private_so_that_you_can_see_it
@curtcox
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
curtcox avatar
Html
@curtcox
Script
An interactive, runnable TypeScript val by curtcox
curtcox avatar
Object
@curtcox
Script
An interactive, runnable TypeScript val by curtcox
curtcox avatar
blob_admin
@curtcox
HTTP
Blob Admin This is a lightweight Blob Admin interface to view and debug your Blob data. Forl this val to install: It uses basic authentication with your Val Town API Token as the password (leave the username field blank). TODO [ ] handle non-textual blobs properly [ ] upload a blob by dragging it in (ondrop dropzone on the whole homepage) [ ] add upload/download buttons [ ] merge edit and view pages [ ] add client side navigation using htmx [ ] use codemirror instead of a textarea for editing text blobs
curtcox avatar
CVE
@curtcox
HTTP
An interactive, runnable TypeScript val by curtcox
curtcox avatar
message_processor
@curtcox
Script
An interactive, runnable TypeScript val by curtcox
curtcox avatar
Chatio
@curtcox
HTTP
An interactive, runnable TypeScript val by curtcox
curtcox avatar
Public
@curtcox
HTTP
An interactive, runnable TypeScript val by curtcox
curtcox avatar
transmitter
@curtcox
HTTP
Echo incoming request as JSON See https://developer.mozilla.org/en-US/docs/Web/API/Request
curtcox avatar
getslack
@curtcox
HTTP
An interactive, runnable TypeScript val by curtcox
curtcox avatar
reply_to_slack_message
@curtcox
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.