Skip to content

gelerum/gelder-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gelder Bot

Telegram bot that helps to organize expenses and income

Stack

Running

Environment variables

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>

MongoDB

I recommend use MongoDB Atlas

Use the already built container

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

Build container by yourself

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

Locally Build and run app natively

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

License

Usage is provided under the MIT License. See LICENSE for the full details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages