https://github.com/neuodev/echo
Echo is a telegram bot that can send hourly updates about the current price of USD/EGP and USD/ASR
https://github.com/neuodev/echo
Last synced: 3 months ago
JSON representation
Echo is a telegram bot that can send hourly updates about the current price of USD/EGP and USD/ASR
- Host: GitHub
- URL: https://github.com/neuodev/echo
- Owner: neuodev
- Created: 2022-08-16T14:02:40.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-16T09:08:34.000Z (almost 4 years ago)
- Last Synced: 2026-03-31T05:39:15.757Z (4 months ago)
- Language: Rust
- Size: 108 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Echo
Echo is a telegram bot that can send hourly updates about the current price of USD/EGP, USD/ASR and gold prices.
You can find the bot on telegram with by searching about `@echo_v1_bot` and then you can start getting hourly updates about the prices
## Message Example
```
Prices updates 🔥🔥
1 USD = 19.15 EGP
1 USD = 3.75 SAR
1 SAR = 5.10 EGP
📈 Gold prices (1g) 👇👇
Gold 24k ⏩ 1093.94 EGP
Gold 22k ⏩ 1002.78 EGP
Gold 21k ⏩ 957.20 EGP
Gold 20k ⏩ 911.62 EGP
Gold 18k ⏩ 820.46 EGP
```
## Run with configs
```bash
USAGE:
echo.exe [OPTIONS]
OPTIONS:
-b, --broadcast-interval
Time to send the prices for all users [default: 8h]
-h, --help
Print help information
-u, --update-iterval
Time to poll latest updates from telegram ans store it in a local file [default: 10m]
-V, --version
Print version information
```
# This is on your own you need these three env variables
```bash
BOT_AUTH_TOKEN= # get it from https://core.telegram.org/bots/api follow the steps
EXCHAINGE_RATES_API_TOKEN = # from https://openexchangerates.org
GOLD_API_TOKEN= # from https://www.goldapi.io/
```
# References
[Telegram API](https://core.telegram.org/bots/api) To interact with the bot channel
[Open exchange rates](https://openexchangerates.org) To get the latest prices for every fiat curreny
[Gold API](https://www.goldapi.io) Get the latest price of gold