{"id":48997855,"url":"https://github.com/arebaka/topbot","last_synced_at":"2026-04-18T17:35:37.052Z","repository":{"id":44912542,"uuid":"444474640","full_name":"arebaka/topbot","owner":"arebaka","description":"a Telegram bot for monitoring your PC or server","archived":false,"fork":false,"pushed_at":"2022-04-09T06:21:15.000Z","size":52,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-04T03:46:48.167Z","etag":null,"topics":["arch","bot","htop","linux","monitor","neofetch","processes","system","telegram","top"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arebaka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-04T15:43:46.000Z","updated_at":"2024-04-04T07:44:52.000Z","dependencies_parsed_at":"2022-09-05T18:01:32.994Z","dependency_job_id":null,"html_url":"https://github.com/arebaka/topbot","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/arebaka/topbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arebaka%2Ftopbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arebaka%2Ftopbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arebaka%2Ftopbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arebaka%2Ftopbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arebaka","download_url":"https://codeload.github.com/arebaka/topbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arebaka%2Ftopbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31978285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arch","bot","htop","linux","monitor","neofetch","processes","system","telegram","top"],"created_at":"2026-04-18T17:35:31.921Z","updated_at":"2026-04-18T17:35:37.041Z","avatar_url":"https://github.com/arebaka.png","language":"JavaScript","readme":"# topbot\n*Why are you installing Arch Linux when you can just edit source of the neofetch?*\n\n\u003e A bot for those who wanna boast of their Arch Linux in the [Telegram](https://telegram.org), but are too lazy to run neofetch.\n\n![](https://img.shields.io/tokei/lines/github/arebaka/topbot)\n![](https://img.shields.io/github/repo-size/arebaka/topbot)\n![](https://img.shields.io/npm/v/topbot)\n![](https://img.shields.io/codefactor/grade/github/arebaka/topbot)\n\n![](https://img.shields.io/badge/English-100%25-brightgreen)\n\n## Commands\n`/info` – get a dashboard with general stat of the system  \n`/tree` – get running processes in tree view (parents \u0026 children)  \n`/bypid [filter]` – get a list of running processes sorted by their PID  \n`/byuser [filter]` – get a list of running processes sorted by their user  \n`/bypri [filter]` – get a list of running processes sorted by their priority  \n`/bynice [filter]` – get a list of running processes sorted by their nice  \n`/bystate [filter]` – get a list of running processes sorted by their state  \n`/bycpu [filter]` – get a list of running processes sorted by their CPU usage  \n`/bymem [filter]` – get a list of running processes sorted by their memory usage  \n`/bytime [filter]` – get a list of running processes sorted by their uptime  \n`/bycmd [filter]` – get a list of running processes sorted by their command  \n`/\u003cPID\u003e` – get stat of the process with PID\n\n## Usage\n1. Create and setup a bot via [@BotFather](https://t.me/BotFather)\n2. Install [npm](https://www.npmjs.com) \u0026 [node.js](https://npmjs.com/package/node)\n3. `npm i topbot`\n4. `export TOKEN=\u003cTOKEN_FROM_BOTFATHER\u003e`\n5. `export ADMINS='\u003cIDS OF USERS WHO CAN USE THE BOT SEPARATED BY SPACE\u003e'`\n6. `npx topbot`\n7. Now the `$ADMINS` can use the bot everywhere (commands, inline, buttons)\n8. To stop the bot, type `stop` to console with it and press enter\n\n**WARNING!** Start your bot in PM before using the inline!\n\n## Settings\nA file `config.toml` contains:\n\n`[bot]` – parameters for the launch of the bot that could be used instead the variables of environment  \n`[image]` – a filename from `./views` with a page and a selector of an element on it to render the general dashboard  \n`[process]` – currently contains a list of signals that can be sended to processes using buttons\n\nTo render the dashboard, the page from `./views` must contain a function `render(data)` that takes an object with information returning by [systeminformation](https://www.npmjs.com/package/systeminformation)`.getAllData()`\n\n## Screenshots\n![](https://user-images.githubusercontent.com/36796676/150057466-57ba8e93-1b91-4f6d-8ffc-4ec6daaf7b59.png)\n![](https://user-images.githubusercontent.com/36796676/150055966-49b8941f-1591-42a1-8c9f-10d04833b218.png)\n![](https://user-images.githubusercontent.com/36796676/150056080-c0676198-8748-47a3-9a38-a99e6d4770e2.png)\n![](https://user-images.githubusercontent.com/36796676/150056305-9607517c-c46c-41fa-a493-990cf0052a1e.png)\n![](https://user-images.githubusercontent.com/36796676/150056442-1a6d2417-fd90-4698-976a-c6d6671aa151.png)\n![](https://user-images.githubusercontent.com/36796676/150056580-9bdd20f6-5bf9-47b0-9edb-222db703677e.png)\n![](https://user-images.githubusercontent.com/36796676/150056670-5826f8f4-4574-48b0-843d-13fdd47fa102.png)\n\n## Support\nIf something doesnt work, or you just wanna talk to the bot creator or her mom, write [@arelive](https://t.me/arelive). There also accepted kicks from volunteer project managers.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farebaka%2Ftopbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farebaka%2Ftopbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farebaka%2Ftopbot/lists"}