Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikhail-angelov/telegram-bot-motd
https://github.com/mikhail-angelov/telegram-bot-motd
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mikhail-angelov/telegram-bot-motd
- Owner: mikhail-angelov
- Created: 2016-08-02T12:46:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-28T23:57:12.000Z (almost 3 years ago)
- Last Synced: 2024-07-31T12:07:24.428Z (3 months ago)
- Language: TypeScript
- Size: 43 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-telegram-bots - motd - Small Telegram bot, live demo: SmartyMotdBot (Examples / Node.js)
README
# Small telegram bot
This is minimal telegram bot, deployed for serverless lambdas
> before deployment, make sure rename .env.sample to .env and update environment variables for your bot
## Build bot
> make sure you have Node.js 14+ is installed
- `npm i`
- `npm run build`## Deploy to [vercel](https://vercel.com)
- make sure vercel cli is installed and you logged in to vercel cloud
- run `make vercel` to deploy lambda
- run `make register` to register telegram bot webhook## Deploy to [yandex cloud function](https://cloud.yandex.ru)
- make sure [yc cli](https://cloud.yandex.ru/docs/cli/quickstart) is set up
- run `make yandex`
- run `make register` to register telegram bot webhook## Live: @SmartyMotdBot