Likes
157
braintrust
sdk
Build better AI products with Braintrust Braintrust helps you evaluate and ship AI products with confidence. Whether you're building a new AI application or improving an existing one, Braintrust gives you the tools to iterate faster and deploy with confidence. What you can do with this SDK The Braintrust SDK enables you to: Log experiments and production data to understand your AI system's behavior Run comprehensive evaluations using the Eval framework Track and improve your model's performance over time This template helps you get started with the Braintrust SDK. It's based on our official GitHub repository . Getting started Click Fork on this val to create your own copy Get your API key from the Braintrust settings page Add your API key to your project's Environment Variables as BRAINTRUST_API_KEY Click Run on the tutorial val to start experimenting Want to learn more? Visit our documentation or sign up for a free account .
Script
steel
steel_puppeteer_starter
Steel + Puppeteer Starter This template shows you how to use Steel with Puppeteer
to run browser automations in the cloud on Val Town.
It includes session management, error handling,
and a basic example you can customize. This starter
templated was ported from
this one on Github . Quick start The script shows you how to: Create and manage a Steel browser session Connect Puppeteer to the session Navigate to a website (Hacker News in this example) Extract data from the page (top 5 stories) Handle errors and cleanup properly View your live session in Steel's session viewer To run it: Get your free Steel API key at https://app.steel.dev/settings/api-keys Add it to your Val Town Environment Variables as STEEL_API_KEY Click Fork on this val Click Run on this val Writing your automation Find this section in the script: // ============================================================
// Your Automations Go Here!
// ============================================================
// Example automation (you can delete this)
await page.goto('https://news.ycombinator.com');
// ... rest of example code You can replace the code here with whatever automation scripts you want to run. Configuration The template includes common Steel configurations you can enable: const session = await client.sessions.create({
useProxy: true, // Use Steel's proxy network
solveCaptcha: true, // Enable CAPTCHA solving
sessionTimeout: 1800000, // 30 minute timeout (default: 15 mins)
userAgent: 'custom-ua', // Custom User-Agent
}); Error handling The template includes error handling and cleanup: try {
// Your automation code
} finally {
// Cleanup runs even if there's an error
if (browser) await browser.close();
if (session) await client.sessions.release(session.id);
} Support Steel Documentation API Reference Discord Community
Script
nbbaier
createFileTree
Project File Tree Generator A utility for generating a visual file tree representation for Val Town Projects. Usage import createFileTree from "https://esm.town/v/nbbaier/createFileTree";
const treeOutput = await createFileTree("https://esm.town/v/std/reactHonoStarter@34-main");
console.log(treeOutput); Example Output The following is the output for @stevekrouse's reactHonoStarter project .
├── backend
│ └── index.ts
├── frontend
│ ├── components
│ │ └── App.tsx
│ ├── index.html
│ └── index.tsx
└── README.md
Script
rowdypow
neighborsolutions
Neighbor Solutions At Neighbor Solutions , we are empowering communities to transform the lives of those in need. Contact Neighbor Solutions Visit our website Email us! Find us on LinkedIn While this is on rowdypow's ValTown, this code is owned and operated by Neighbor Solutions.
HTTP
minhee
blob_kv
BlobKvStore : Fedify KvStore implementation for Val Town This module provides the BlobVKvStore class, a KvStore implementation
built on top of Val Town's blob storage . Here's how to use: import { createFederation } from "jsr:@fedify/fedify@^1.4.3";
import { BlobKvStore } from "https://esm.town/v/minhee/blob_kv";
import { blob } from "https://esm.town/v/std/blob";
const federation = createFederation<void>({
kv: new BlobKvStore(blob),
});
Script
wilhelm
ATProtoOAuthStarter
Starter template for logging in with ATProto and loading 5 of your bluesky followers. Adapted from https://github.com/jvns/bsky-oauth-example !! Note !! It won't run in the preview, please open it in a new tab
HTTP
melissanf
blogIdeaGeneratorApp
AI-Powered Content Generator 🚀 Overview This is an AI-powered tool that helps users generate blog post ideas and outlines based on a given topic. Users can easily copy or share their generated content. Features ✅ User Input – Enter a topic to get relevant blog ideas. ✅ AI-Powered Suggestions – Generates three blog post ideas or a detailed outline. ✅ Copy & Share – One-click copy button and a shareable link for easy sharing. How to Use 1️⃣ Enter a topic in the input field (e.g., "Remote Work Productivity"). 2️⃣ Generate blog ideas with AI. 3️⃣ Copy the results or share the link with others. Tech Stack Townie AI – AI-based automation OpenAI API – For generating blog content Built-in Databases – To store and retrieve topics (if needed) How to Deploy & Share Run the app on Townie AI Copy the generated link (Townie AI auto-deploys apps). Share it on social media or with your audience. Future Improvements 🔹 Add categories (e.g., tech, marketing, health) for more tailored ideas. 🔹 Allow users to refine the output (e.g., short, medium, or detailed outlines). 🔹 Enable history storage so users can revisit past topics. 💡 Contributions & Feedback Have suggestions? Feel free to reach out or improve this project! 🚀
HTTP