
@jordan
Bluesky RSS bot
This is a bot that polls an RSS feed for a new item every hour and posts it to Bluesky.
It's split into three parts:
bsky_rss_poll
- This function runs every hour and polls the provided RSS feed, turns it into XML and runs the check. If there is a new post, it tell
rss_to_bsky
to post a link (and the title) to Bluesky
- This function runs every hour and polls the provided RSS feed, turns it into XML and runs the check. If there is a new post, it tell
latest_rss
- This is a stored object that keeps the latest object for the poll to test against
rss_to_bsky
- This function turns the text post into a rich text post and posts it to Bluesky
fold(1)
A JavaScript implementation of the UNIX command fold(1)
.
wikitxt
Converts Wikipedia articles (passed via link: e.g. /TypeScript
) into plaintext. You can pass in a URL param ?width={width}
to have it fold
to your width. See below for an example.
Example: https://jordan-wikitxt.web.val.run/TypeScript?width=60
paste.sr.ht
This val allows you to create a new paste on paste.sr.ht by passing in the following information:
- visibility (public, unlisted, private)
- filename
- contents (just reference a val - e.g. @me.testVal)
- token (@me.secrets.srhtOauth - generate this at meta.sr.ht/oauth; yes this is the legacy dashboard, paste.sr.ht only works with the legacy oauth) It will then return the link to your paste! Check out an example here.
You can see this val saved to paste.sr.ht here.
Tornado Bot
This is a rough mirror of the NWS Tornado Twitter bot but it's built to be distributed to multiple platforms. It's purely a tool for social media platforms and should not be relied upon for safety. Please see the official NWS website for time- (and life-) critical information.