All Projects → alwaysbegrowing → telegram-standup-bot

alwaysbegrowing / telegram-standup-bot

Licence: MIT license
Very simple telegram bot for submitting daily standups

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to telegram-standup-bot

theimagebot
Blog.TheOstrich.Eu.Org
Stars: ✭ 15 (-34.78%)
Mutual labels:  telegram-bot-api
ZEGBot
Build your Telegram Bot with Swift! (works on macOS / Ubuntu)
Stars: ✭ 52 (+126.09%)
Mutual labels:  telegram-bot-api
react-telegram
(WIP) A React custom renderer for the Telegram Bot API.
Stars: ✭ 14 (-39.13%)
Mutual labels:  telegram-bot-api
wptelegram
Integrate your WordPress site perfectly with Telegram with full control.
Stars: ✭ 31 (+34.78%)
Mutual labels:  telegram-bot-api
python-telegram-bot-calendar
Python inline calendar for Telegram bots
Stars: ✭ 71 (+208.7%)
Mutual labels:  telegram-bot-api
telegram-log
Send a Telegram message when your scripts fire an exception or when they finish their execution.
Stars: ✭ 16 (-30.43%)
Mutual labels:  telegram-bot-api
iOS-Daily-Tips
Daily Tips From iOS World 🔥
Stars: ✭ 42 (+82.61%)
Mutual labels:  daily
Nutgram
The Telegram bot framework that doesn't drive you nuts.
Stars: ✭ 206 (+795.65%)
Mutual labels:  telegram-bot-api
nestjs-telegraf
🤖 Powerful Nest module for easy and fast creation Telegram bots
Stars: ✭ 300 (+1204.35%)
Mutual labels:  telegram-bot-api
telegram bot
Script ini digunakan untuk mengontrol MikroTik Anda hanya dengan menggunakan sosial media Telegram.
Stars: ✭ 27 (+17.39%)
Mutual labels:  telegram-bot-api
Calendar.js
📅 A drag & drop event calendar (for Javascript), that is fully responsive and compatible with all modern browsers.
Stars: ✭ 29 (+26.09%)
Mutual labels:  daily
gotgbot
Autogenerated Go wrapper for the telegram API. Inspired by the python-telegram-bot library.
Stars: ✭ 178 (+673.91%)
Mutual labels:  telegram-bot-api
wikibot
A 🤖 which provides features from Wikipedia like summary, title searches, location API etc.
Stars: ✭ 25 (+8.7%)
Mutual labels:  telegram-bot-api
daily-monetization
Serve ads from different providers
Stars: ✭ 29 (+26.09%)
Mutual labels:  daily
telresender
A Telegram bot, which resend your message to another account
Stars: ✭ 22 (-4.35%)
Mutual labels:  telegram-bot-api
telegram-bot-dumper
🔪 Dumper & ripper for Telegram bots by token
Stars: ✭ 82 (+256.52%)
Mutual labels:  telegram-bot-api
botBasicoGlitch
Bot básico hecho mediante www.glitch.com y con Python3 , el cual irá creciendo conforme hagamos tutoriales/clases/dudas/llamadas en discord. Grupo de Telegram: http://t.me/boterostg
Stars: ✭ 23 (+0%)
Mutual labels:  telegram-bot-api
mattermost-remind
A /remind slash command for mattermost
Stars: ✭ 15 (-34.78%)
Mutual labels:  reminders
finch
A Golang Telegram Bot framework
Stars: ✭ 23 (+0%)
Mutual labels:  telegram-bot-api
Spectra
Spectra is a multi-purpose, for-fun and for-utility Discord bot!
Stars: ✭ 101 (+339.13%)
Mutual labels:  reminders

Stood Bot

A Telegram bot that automatically posts a personal update in your selected chats. All members of a chat can participate!

How to use

  1. Add @stood_bot to the chats you want your updates to be posted to
  2. Type /subscribe in each of those chats

Info

  • Reminder to submit an update sent at 10am est
  • Update posts at 11am est

Support

Create a GitHub issue if you are having problems with the bot.

Self Hosting Setup

  1. Install Vercel CLI yarn global add vercel

  2. Setup the project with vercel vercel deploy // accept all the default settings

  3. Create a telegram bot with botfather - https://core.telegram.org/bots#6-botfather

  4. Add your telegram bot API key as an env variable vercel env add TELEGRAM_API_KEY // then enter your TG API get obtained in step 3

  5. Create a database instance with mongodb atlas. Name your database standup - https://www.mongodb.com/cloud/atlas

  6. Add your MONGODB URI as an env variable vercel env add MONGODB_FULL_URI// then enter your mongodb connection URL obtained in step 2

  7. Pull down the env variables as a local .env file for local development vercel env pull

  8. Setup a webhook to your vercel standup URL https://core.telegram.org/bots/webhooks (example URL: https://bla-vercel.com/api/standup).

    https://api.telegram.org/bot${TELEGRAM_API_KEY}/setWebhook?url=https://.../api/standup?key=${TELEGRAM_API_KEY}

    This is how your bot will know when events happen inside of telegram

Local development

yarn
vercel dev
  • https://core.telegram.org/bots/webhooks - You can use these example webhooks to test your bot locally with curl or postman.
  • If you want to see the exact format of your webhooks - you can set your webhook url to http://webhook.site/ for testing.
  • If you wanted to test your bot fully locally, you can run the application with vercel dev then setup ngrok on the deployment URL - https://ngrok.com/docs then setup your webhooks to go to the ngrok url. (Note, ngrok has rate limiting, so some webhooks may be delayed or not sent)

This runs the website at localhost:3000 and runs your lambda functions in the /api folder on localhost:3000/api More info on how this works - https://vercel.com/docs/serverless-functions/introduction

Troubleshooting

If your messages or commands aren't going through check if you have any pending updates, read the error is, then clear them

You might have to fix the error, or it'll happen again

https://api.telegram.org/bot${TELEGRAM_API_KEY}/getWebhookInfo

https://api.telegram.org/bot${TELEGRAM_API_KEY}/deleteWebhook?drop_pending_updates=true

View your function logs in vercel. Visit vercel.com, login, navigate to your bot, click on your functions, then view the function logs.


Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].