- This Telegram-bot receives currency-pair (like USD/EUR) and provides their current exchange rate.
- Secrets keeper (in develop):
- save your secret encrypted with your own passphrase
- obtain a secret by name and decrypt it with your passphrase
- you can specify the period to keep the secret
- you can specify the amount of reads for the secret
- transfer the secret to another Telegram user
- Go v.1.19
- go-telegram-bot-api-library
- Viper
- Docker
- Docker-compose
NOTE: 'config.env' file is not included! It contains two environment variables:
TELEGRAM_APITOKEN=... & APILayerKey=...
-
Add Telegram-bot by the following link: https://t.me/AlienAssistantBot
-
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.
-
Available commands:
/start
- simply start talking to bot/menu
- Main menu/help
- Help message/sayhi
- Get nice "Hi" :)/rate
- Send currency pair in formatUSD/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
-
-
Enjoy with Alien Assistant bot!