@IsBotDownBot Telegram bot code
https://isbotdown.com
- TypeScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Non-Pages workflows move to .forgejo/workflows; GitHub (a push mirror) keeps only Pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| .forgejo/workflows | ||
| .github | ||
| .vscode | ||
| locales | ||
| src | ||
| .env.sample | ||
| .eslintrc.json | ||
| .gitignore | ||
| .nvmrc | ||
| .prettierrc.json | ||
| LICENSE | ||
| nixpacks.toml | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
@IsBotDownBot code
Code of the bot that tracks the up and down status of other bots.
Installation and local launch
- Clone this repo:
git clone https://github.com/backmeupplz/IsBotDownBot - Launch the mongo database locally
- Create
.envwith the environment variables listed below - Run
yarnin the root folder - Run
yarn develop
And you should be good to go! Feel free to fork and submit pull requests. Thanks!
Environment variables
TOKEN— Telegram bot tokenMONGO— URL of the mongo databaseTELEGRAM_API_ID— see the docsTELEGRAM_API_HASH— see the docsPORT— port to run the backend on (defaults to1337)
Also, please, consider looking at .env.sample.
API
You can also access API at https://backend.isbotdown.com. Available routes are:
GET /bots?skip={skip}&limit={limit}
Returns a paginated list of bots with their statuses.
GET /bots/{bot_username}
Returs the status of the bot with the given username. You can pass usernames with or without the @ prefix.
GET /audience/{bot_username}
Returns audience info from @TrueCheckerBot and @botspulsebot.
CI/CD
main branch get automatically deployed to @IsBotDownBot via ci-ninja.
License
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!