Back to APIs list

Bluesky API examples & templates

Use these vals as a playground to view and fork Bluesky API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
stevekrouse avatar
stevekrouse
bskySocialEx
Script
// Forked from @lukas.bskySocial
1
stevekrouse avatar
stevekrouse
firehose
HTTP
@jsxImportSource https://esm.sh/react
0
vladimyr avatar
vladimyr
bookmarkletPostEval
Script
Evaluate tweet or Bluesky post #bookmarklet
0
karkowg avatar
karkowg
isAaronAtTheBadPlaceYet
Cron
Is Aaron Francis at the bad place yet? Periodically check if Aaron Francis has created his account on bsky!
0
kylem avatar
kylem
starlightFaker
HTTP
Forked from kylem/loremIpsumMarkdownGenerator
0
ajax avatar
ajax
annoy
Script
An interactive, runnable TypeScript val by ajax
2
tmcw avatar
tmcw
bandcampWrapped
HTTP
Bandcamp Wrapped It's Spotify Wrapped, but for Bandcamp! . Bandcamp is for people who buy their music and probably most of them hoard MP3s. Like me. And this val helps those people turn their Bandcamp purchases of 2024 into HTML or Markdown suitable for blog posts on their blogs, which is probably a segment that has some overlap with the people who are wacky enough to buy their music instead of streaming it from some service. Because Bandcamp doesn't have an API, this hinges on you going to your purchases page, copying the purchases, and pasting it in. Thanks to the ability of the system clipboard to contain HTML , the same technology that makes copy-and-pasted text have unpredictable and annoying font and boldness choices also lets this parse and reformat that purchases page into something shareable. I would love for this to support embeds as well, but I haven't found a strategy yet: Bandcamp embeds use album IDs in the URLs, which are not exposed in the content on the purchases page. I'd have to scrape Bandcamp for that, which would probably inevitably be blocked by some 'bot protection' system. Also read about this on macwright.com .
1
buttondown avatar
buttondown
runner
Cron
An interactive, runnable TypeScript val by buttondown
0
francoischalifour avatar
francoischalifour
getInvitesFromReddit
Script
An interactive, runnable TypeScript val by francoischalifour
0
vladimyr avatar
vladimyr
postEval
HTTP
Forked from stevekrouse/xeval
0
adnan avatar
adnan
popularAquamarineDormouse
Cron
// async function overlayTextOnImage(imageDef: Image): Promise<Uint8Array> {
0
stevekrouse avatar
stevekrouse
social_media_monitoring
Script
Social Media Monitoring Alerts vals Twitter https://www.val.town/v/stevekrouse/twitterAlert https://www.val.town/v/jonbo/cabinAdjacentTweets Hacker News https://www.val.town/v/stevekrouse/hnValTown https://www.val.town/v/rodrigotello/hnFollowApp Bluesky https://www.val.town/v/stevekrouse/blueskyAlert Reddit https://www.val.town/v/sarahxc/redditSearch Farcaster https://www.val.town/v/artivilla/farcasterKeyHook
0
rodrigotello avatar
rodrigotello
valTownInspoList
Script
Val Town inspiration & use cases list List [as object] used in Val Town's use cases and inspiration. Check it out at in /examples/use-cases and /docs/tutorial/4
1
charmaine avatar
charmaine
valTownInspoList
Script
Forked from rodrigotello/valTownInspoList
0
dupontgu avatar
dupontgu
slamBotPost
Cron
// Replace with your actual access token and Mastodon instance URL
0
3
Next