Bluesky Bot is a simple bot designed to post "Hello, World!" to your Bluesky account every minute. It serves as a starting point for more complex interactions with Bluesky.
- Clone the repository to your local machine:
git clone https://github.com/DXLEII/bluesky--bot.git
- Navigate to the project directory:
cd bluesky-bot
- Install dependencies using npm:
npm install
- Create a
.env
file based on.env.template
and fill in your Bluesky account information. Ensure the username follows the user.bsky.social format, or the bot won't work. - Run the bot using ts-node:
ts-node bot.ts
Bluesky Bot will automatically post "Hello, World!" to your Bluesky account every minute. You can customize this behavior by modifying the example_bot.ts
file to suit your needs.
Make sure to keep your .env
file secure and never expose it publicly. It should contain the following variables:
BLUESKY_USERNAME
: Your Bluesky username in the user.bsky.social format.BLUESKY_PASSWORD
: Your Bluesky password.
It's important to keep your .env
file secure and never expose it publicly. Avoid committing it to version control systems or sharing it with others.