https://github.com/losparviero/downi
Indicate your users of downtime in Telegram!
https://github.com/losparviero/downi
bot down downtime downtime-notifer grammy grammyjs telegram telegram-bot
Last synced: 11 days ago
JSON representation
Indicate your users of downtime in Telegram!
- Host: GitHub
- URL: https://github.com/losparviero/downi
- Owner: losparviero
- License: agpl-3.0
- Created: 2023-03-19T13:38:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T04:46:59.000Z (over 2 years ago)
- Last Synced: 2025-08-20T20:50:41.824Z (2 months ago)
- Topics: bot, down, downtime, downtime-notifer, grammy, grammyjs, telegram, telegram-bot
- Language: JavaScript
- Homepage: https://npmjs.com/downbot
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Downtime Telegram Bot
Indicate your users of downtime in Telegram!
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flosparviero%2Fdowni%2Ftree%2Fvercel&env=BOT_TOKEN&project-name=downbot&repository-name=downbot)
Vercel instructions.
Note after deploying you have to set webhook.
Use the following webhook url:
```url
https://downbot-.vercel.app/api/bot
```Or just use [@hooktelebot](https://hooktelebot.t.me).
### Brief Note
Whenever you start work or maintenance on your bot just call ```npx downbot``` to notify your users in the meanwhile.
If you use a .env file just call downbot in the same directory as your bot and it'll use that. No need to even set env vars.
The bot replies to all commands & messages.
### Usage
If installed:
```shell
downbot
```
For temporary use:```shell
npx downbot
```
_Note:_ You'll have to keep the terminal running for the duration.
Make sure env vars are set in your working directory.
On Mac / Linux
```bash
touch .env && { echo "BOT_TOKEN="; } >> .env && nano .env
```On Windows
```cmd
type nul > .env && echo BOT_TOKEN= >> .env && notepad .env
```
### Install
```shell
npm i -g downbot
```### Uninstall
```shell
npm uninstall downbot
```
### License
AGPL 3.0 ©️ Zubin