Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewmaksimchuk/driver_bot
Telegram bot for learn how to drive on car.
https://github.com/andrewmaksimchuk/driver_bot
bun deno executable telegram-bot typescript
Last synced: 15 days ago
JSON representation
Telegram bot for learn how to drive on car.
- Host: GitHub
- URL: https://github.com/andrewmaksimchuk/driver_bot
- Owner: AndrewMaksimchuk
- Created: 2022-05-18T21:53:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-15T19:24:53.000Z (7 months ago)
- Last Synced: 2024-10-25T10:45:59.400Z (2 months ago)
- Topics: bun, deno, executable, telegram-bot, typescript
- Language: TypeScript
- Homepage:
- Size: 385 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Driver bot
Telegram bot for sends traffic rules messages to
known users.All commands for work locate in `Makefile`.
For "parser" need environment variable
`DRIVER_BOT_PATH` set to path to vodiy project.
You can use next command in terminal:
`DRIVER_BOT_PATH=path_to_vodiy make parser`vodiy project source link: [https://github.com/AndrewMaksimchuk/vodiy](https://github.com/AndrewMaksimchuk/vodiy)
For work with bot on telegram, need set environment
variable `DRIVER_BOT` to id of the bot.## Database
Used sqlite but file inself not included.
Need set environment variable `DATABASE` to
path to database file.## Images
Not included.
## Experiment
In directory `native` used `bun` runtime to build
in one executable file with database data.Result file name is `pdr_bun`.
If run it, you will see in stdout a random rule.