yeskunall avatar
yeskunall
hnLatestJobs
Cron
// Get upto (200) of the latest jobs posted on HN
2
eburrito avatar
eburrito
githubRepos
Script
An interactive, runnable TypeScript val by eburrito
0
lazynerdlab avatar
lazynerdlab
getWeather
Script
Forked from stevekrouse/getWeather
0
nic avatar
nic
getTopics
Script
An interactive, runnable TypeScript val by nic
0
stevekrouse avatar
stevekrouse
umbrellaReminder
Cron
ā˜”ļø Umbrella reminder if there's rain today Setup Fork this val šŸ‘‰ https://val.town/v/stevekrouse.umbrellaReminder/fork Customize the location (line 8). You can supply any free-form description of a location. āš ļø Only works for US-based locations (where weather.gov covers). How it works Geocodes an free-form description of a location to latitude and longitude ā€“ @stevekrouse.nominatimSearch Converts a latitude and longitude to weather.gov grid ā€“ @stevekrouse.weatherGovGrid Gets the hourly forecast for that grid Filters the forecast for periods that are today and >30% chance of rain If there are any, it formats them appropriately, and sends me an email
9
shane98c avatar
shane98c
aqi
Cron
An interactive, runnable TypeScript val by shane98c
0
pomdtr avatar
pomdtr
getValVersion
Script
Forked from neverstew/getValVersion
0
andreterron avatar
andreterron
longest_val
Script
An interactive, runnable TypeScript val by andreterron
0
liamdanielduffy avatar
liamdanielduffy
createFizzBuzzClj
Script
An interactive, runnable TypeScript val by liamdanielduffy
0
stevekrouse avatar
stevekrouse
chatGPTPlugin
Express (deprecated)
ChatGPT Plugin for Val Town Run code on Val Town from ChatGPT. Usage I haven't been able to get it to do very useful things yet. It certainly can evaluate simple JS code: It would be awesome if it knew how to use other APIs and make fetch calls to them, but it has been failing at that . Limitations This plugin currently only has unauthenticated access to POST /v1/eval, which basically means that all it can do is evaluate JavaScript or TypeScript. In theory it could refer to any existing vals in Val Town, but it wouldn't know about those unless you told it. Future directions Once we have more robust APIs to search for existing vals, this plugin could be WAY more valuable! In theory GPT4 could first search for vals to do a certain task and then if it finds one it could then write code based on that val. In practice however, that might require too many steps for poor GPT. We might need to use some sort of agent or langchain thing if we wanted that sort of behavior. Adding authentication could also enable it to make requests using your secrets and private vals and create new vals for you. However I am dubious that this would actually be practically useful. Installation Select GPT-4 (requires ChatGPT Plus) Click No plugins enabled Click "Install an unverified plugin" or "Develop your own plugin" (I'm not sure the difference) Paste in this val's express endpoint https://stevekrouse-chatGPTPlugin.express.val.run Click through the prompts until it's installed
0
eagle251 avatar
eagle251
githubGists
Script
An interactive, runnable TypeScript val by eagle251
0
pomdtr avatar
pomdtr
aliasExample
Script
An interactive, runnable TypeScript val by pomdtr
0
zzz avatar
zzz
Tokenizer
Script
An interactive, runnable TypeScript val by zzz
0
stevekrouse avatar
stevekrouse
fetchJSON_example
Script
Forked from vladimyr/fetchJSON_example
0
derrickxyz avatar
derrickxyz
githubGists
Script
An interactive, runnable TypeScript val by derrickxyz
0
cbf avatar
cbf
githubFollowing
Script
An interactive, runnable TypeScript val by cbf
0
Updated: July 2, 2024