A bot works with OpenAI GPT models to provide insights for your Telegram info flows.
OPENAI_API_SECRET=<OpenAI API Secret Key> TELEGRAM_BOT_TOKEN=<Telegram Bot API Token> CLOVER_DB_PATH=<path to store DB> insights-bot
OPENAI_API_HOST=https://<Some Host> OPENAI_API_SECRET=<OpenAI API Secret Key> TELEGRAM_BOT_TOKEN=<Telegram Bot API Token> CLOVER_DB_PATH=<path to store DB> insights-bot
docker run -it --rm -e TELEGRAM_BOT_TOKEN=<Telegram Bot API Token> -e OPENAI_API_SECRET=<OpenAI API Secret Key> -e CLOVER_DB_PATH=<path to store DB> insights-bot nekomeowww/insights-bot:latest
docker run -it --rm -e TELEGRAM_BOT_TOKEN=<Telegram Bot API Token> -e OPENAI_API_HOST=https://<Some Host> -e OPENAI_API_SECRET=<OpenAI API Secret Key> -e CLOVER_DB_PATH=<path to store DB> insights-bot nekomeowww/insights-bot:latest
Remember to replace your token and cookie in docker-compose.yml
docker-compose up -d
go build -a -o "release/insights-bot" "github.com/nekomeowww/insights-bot/cmd/insights-bot"
docker buildx build --platform linux/arm64,linux/amd64 -t <tag> -f Dockerfile .