Skip to content

Telegram-bot. Currency rates & Secrets Keeper (in develop)

Notifications You must be signed in to change notification settings

ppichugin/AlienAssistantBot

Repository files navigation

"Alien Assistant" - Telegram Bot

(in develop)

Go Report Card


The functionality:

  1. This Telegram-bot receives currency-pair (like USD/EUR) and provides their current exchange rate.
  2. Secrets keeper (in develop):
    1. save your secret encrypted with your own passphrase
    2. obtain a secret by name and decrypt it with your passphrase
    3. you can specify the period to keep the secret
    4. you can specify the amount of reads for the secret
    5. transfer the secret to another Telegram user

Application uses:

API for currency updates:

NOTE: 'config.env' file is not included! It contains two environment variables:

TELEGRAM_APITOKEN=... & APILayerKey=...

Usage:

  1. Add Telegram-bot by the following link: https://t.me/AlienAssistantBot

  2. Run from root directory of the repository:

    make run-pull

    This will run docker-compose that will pull the latest images with backend application

    NOTE: Since 'config.env' file is not included into the repo, you can not re-build backend app yourself.

  3. Available commands:

    • /start - simply start talking to bot
    • /menu - Main menu
    • /help - Help message
    • /sayhi - Get nice "Hi" :)
    • /rate - Send currency pair in format USD/EUR and get the current exchange rate
    • /secret - go to Secrets Keeper mode:
      • /save <name> <username> <passphrase> [expiration] [reads] [owner]

        [expiration] option: P{x}Y{x}M{x}DT{x}M{x}S. Example: "P12Y4MT15M" where T is a separator for Time (minutes, seconds)

        Other options: reads = natural number, owner = Telegram username

      • /get <name>

        • enter passphrase to decrypt
      • /transfer ... to be continued

  4. Enjoy with Alien Assistant bot!

About

Telegram-bot. Currency rates & Secrets Keeper (in develop)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published