Trending Vals

151
stevekrouse avatar
newStripeEvent
@stevekrouse
HTTP (deprecated)
Setup If you want to set up something like this with your Stripe account: Go to you Stripe Webhooks TODO...
152
willthereader avatar
ReadmeWriter
@willthereader
Script
Forked from nbbaier/readmeGPT
153
vtdocs avatar
resyPublicAPIKey
@vtdocs
Script
(Part of: https://www.val.town/v/vtdocs.resyBot) Resy's current public API key.
154
yawnxyz avatar
blobby
@yawnxyz
Script
Blobby Blobby is a simple wrapper around blob w/ more helpers for scoping, uploading/downloading, writing and reading strings, and so on. Todo Support lunr / semantic search, and embeddings Collections that support pointing to multiple blobs, like {description, embeddings, fileblob, ...} with a shared index / lookup
155
mttlws avatar
valTownChatGPT
@mttlws
HTTP (deprecated)
Forked from simonw/valTownChatGPT
156
iamseeley avatar
devtools
@iamseeley
Script
Forked from pomdtr/devtools
157
sarfrazkhan18 avatar
weatherGPT
@sarfrazkhan18
Cron
Forked from stevekrouse/weatherGPT
158
maxm avatar
robPikeIO
@maxm
HTTP (deprecated)
Forked from maxm/SSEDemo
159
dglazkov avatar
googlenews
@dglazkov
HTTP (deprecated)
A sample implementation of Breadboard Service Endpoint (BSE) protocol. For more information, see Breadboard service node .
160
MichaelNollox avatar
codeOnValTown
@MichaelNollox
Script
Forked from andreterron/codeOnValTown
161
easrng avatar
upgradeExpress
@easrng
Script
upgradeExpress Upgrade Express vals to the Web API without breaking existing consumers How it works upgradeExpress wraps a Web handler into a function that works as normal when called by the Web API, and redirects to the Web API when called by the Express API. Example I don't have an example for this per se but I used it to upgrade @easrng/button.
162
hootz avatar
textToImageDalle
@hootz
Script
A wrapper for OpenAI's DALLE API. See the API reference here: https://platform.openai.com/docs/api-reference/images/create?lang=curl
163
pomdtr avatar
neverthrow
@pomdtr
Script
Usage import { Failure, Success } from "https://esm.town/v/pomdtr/neverthrow?v=5"; const demoFunction = () => { const result = Math.random(); if (result > 0.5) { return Failure( "Math. random produced too high a number", ); } return Success(result); }; const res = demoFunction(); if (res.ok) { console.log(res.value); } else { console.error(res.error); }
164
iamseeley avatar
Server2
@iamseeley
HTTP (deprecated)
🚧 hono + htmx web app 🚧 idea: linktree-esque profile page w/ widgets powered by vals setup: fork the val and uncomment the /signup and /login routes create a jwt secret token environment variable go to the db setup val and run it to create the tables (as the site is right now, you can only add/edit users and add/edit/delete user links) to do: [ ] create some val town apis for the profile widgets (add vals people have already made) [ ] add profile image (will probably point to val town profile pic) [ ] add delete profile handler [ ] finish public profile page [ ] 🎨🎨🎨🎨🎨
165
thatsmeadarsh avatar
star_a_github_repository_with_natural_language
@thatsmeadarsh
Script
Using OpenAI Assistant API, Composio to Star a Github Repo This is an example code of using Composio to star a github Repository by creating an AI Agent using OpenAI API Goal Enable OpenAI assistants to perform tasks like starring a repository on GitHub via natural language commands. Tools List of supported tools . FAQs How to get Composio API key? Open app.composio.dev and log in to your account. Then go to app.composio.dev/settings . Navigate to the API Keys -> Generate a new API key .
166
kylem avatar
gitReleaseNotes
@kylem
HTTP (deprecated)
Github Release Notes from package.json Enter a raw github URL to a package.json, https://raw.githubusercontent.com/username/repo/branch/package.json and get a response of all release notes for all packages from current to latest. Roadmap [ ] GenAI summary [ ] Weekly cron email reports [ ] Send update PRs [ ] Other package managers like PyPi [ ] Formatting/styling [ ] Loading spinner
167
iamseeley avatar
resumeConfig
@iamseeley
Script
βš™οΈ configuration for hello, resume this guide will help you configure and use the resume builder to create your resume page. Ensure that your resume is formatted according to the JSON Resume standard . This is crucial for the resume builder to interpret and render your resume correctly. If you don't want to take the time to manually format your resume content and set up hosting, try using this: Resume to JSON 1. Configure the Resume JSON You have two options to provide your resume data: Resume JSON URL : Point this to your raw resume JSON hosted online. Recommended setups include using Val Town or a GitHub Gist. Example: resumeJsonUrl: 'https://example.com/resume.json' Paste Resume JSON : Provide the resume JSON directly within the configuration. Example: resumeJson: { "basics": { "name": "John Doe" }, "work": [ ... ] } 2. Choose a Theme Select a theme for your resume. You can use the predefined themes or create your own: Predefined Themes : starterTheme oceanTheme Custom Theme : Customize the styles in the starterTheme or create a new one and import it. 3. Custom Styles (Optional) If you want to add additional styles, provide a URL to a custom stylesheet: Example: customStyleUrl: 'https://example.com/styles.css' 4. Set the Section Order Customize the order of the sections in your resume: Default order: sectionOrder: ['header', 'summary', 'education', 'work', 'projects', 'volunteer', 'awards', 'certificates', 'publications', 'skills', 'languages', 'interests', 'references'] Example custom order: sectionOrder: ['header', 'summary', 'projects', 'education', 'work'] 5. Add Custom Sections (Optional) Override any default sections with custom sections: Example: customSections: { header: customHeader } 6. Show/Hide "Save as PDF" Button Control the visibility of the "Save asPDF" button: Example: savePDFIsVisible: true 7. View Your Resume Copy this resumeConfig's module URL and import it in your resumeHandler . Visit the resumeHandler HTTP endpoint to view your resume!
168
jeffreyyoung avatar
sharedMagentaChameleon
@jeffreyyoung
HTTP (deprecated)
Forked from jeffreyyoung/MazeBot
169
andreterron avatar
htmlExample
@andreterron
HTTP (deprecated)
HTML example This is an example of how to return an HTML response. You can also preview it at https://andreterron-htmlExample.web.val.run?name=Andre
170
stevekrouse avatar
dot_com
@stevekrouse
HTTP
Forked from stevekrouse/stevekrouse_minimal
171
cephalization avatar
anthropicProxy
@cephalization
Script
https://simonwillison.net/2024/Aug/23/anthropic-dangerous-direct-browser-access/ THIS IS NO LONGER NECESSARY This Val will proxy anthropic HTTP requests from some frontend client, like langchain, so that you can utilize anthropic apis from the browser. Convert it to an HTTP val in order to use it (you may want to setup an ENV var / header to protect the endpoint with a secret key)
172
jdan avatar
dialog
@jdan
HTTP
dialog Renders windows 98 dialog boxes as SVGs. Using satori and styles from 98.css Usage https://jdan-dialog.web.val.run/? w =200& h =110& title =Hello& caption =World w (default: 200): the width of the dialog h (default: 110): the height of the dialog title (default: "{title}"): the text in the title bar caption (default: "{caption}"): the caption text
173
andreterron avatar
updateTidbytWorkout
@andreterron
Script
Update Tidbyt workouts Updates a Tidbyt with workout information: For more information, watch the YouTube video or reach out to me on Twitter ! Usage Fork this val. Update the byDay variable to get your workout information for each day of the current and previous week. If you want to use a rule different than "Don't skip twice", you can fork and update the weekWorkoutIcons val.
174
stevekrouse avatar
vtTokenSessionAuth
@stevekrouse
Script
Forked from pomdtr/password_auth
175
stevekrouse avatar
BIGweather
@stevekrouse
HTTP (deprecated)
Big Weather Display Displays the current day's weather information BIG so you can see it from far away. Currently it's hardcoded for: prospect heights, brooklyn charts of the temp and % change of precipitation Probably easiest for you to fork it and change it to suit your needs vs making it customizable
176
jxnblk avatar
VALLErun
@jxnblk
HTTP (deprecated)
Forked from janpaul123/VALLErun
177
trantion avatar
VALLE
@trantion
HTTP (deprecated)
Forked from janpaul123/VALLE
178
pranjaldotdev avatar
poller
@pranjaldotdev
Cron
bytes.dev newsletter notifier Tech Stack val.town - Infrastructure SQLite - Database Deno - Runtime Pushover - Notifications How it works At the lowest level it is powered by 3 main scripts, which are invoked by a scheduled cron job that runs daily scraper Goes to bytes.dev and scrapes latest published newsletter inserter Insert it to SQLite if this newsletter already not exists notifier Uses Pushover API to send ios mobile notifications Pushover notifications
179
saolsen avatar
changes
@saolsen
HTTP (deprecated)
View val changes as a diff. Go to /v/username/valname/version to see a diff between that version and the previous one. For example https://saolsen-changes.web.val.run/v/saolsen/tracing/108
180
pomdtr avatar
verifyUserEmail
@pomdtr
Script
Check that a string match your profile email