This folder contains a starter template for creating a bot on Bluesky. In this example, the bot posts a smiley emoji on an automated schedule once every three hours.
- Install Typescript:
npm i -g typescript
- Install Node.js:
npm i -g ts-node
- Make a copy of the example
.env
file by running:cp example.env .env
. Set your username and password in.env
. Use an App Password. - Compile your project by running:
npx tsc
or activate watch mode to have your code automatically compile:npx tsc -w
- You can run the script locally:
node index.js
. You should see a smiley emoji posted to your Bluesky account. - Modify the script however you like to make this bot your own!