github Madh93/karakeepbot v0.4.0

latest releases: v0.6.0, v0.5.0
10 months ago

Highlights

  • Enhanced Security: It is now mandatory to configure the Chat ID allowlist to interact with the bot.
  • Compatibility: Updated Karakeep API to v0.25.0

🚨 Breaking Changes

Starting from this version, to protect your bot from abuse, the Chat ID allowlist is mandatory. The bot will not start until you explicitly configure the telegram.allowlist parameter. You have two options:

  1. Recommended: Provide a list of one or more specific Chat IDs. This ensures only you and other authorized users can interact with the bot.
  2. Not Recommended: Provide an empty list ([]). This will allow any Telegram user to interact with your bot, exposing it to potential abuse.

Using environment variables

To upgrade, you must configure the KARAKEEPBOT_TELEGRAM_ALLOWLIST environment variable. Examples:

  • Recommended: KARAKEEPBOT_TELEGRAM_ALLOWLIST="12345678,87654321"
  • Not Recommended (but valid): KARAKEEPBOT_TELEGRAM_ALLOWLIST=""

How to Find Your Chat ID

  1. Open your Telegram client.
  2. Search for the bot @userinfobot and start a chat with it.
  3. The bot will immediately reply with your user information, including your Id. This is your Chat ID.

Changelog

  • ea5d741 Merge pull request #7 from Madh93/enforce-allowlist-by-default
  • ec9b4cc feat: enforce mandatory allowlist for security
  • c710b23 feat: support Karakeep 0.25.0

Released by GoReleaser.

Don't miss a new karakeepbot release

NewReleases is sending notifications on new releases.