Avatar

charmaine

Joined July 15, 2024
Likes
121
braintrust avatar
braintrust
sdk
Script
Forked from charmaine/braintrustSDK
1
steel avatar
steel
steel_puppeteer_starter
Script
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
1
rowdypow avatar
rowdypow
neighborsolutions
HTTP
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.
2
mbo avatar
mbo
neocities_hit_counter
HTTP
https://mbo-neocities_hit_counter.web.val.run
1
bunkaway avatar
bunkaway
airbnb
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
1
alexwein avatar
alexwein
judgeWordsDash
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
2
minhee avatar
minhee
blob_kv
Script
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), });
1
mattspieg avatar
mattspieg
CerebrasGSAP
Script
// Helper: Check if an element (or any parent) is hidden
1
AIWB avatar
AIWB
vscode
HTTP
Forked from xuybin/vscode
1
melissanf avatar
melissanf
blogIdeaGeneratorApp
HTTP
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! ๐Ÿš€
1
jhiller avatar
jhiller
saunaTemperatureDashboard
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
1
uday_8897 avatar
uday_8897
musical_Instrument_identification_confidence
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
1
izabayomucyo35p avatar
izabayomucyo35p
listGuestsMainPage
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
1
Klaksy avatar
Klaksy
buildBlog
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
1
yieldray avatar
yieldray
OnePW
Script
* @website https://0pw.me/ * @ref https://github.com/xmit-co/1pw.me/blob/main/src/app.tsx * @example * const zero = new ZeroPw("hello"); * const str = await zero.retrieve(); * console.log(str);
1
Omar1163 avatar
Omar1163
artShareApp
HTTP
cloud picture
1