Telegram bot that helps to organize expenses and income
- Go with telebot
- MongoDB
- Docker
APP_URL=<app ip address or url>
BOT_TOKEN=<telegram bot token>
DATABASE_COLLECTION=<collection where documents are stored>
DATABASE_NAME=<database name>
MONGO_URI=<URI of your MongoDB database>
INITIAL_DIRECTORY=<root of the project, like /gelder-bot>
I recommend use MongoDB Atlas
docker pull ghcr.io/gelerum/gelder-bot:main
docker run --name some-gelder-bot -e APP_URL=<url> -e BOT_TOKEN=<token>... -d gelder-bot
git clone https://github.com/gelerum/gelder-bot.git
cd gelder-bot
docker build . -t gelder-bot
docker run --name some-gelder-bot -e APP_URL=<url> -e BOT_TOKEN=<token>... -d gelder-bot
export APP_URL=<url>
export BOT_TOKEN=<token>
...
git clone https://github.com/gelerum/gelder-bot.git
cd gelder-bot
go build cmd/bot/main.go
./bot
Usage is provided under the MIT License. See LICENSE for the full details.