Search
Code91
Migrated from folder: aoc2023/aoc_2023_12_dynamicconst PROGRAM = `# AOC Day 11#builtin NAT_SUCC s#builtin INT_TIMES timesconst PROGRAM = `# AOC Day 11#builtin NAT_SUCC s#builtin INT_TIMES timesMigrated from folder: aoc2023/aoc_2023_11_practicalMigrated from folder: aoc2023/aoc_2023_11_impracticalconst dusa = new Dusa(`# AOC Day 10, Part 2#builtin INT_PLUS plus#builtin INT_MINUS minusMigrated from folder: aoc2023/aoc_2023_10_2const dusa = new Dusa(`# AOC Day 10, Part 1#builtin INT_PLUS plus#builtin INT_MINUS minusMigrated from folder: aoc2023/aoc_2023_10_1const dusa = new Dusa(`# AOC Day 9#builtin INT_MINUS minus#builtin INT_PLUS plusimport { blob } from "https://esm.town/v/std/blob"; blob.setJSON("createdAt", Date.now()); Below is a real world example of swapping out std/set for std/blob in a cron val that polls RSS feeds and emails
MCP server to allow Claude Code to act as an agent, coding for you in a loop. CLI. Section titled “CLI” Install Claude Code. Install the Val Town CLI. deno
Open in ChatGPT Ask questions about this page. wttr.in. Section titled “wttr.in” Val Town is a great system for keeping track of the weather - for remembering when to carry
server. In a chat, choose Developer mode from the Plus menu and select the Val Town MCP server. Per ChatGPT’s developer mode documentation, you can approve tool use within a
the settings page. Trying to update an environment variable, for example by using Deno.env.set, is a no-op. Deno.env. Section titled “Deno.env” This uses the Deno-default Deno.env variable, which is available
this page as plain text. Open in ChatGPT Ask questions about this page. SQLite is a lightweight, standard database. Every Val Town account comes with its own private SQLite database
you might want to take advantage of an ORM or query builder instead. Here are a few examples of how to do that with popular tools. Drizzle. Section titled “Drizzle”
View this page as plain text. Open in ChatGPT Ask questions about this page. Generate a QR code for any link, instantly! Visit https://neverstew-generateQR.web.val.run?url=https://neverstew.com and replace the url query parameter
as plain text. Open in ChatGPT Ask questions about this page. You can generate PDFs using an external library like jsPDF. Here’s a more comprehensive example that builds an invoice.
the API Tokens page. If you’re using the Val Town API from within Val Town, a short-lived API token is automatically injected into your environment variables. These injected tokens are