Telegram bot for searching subtitles.
- /subtitles
name
- Search subtitles - /theatres - In Theaters
- /popular movie - Popular movies
- /popular person - Popular persons
- /popular tv - Popular tv shows
- /trending all - Trending
- /trending movie - Trending movies
- /trending person - Trending persons
- /trending tv - Trending tv shows
- /help - Help
- /about - About
# Bot
Create and configure .env file like .env.example.
# Create an Telegram bot
Find @BotFather on Telegram, type /newbot and follow the instructions.
# Username
Get your bot username and set 'TELEGRAM_USERNAME' in .env.
# Token
Get your token from @BotFather and set 'TELEGRAM_TOKEN' in .env.
# Create an OpenSubtitles account
Create an OpenSubtitles account on https://opensubtitles.org.
# UserAgent
Request your own UserAgent https://trac.opensubtitles.org/projects/opensubtitles/wiki/DevReadFirst#Howtorequestanewuseragent. Only for testing and developing purposes you can use special user agent "TemporaryUserAgent". Never use this UA as default/public/in production code, we periodically change this and your APP will stop work! Also don't abuse usage of this test user agent.
# Configure
Get your UserAgent and credentials and set in .env.
# Account
Create an The Movie DB account on https://www.themoviedb.org/.
# API Key
Create an API key on https://www.themoviedb.org/settings/api.
# Configure
Get your API key and set 'TMDB_APIKEY' in .env.
# Install dependencies
npm install
# Start
npm start