Giter Site home page Giter Site logo

lordotu / my-savings-telegram-bot Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 39 KB

๐Ÿค– This bot needs for simply storing your savings in a different currencies

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

License: The Unlicense

Go 98.06% Dockerfile 1.94%
telegram bot telegram-bot currencies savings

my-savings-telegram-bot's Introduction

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

my-savings-telegram-bot's People

Contributors

lordotu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.