- install
poetry
- install
ffmpeg
, preferably through your package manager, suchsudo apt install ffmpeg
cp .env.example .env
- Fill
.env
file with values:- get
OPENAI_API_KEY
from https://platform.openai.com/account/api-keys - get
OPENAI_ORGANIZATION
from https://platform.openai.com/account/organization - get
TELEGRAM_API_ID
andTELEGRAM_API_HASH
using https://core.telegram.org/api/obtaining_api_id - If you want to set up Slack:
- get
SLACK_TOKEN
from OAuth & Permissions tab of https://api.slack.com/apps - get
SLACK_SIGNING_SECRET
from Basic Information tab of https://api.slack.com/apps
- get
- get
poetry install
- Telegram bot:
poetry run python app/tg.py
and auth; Slack bot:poetry run python app/slack.py