Avatar

jamiedubs

i move away from the mic to breathe in
Joined March 27, 2023
Likes
12
kylem avatar
kylem
gitReleaseNotes
HTTP
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
7
jonbo avatar
jonbo
dynamicSleep
HTTP
Ever needed to fake a serverside delay? https://jonbo-dynamicsleep.web.val.run will return after 1 second. https://jonbo-dynamicsleep.web.val.run?seconds=5 will return after 5 seconds.
2
janpaul123 avatar
janpaul123
VALLE
HTTP
Forked from janpaul123/valTownChatGPT2
15
iamseeley avatar
iamseeley
HonoHTMX
HTTP
Forked from mxdvl/vals
5
stevekrouse avatar
stevekrouse
uptime
Cron
Forked from healeycodes/isMyWebsiteDown
4
pomdtr avatar
pomdtr
extractValInfo
Script
Extract vals infos (author, name, version) from a val url (either from esm.town or val.town ). Example usage: const {author, name} = extractValInfo(import.meta.url) Also returns a unique slug for the val: <author>/<name>
13
jamiedubs avatar
jamiedubs
nftImage
HTTP
returns image URL (and only image URL) for a given NFT contract + tokenId. Uses Alchemy's NFT API to this use val, copy the Web API endpoint and use ?query params to specify the contract address and tokenId you want: https://jamiedubs-nftimage.web.val.run/?contractAddress=0x3769c5700Da07Fe5b8eee86be97e061F961Ae340&tokenId=666 - FIXME valtown is turning & into "&", you need to fix it. even like this broken plain text by default. for JSON add &format=json , for an <img> tag use &format=html for other NFT metadata: https://www.val.town/v/jamiedubs.nftMetadata
1
jamiedubs avatar
jamiedubs
nftMetadata
HTTP
use by copying web API endpoint and appending "?contractAddress=...&tokenId..." - here's an example: https://jamiedubs-nftmetadata.web.val.run/?contractAddress=0x3769c5700Da07Fe5b8eee86be97e061F961Ae340&tokenId=666 uses Alchemy for indexed NFT data, via my other jamiedubs/alchemyClient val plus it's using my personal API key. don't abuse this or I'll disable it! yeesh
1
tmcw avatar
tmcw
big_story_visualization
Express (deprecated)
The Big Story This val, along with @tmcw.big_story , which requests from the New York Times API , and @tmcw.big_stories_ranks , which contains the data, generates a visualization of top stories on the NYTimes homepage. This is here just to ask the question – what happens to cover stories over time? Do they slowly drop down the page, or just get replaced by a fully new lede? So far it doesn't have quite enough data to answer that question. But also, it might be neat because it'll show which kinds of stories make the front page - is it climate, war, politics, or something else? 👉 The Big Story (visualization)
4
tmcw avatar
tmcw
big_stories_ranks
Script
// set by tmcw.big_story at 2023-07-21T13:27:35.553Z
2
tmcw avatar
tmcw
big_story
Cron
An interactive, runnable TypeScript val by tmcw
1
Next