Avatar

jamiedubs

i move away from the mic to breathe in
Joined March 27, 2023
Public vals
24
jamiedubs avatar
twitterSearch
@jamiedubs
Script
Forked from stevekrouse/twitterSearch
jamiedubs avatar
randomCardImage
@jamiedubs
HTTP
An interactive, runnable TypeScript val by jamiedubs
jamiedubs avatar
twitterAlert
@jamiedubs
Cron
Forked from stevekrouse/twitterAlert
jamiedubs avatar
ethereumTokenBalances
@jamiedubs
HTTP
Forked from jamiedubs/nftMetadata
jamiedubs avatar
runGlif
@jamiedubs
Script
glif API mini-SDK make generative magical AI things set your GLIF_API_TOKEN in your own ENV, or you'll hit rate limits: https://glif.app/settings/api-tokens call from your val like: import { runGlif } from "https://esm.town/v/jamiedubs/runGlif"; const json = await runGlif({ id: "cluu91eda000cv8jd675qsrby", inputs: ["hello", "world"] });
jamiedubs avatar
roastCast
@jamiedubs
HTTP
Farcaster action that summons a https://glif.app bot to roast the cast, using glif AI magic #farcaster #glif
jamiedubs avatar
wikipediaPage
@jamiedubs
HTTP
Forked from fab1an/fetchWikipediaContent
jamiedubs avatar
syntheticLoot
@jamiedubs
HTTP
dark greetings cryptoadventurers. This val will print the contents of a given Ethereum wallet's Synthetic Loot , which is procedurally generated from your wallet address. To look at your sLoot in a browser with some fun pixel art, check out timshel's Synthetic Loot Viewer to use this endpoint, pass ?address=0x... e.g. https://jamiedubs-syntheticloot.web.val.run/?account=0xf296178d553c8ec21a2fbd2c5dda8ca9ac905a00 the default response type is JSON. You can also get a simple list of the loot bag contents using ?format=text . e.g. https://jamiedubs-syntheticloot.web.val.run/?account=0xf296178d553c8ec21a2fbd2c5dda8ca9ac905a00&format=text
jamiedubs avatar
weatherInCity
@jamiedubs
HTTP
Forked from fab1an/glif_weather
jamiedubs avatar
sleeper
@jamiedubs
HTTP
// a very slow and sleepy function
jamiedubs avatar
wikipediaToday
@jamiedubs
HTTP
fetch the contents of the Wikipedia "On this day in history" page. defaults to JSON output, but specify ?format=text or ?format=html for other outputs. e.g. https://jamiedubs-wikipediatoday.web.val.run/?format=json https://jamiedubs-wikipediatoday.web.val.run/?format=text https://jamiedubs-wikipediatoday.web.val.run/?format=html #wikipedia
jamiedubs avatar
dataDemo
@jamiedubs
HTTP
// hello i am a simple demo of using GET/POST + Content-Type header to handle things differently
jamiedubs avatar
valtownGeocities
@jamiedubs
HTTP
Forked from jamiedubs/databin
jamiedubs avatar
randomMediaUrl
@jamiedubs
HTTP
// select random record from "files" based on format
jamiedubs avatar
databin
@jamiedubs
HTTP
a super simple JSON setter/getter using valtown blobs. use GET to fetch it, use POST to set it. expects the inbound data to be JSON for simplicity. use ?key=foobar to specify different storage locations. set: curl -s -X POST -d '{"lol": "wut"}' https://jamiedubs-databin.web.val.run?key=foobar get: curl -s https://jamiedubs-databin.web.val.run?key=foobar # {"lol":"wut"}
jamiedubs avatar
simpleJsonReply
@jamiedubs
Express
Forked from stevekrouse/expressHTMLExample