Skip to content

Commit ce91e2d

Browse files
committed
add README.md
1 parent 06841e7 commit ce91e2d

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Avgeek Telegram Bot
2+
3+
___
4+
5+
Since I am an avgeek and plane spotter, I use Flightradar24 like everyone else, but I am missing some features.
6+
7+
- First of all, even though flightradar has an alert system, it does not track flights with flight number N/A. This is a problem for me since almost all An-124s have little to no flight information.
8+
- Secondly it doesn't notify about scheduled flights I am interested in.
9+
10+
___
11+
12+
Of course, there may be simpler solutions to these problems, but I decided to create my own in the form of a Telegram bot.
13+
The bot is able to notify about all flying An-124s, as well as about all wide-body airplanes (and Boeing 757) that will make a scheduled flight to the airport of your choice.
14+
15+
You can try it out for yourself [here](https://t.me/Avgeek_ViLsonCake_Bot).
16+
17+
___
18+
19+
### Stack
20+
21+
- Fastapi (Python)
22+
- Spring boot (Java)
23+
- Postgresql
24+
- Docker
25+
26+
### Installation
27+
28+
1. Create a Telegram bot using [BotFather](https://t.me/BotFather).
29+
30+
2. Create an .env file:
31+
```dotenv
32+
API_KEY=YOUR_API_KEY
33+
API_URL=http://localhost:8000
34+
API_DOCKER_URL=http://flightradar-api:8000
35+
36+
BOT_NAME=YOUR_BOT_NAME
37+
BOT_TOKEN=YOUR_TOKEN
38+
39+
POSTGRES_HOST=avgeek_bot_postgres
40+
POSTGRES_DOCKER_PORT=YOUR_DOCKER_PORT
41+
POSTGRES_USER=YOUR_POSTGRES_USER
42+
POSTGRES_PASSWORD=YOUR_POSTGRES_PASSWORD
43+
POSTGRES_DB=YOUR_DB_NAME
44+
```
45+
46+
3. Run the application in Docker:
47+
```
48+
docker-compose up --build -d
49+
```

0 commit comments

Comments
 (0)