Bluesky Awoo Bot is a simple script designed to periodically post random wolf noises on Bluesky. The bot uses a JSON file of predefined wolf noises, selects a random noise, and posts it on Bluesky at random intervals.
-
Clone the Repository:
git clone https://github.com/ewanc26/bluesky-awoo-bot.git cd bluesky-awoo-bot
-
Install Dependencies:
npm install
-
Create a Configuration File:
Create a file named
config.env
in thesrc
directory with the following contents:BLUESKY_USERNAME="your_bluesky_username" BLUESKY_PASSWORD="your_bluesky_password" MIN_DELAY_HOURS=1 MAX_DELAY_HOURS=3
-
Fill in Your Bluesky Credentials:
Replace
your_bluesky_username
andyour_bluesky_password
with your actual Bluesky account credentials.
-
Run the Bot:
npx ts-node src/index.ts
This command will start the bot, which will post a wolf noise immediately and then schedule subsequent posts at random intervals.
Contributions are welcome! Please fork the repository and submit a pull request with your changes. Ensure that your code follows the existing style and includes appropriate tests.
This project is licensed under the MIT License. Please take a look at the LICENSE file for more details.
bluesky-awoo-bot/
│
├── src/
│ ├── config.env # Environment configuration file
│ ├── index.ts # Main script for the bot
│ ├── wolf-noise-generator.ts # Module for generating random wolf noises
│ └── wolf-noises.json # JSON file containing predefined wolf noises
│
├── package.json # Node.js project metadata and dependencies
└── README.md # This README file
This file stores the Bluesky credentials required to log in and post. Please make sure you keep this file secure and do not share it publicly.
This is the main script that handles the bot's functionality. It logs into Bluesky, generates a random wolf noise, and posts it. It also schedules future posts at random intervals.
This module contains the logic for generating random wolf noises based on predefined categories and probabilities.
This JSON file includes the predefined wolf noises categorized into different types (howl, playful, scared) and associated punctuation.