Likes
491
onlyRuckusDrops
kamalnrf
onlyRuckusDrops
Slack alerts when new coffee drops appear on OnlyRuckus ! Will never miss a release again 😛
Cron
judgeWordsDash
alexwein
judgeWordsDash
@jsxImportSource https://esm.sh/react@18.2.0
HTTP
fiberplaneHonoStarter
fiberplane
fiberplaneHonoStarter
Example Hono app with a Fiberplane API explorer. For an example with OpenApiHono , see: https://www.val.town/x/fiberplane/fiberplaneHonoZodStarter Import @fiberplane/hono import { createFiberplane, createOpenAPISpec } from "https://esm.sh/@fiberplane/hono@0.4.4"; Generate a simplified API spec (if you don't already have one) app.get("/openapi.json", async (c) => { const spec = createOpenAPISpec(app, { info: { title: "My Hono API", version: "1.0.0" }, }); return c.json(spec); }); Mount the api explorer This will mount it at the root /* , but you can mount it to another route, like /fp/* if you are using / for your main app. We recommend / if your Hono app is an API without a frontend. app.use( "/*", createFiberplane({ openapi: { url: "/openapi.json" }, }), ); Visit your Val's root route to play with the API explorer! How it Works createFiberplane mounts Fiberplane on your app at the specified path, which can be used to explore the api's routes and make requests. Think of it like an embedded, lightweigh postman. If you don't have an API spec at the ready, then the createOpenAPISpec utility helps create a simple OpenAPI spec from all routes in the application. ( Note that this simple spec does not include information on expected query parameters, headers, or payloads! )
HTTP
judgeWords
alexwein
judgeWords
Judge Words A little app to solicit judgments about whether "words" listed in the Wordnik list are "real words" or not. Swipe on your phone or use the keyboard.
HTTP
loopyLetters
alexwein
loopyLetters
[WIP] Loopy Letters, another little word game A word game with a small gameplay loop. Plays best on your phone. It uses random words from the Wordnik word game list, as shared on their Github page , which has a lot of stuff on there I myself wouldn't really consider a word. Sorry about that. I probably spent as much time prompting the Townie LLM interface as I did in the code editor. So if parts seem sloppy, it's because it is slop. Rules Use every letter on the donut to spell a word. Letters in the word must be adjacent to each other on the donut. You can go clockwise or counterclockwise . When you find a word. The next word to find appears. Go fast. Go slow. Enjoy. This revisits the gameplay from a 2002 Observable notebook I made called "find a (big) word, rings" .
HTTP
valentine
mewtru
valentine
Hello!!! Feel free to mess around with this val and make it your own :). Just click on "Fork" in the top right. You can change the phrases that show up as you click no, you can change the firstImg and secondImg, maybe even add more images. And you can also change the colors and any of the text on the screen! Have fun with it and hopefully your crush says yes hehe.
HTTP
HowManyDaysUntil
curtcox
HowManyDaysUntil
@jsxImportSource https://esm.sh/react@18.2.0
HTTP
ShoutyJSON
curtcox
ShoutyJSON
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.
HTTP
vtdb
g
vtdb
Val Town Database This val exports vtdb , a correctly typed Kysely instance to query the @sqlite.db database containing public vals. Example usage: import { vtdb } from 'https://esm.town/v/g/vtdb'; const vals = await vtdb.selectFrom('vals') .selectAll() .orderBy('created_at desc') .limit(5) .execute(); console.log(vals.map((val) => val.name));
Script
boliviaDigest
joseforonda
boliviaDigest
// const subject = `Prueba`;
Cron
LetMeIntoLinear
jxxe
LetMeIntoLinear
An interactive, runnable TypeScript val by jxxe
Cron
groq_coder
facundopri
groq_coder
Remix of: stevekrouse/cerebras_coder
HTTP
AlwaysHere
varun1352
AlwaysHere
Remix of: stevekrouse/cerebrasTemplate
HTTP
emailSummaryHandler
paulkinlan
emailSummaryHandler
Email Summary Service This val is an email handler replies to emails it recieves with an LLM-generated summary. To use, forward an email to paulkinlan.emailSummaryHandler@valtown.email Blog post: https://paul.kinlan.me/projects/email-summary-service/
Email
byob
vawogbemi
byob
BYOB - Build Your Own Bot You can chat with llms over email, the email thread functions as memory. The biggest thing is that you can instantly create a chat like interface with llms. Pair that with back end data and functions and you got something really powerful. Take it further Custom domains Use cloudflare email workers or a similiar service to create a custom email domain and route any incoming emails to this val. Use any email api set up with that domain to send emails ie. Sendgrid, Resend, Postmark. Toolings Llms can uses tools , meaning you can make this an agent and a whole lot more useful.
Email
opengraphImageCreator
itseieio
opengraphImageCreator
@jsxImportSource https://esm.sh/react
HTTP