https://github.com/xxgicoxx/korero-bot
Telegram bot for searching subtitles.
https://github.com/xxgicoxx/korero-bot
korero opensubtitles seach subtitles
Last synced: 9 months ago
JSON representation
Telegram bot for searching subtitles.
- Host: GitHub
- URL: https://github.com/xxgicoxx/korero-bot
- Owner: xxgicoxx
- License: mit
- Created: 2019-08-16T03:59:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-25T04:38:37.000Z (over 2 years ago)
- Last Synced: 2025-02-18T11:57:22.313Z (9 months ago)
- Topics: korero, opensubtitles, seach, subtitles
- Language: JavaScript
- Homepage:
- Size: 88.9 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Korero Bot
Telegram bot for searching subtitles.
# Features
* /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
# Prerequisites
* [Node.js](https://nodejs.org/en/)
# Running
### 1. Configure
````
# Bot
Create and configure .env file like .env.example.
````
### 2. Telegram
````
# 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.
````
### 3. OpenSubtitles
````
# 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.
````
### 4. TMDb
````
# 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.
````
### 5. Run
````
# Install dependencies
npm install
# Start
npm start
````
# Built With
* [Node.js](https://nodejs.org/en/)
# Authors
* [xxgicoxx](https://github.com/xxgicoxx)
# Acknowledgments
* [FlatIcon](https://www.flaticon.com/)
* [OpenSubtitles](https://www.opensubtitles.org)
* [The Movie Database](https://www.themoviedb.org/)