Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] DMTNT - KavitaBot

Featured Replies

Welcome!

This is the KavitaBot support thread!

 

KavitaBot is a Docker app I wrote that lets Discord users generate their own Kavita invite links. The bot will DM the user the link in Discord along with Kavita emailing it to them. All messages are ephemeral, can be dismissed, and can only be seen by the user that used the command.

 

Installation:

This container only requires 5 environment variables and internet access.

Environment Variables:
 

KAVITA_OPDS_URL – The full OPDS URL from an account in your Kavita with appropriate privileges.
DISCORD_BOT_TKN – The token of your discord bot.
DISCORD_SVR_ID – The ID of your Discord server to enable forced sync update.
DISCORD_CHAN_ID – The channel ID where you want the bot to accept commands.
DISCORD_ROLE_ID – The user role ID you want to be required to use the bot.

 

Official Links:

Docker Hub: https://hub.docker.com/r/dmtnt/kavitabot

GitHub: https://github.com/dmtnt0/kavitabot

Documentation: https://github.com/dmtnt0/kavitabot/wiki/KavitaBot-Wiki  [Updated: 06MAR25]

Edited by DMTNT

  • Author

UPDATE: v0.2.1

  • Fixed an error that was introduced with v0.2.0 that would occur when the bot would try to validate a user invite request against Kavita existing users.

 

UPDATE: v0.2.0

  • Fixed the channel ID not being optional.
  • Added a new function to test if the user requesting an invite already has an account and if it's pending or active.
  • Added a response for if a user requests an invite that already has an account pending.
  • Added a response for if a user requests an invite that already has an active account. This will also include the domain url (i.e. https://domain.tld)
  • Added a response to a successful invite directing the user to check their DMs for the invite code.
  • Performed some housekeeping tasks.

PLANNED:

  • (definitely) Add a check for the domain link provided when a user has an active account to include any base url.
  • (possibly) A function to validate Kavita users against Discord users and disable / delete users not present. Environment variables would enable/disable this feature and allow custom schedules. Feedback on this is welcome.

NOTES:

  • Any suggestions for functionality are welcome. This is an ongoing project that I want to make as useful as possible since, last I checked, the Kavita devs have no intentions to implement a Single Sign On feature.

Edited by DMTNT

  • Author

Reserved

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.