LordotU / my-savings-telegram-bot

πŸ€– This bot needs for simply storing your savings in a different currencies

Home Page:https://t.me/MySavingsV0Bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Savings β€” Telegram Bot

License

Description

πŸ€– This bot needs for simply storing your savings in a different currencies.

Originally, you may find it at https://t.me/MySavingsV0Bot, but it not always working, cause resources are limited. πŸ˜­

Usage

You may run your own copy of this bot with Docker:

docker pull lordotu/my-savings-telegram-bot

docker run -dti \
  -e TELEGRAM_API_TOKEN=<Telegram API Token> \
  -e RATES_PROVIDER_OPTIONS="{\"FixerIOAPIKey\": \"<https://fixer.io API Key>\", \"FixerIOBaseCurrency\": \"EUR\", \"FixerIOSecure\": false, \"FixerIOSymbols\": [\"USD\",\"EUR\",\"JPY\",\"GBP\",\"AUD\",\"CAD\",\"CHF\",\"CNY\",\"NZD\",\"RUB\"]}" \
  --name my-savings-telegram-bot \
  lordotu/my-savings-telegram-bot

But before, you should register your bot via BotFather https://t.me/BotFather and get API key for Fixer https://fixer.io/signup/free

And don't forget about MongoDB which is used for storing data.

Configuring

# Defaults

DEBUG=false
DEBUG_TELEGRAM_API="false"


MONGO_DB_URI="mongodb://localhost:27017"
MONGO_DB_DATABASE="my-savings-telegram-bot"

RATES_PROVIDER="fixerio"
RATES_PROVIDER_OPTIONS="{\"FixerIOAPIKey\": \"\", \"FixerIOBaseCurrency\": \"EUR\", \"FixerIOSecure\": false, \"FixerIOSymbols\": [\"USD\",\"EUR\",\"JPY\",\"GBP\",\"AUD\",\"CAD\",\"CHF\",\"CNY\",\"NZD\",\"RUB\"]}"
RATES_RPOVIDER_UPDATE_PERIOD=3600

TELEGRAM_API_TOKEN=
TELEGRAM_API_UPDATES_TIMEOUT=60

About

πŸ€– This bot needs for simply storing your savings in a different currencies

https://t.me/MySavingsV0Bot

License:The Unlicense


Languages

Language:Go 98.1%Language:Dockerfile 1.9%