Subtitle-Translater


මෙම බොට් මගින් ඔබට කුමක් හෝ භාෂාවකින් ඇති උපසිරසියක් තවත් භාෂාවකට පරිවර්තනය කල හැක.

Translate Logo

සිංහල භාෂාවෙන් ක්‍රියාත්මක වේ

Installation

The Easy Way

Deploy

Deploy On VPS

Simply Folk the repository and run the main file:

git clone https://github.com/OshadhaVimukthiM/Subtitle-Translater

cd Subtitle-Translater

apt install python3.8-venv

python3 -m venv venv

. ./venv/bin/activate

pip install -r requirements.txt

python3 bot.py

Create Firebase database

Folk the Repo and edit the creds.py with your own variables like below with your own values

class cred():
    BOT_TOKEN = "your bot token from botfather"
    API_ID = "your api id from my.telegram.org"       
    API_HASH = "your api hash from my.telegram.org!"   
    DB_URL = "your database url from google firebase" 
    BOT_NAME = "your bot name"     

GitHub

View Github