🚧 THIS IS A WORK IN PROGRESS. PULL REQUESTS ARE WELCOME! 🚧
This project is a Deno-based bot that interacts with the WebStatus API to retrieve baseline data for web features. It polls the api every week and then posts the results to Bluesky for easy sharing!
You can find this bot on Bluesky at @baselinebot.bsky.social.
Pull requests are welcome! If you have any suggestions or improvements, feel free to contribute.
- Fetches baseline data for web features.
- Supports two baseline statuses: "newly" and "widely".
- Debug mode for enhanced logging and testing.
- Deno installed on your system.
- Clone this repository:
git clone <repository-url> cd bluesky-baseline-bot
- Ensure Deno is installed and available in your PATH.
Run the bot with the following command:
deno run --allow-net main.tsTo enable debug mode, set the DEBUG environment variable to true:
DEBUG=true deno run --allow-net main.tsRun the tests using Deno's built-in test runner:
deno test- Retrieve baseline data from the WebStatus API for the last 24 hours
- Add support for posting to Bluesky
- Tests
main.ts: The main script for fetching baseline data.main_test.ts: Contains tests for the bot.deno.json: Configuration file for Deno.deno.lock: Lock file for dependencies.
This project is licensed under the MIT License.
