Public
Like
1
blueskyBotTutorial
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v13View latest version
Put env variables in this project username: charmaine.bsky.social NOT charmaine
This template shows you how to use the Bluesky API to make a bot. This starter template was ported from this one on Docs.
- Click
Forkon this val - Add the following to your project
Environment Variables(on the left side bar of this project):BLUESKY_USERNAME: Make sure this includes.bsky.social. For example, mine ischarmaine.bsky.social, NOTcharmaineBLUESKY_PASSWORD
- Click
Runon theblueskyScheduleval and adjust the cron schedule as you see fit. - You should see a smiley emoji posted to your Bluesky account.
- You should see a smiley emoji posted to your Bluesky account.
- Modify the script however you like to make this bot your own!