https://github.com/atereshkov/daily-polish-tg-bot
Simple telegram bot for learning polish words on a daily basis. Written in JS and hosted on fly.io
https://github.com/atereshkov/daily-polish-tg-bot
javascript nodejs telegraf telegraf-bots telegram telegram-bot
Last synced: about 2 months ago
JSON representation
Simple telegram bot for learning polish words on a daily basis. Written in JS and hosted on fly.io
- Host: GitHub
- URL: https://github.com/atereshkov/daily-polish-tg-bot
- Owner: atereshkov
- Created: 2022-11-26T11:57:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-23T13:24:51.000Z (almost 3 years ago)
- Last Synced: 2025-08-17T12:35:51.051Z (11 months ago)
- Topics: javascript, nodejs, telegraf, telegraf-bots, telegram, telegram-bot
- Language: JavaScript
- Homepage:
- Size: 157 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# daily-polish-tg-bot
Simple telegram bot for learning polish words on a daily basis. Written in JS and hosted on fly.io.
https://t.me/DailyPolishBot
### Stack
* NodeJS, JavaScript, Express
* Postgres (`pg`) used as a database, persisting users and data
* `node-schedule` used to send messages on a daily basis
* Built using `telegraf` as a TG client
* Logger `winston`
* `@amplitude/node` used for analytics purposes
### Run
#### Dev
`npm run start-dev` will start with `dev` environment in polling mode and will use `nodemon`.
#### Prod
`npm run start` will start with `production` environment and will use webhook.
### Deploy on fly.io
TBC.