Documentation Index
Fetch the complete documentation index at: https://mintlify.com/avikekk/JackettSearchBot/llms.txt
Use this file to discover all available pages before exploring further.
Overview
JackettSearchBot provides a comprehensive set of commands for searching releases, checking service availability, and managing access control. All commands are accessed through the Telegram bot interface.Commands are only available to authorized users. See the Authorization page for details on access control.
Basic Commands
/start
Verifies that the bot is running and that you have access. Usage:- If authorized:
STATUS: BOT STARTED - If not authorized:
ERROR: NOT AUTHORIZED
jackett_bot/handlers/commands.py:48
/help
Displays a list of all available commands and their usage. Usage:jackett_bot/handlers/commands.py:57
Search Commands
/release
Searches for releases using Jackett and displays results with pagination. Usage:<query>- Search term or IMDb ID (e.g., “Movie Name” or “tt1234567”)-gp- Optional flag to filter only Golden Popcorn releases
- Text Search
- IMDb ID
- Golden Popcorn
- Pagination: Navigate through results using Prev/Next buttons
- Session-based: Each search creates a unique session (expires after 1 hour)
- Auto-redaction: Results are automatically redacted after a configured timeout (default: 300 seconds)
- IMDb Support: Automatically detects and uses IMDb IDs starting with “tt”
Pagination buttons only appear when there are multiple pages of results. Page size is configured via the
MAX_RESULTS environment variable (default: 10)./r- Short alias for/release/relase- Common typo alias for/release
jackett_bot/handlers/commands.py:76
/r
Short alias for/release. See /release for full documentation.
Usage:
jackett_bot/app.py:65
Service Commands
/check
Checks the availability of PassThePopcorn (PTP) service. Usage:- If available:
PTP STATUS: AVAILABLE - If unavailable:
PTP STATUS: UNAVAILABLE
- Timeout: 5 seconds
- Checks:
https://passthepopcorn.me - Requires authorization
jackett_bot/handlers/commands.py:176
Owner Commands
/auth
Temporarily authorizes a user or chat to use the bot. Usage:<id>- Explicit user ID or chat ID to authorize- If replying to a message: authorizes the user who sent that message
- If no parameters: authorizes the current chat
- Explicit ID
- Reply
- Current Chat
- Success:
AUTHORIZED: <id> - Already authorized from config: Shows source as
CONFIG
Temporary authorizations are stored in memory and will be cleared when the bot restarts. For permanent authorization, add IDs to
AUTHORIZED_CHAT_IDS in the config.jackett_bot/handlers/commands.py:189
/unauth
Removes temporary authorization from a user or chat. Usage:/auth - can use explicit ID, reply, or current chat.
Restrictions:
- Cannot remove the owner’s authorization
- Cannot remove IDs configured in
AUTHORIZED_CHAT_IDS(must remove from config and restart)
- Success:
UNAUTHORIZED: <id> - Not temporarily authorized:
ERROR: ID NOT TEMP AUTHORIZED: <id> - Config-based authorization: Shows error with instructions to remove from config
/deauth- Alias for/unauth
jackett_bot/handlers/commands.py:214
/unauthall
Clears all temporary authorizations at once. Usage:TEMP IDS REMOVED: <count>
Aliases:
/deauthall- Alias for/unauthall
jackett_bot/handlers/commands.py:246
Command Aliases Summary
View All Aliases
View All Aliases
| Primary Command | Aliases | Description |
|---|---|---|
/release | /r, /relase | Search for releases |
/unauth | /deauth | Remove temporary authorization |
/unauthall | /deauthall | Clear all temporary authorizations |
jackett_bot/app.py:56-88Error Handling
All commands implement comprehensive error handling:Authorization Errors
ERROR: NOT AUTHORIZED- User/chat is not authorized to use the botERROR: ONLY OWNER CAN USE /AUTH- Non-owner attempting owner command
Search Errors
ERROR: PROVIDE QUERY OR IMDB ID/URL- No search query providedRESULT: NO RESULTS- No releases found for queryRESULT: NO RESULTS (WITH GP)- No Golden Popcorn releases foundERROR: HTTP ERROR OCCURRED- Jackett API returned an errorERROR: NETWORK ERROR OCCURRED- Network connectivity issueERROR: UNEXPECTED ERROR OCCURRED- Unhandled exception
Pagination Errors
SESSION EXPIRED. RUN /RELEASE AGAIN.- Pagination session expired (1 hour TTL)PAGINATION BELONGS TO ANOTHER USER- Different user trying to use paginationINVALID CHAT FOR THIS PAGINATION- Pagination used in wrong chatMESSAGE NO LONGER AVAILABLE- Original message was deleted
jackett_bot/handlers/commands.py:76-174
Response Format
All bot responses use HTML formatting with a consistent key-value structure:jackett_bot/handlers/commands.py:257