{"id":22960271,"url":"https://github.com/stringmanolo/telegram-cli-bot","last_synced_at":"2025-08-13T06:32:48.888Z","repository":{"id":41371613,"uuid":"330770556","full_name":"StringManolo/Telegram-CLI-Bot","owner":"StringManolo","description":"A Node.js/Quickjs compatible cli bot to control devices from telegram. Run shell commands, javascript, c, c++ and python easily using device cli software.","archived":false,"fork":false,"pushed_at":"2022-03-22T21:28:00.000Z","size":20,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-01T14:31:49.145Z","etag":null,"topics":["cli","javascript","linux","linux-shell","nodejs","quickjs","rat","telegram-bot","termux","termux-hacking"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StringManolo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-18T19:47:12.000Z","updated_at":"2023-10-27T17:16:23.000Z","dependencies_parsed_at":"2022-08-25T11:40:43.664Z","dependency_job_id":null,"html_url":"https://github.com/StringManolo/Telegram-CLI-Bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StringManolo%2FTelegram-CLI-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StringManolo%2FTelegram-CLI-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StringManolo%2FTelegram-CLI-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StringManolo%2FTelegram-CLI-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StringManolo","download_url":"https://codeload.github.com/StringManolo/Telegram-CLI-Bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229740866,"owners_count":18117006,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cli","javascript","linux","linux-shell","nodejs","quickjs","rat","telegram-bot","termux","termux-hacking"],"created_at":"2024-12-14T18:32:06.959Z","updated_at":"2024-12-14T18:32:13.089Z","avatar_url":"https://github.com/StringManolo.png","language":"JavaScript","readme":"# Telegram-CLI-Bot\nA Quickjs/Node.js console bot to control devices from telegram.\n\n## Notice\nThis project is more complete. Is a full rewrite:  \nhttps://github.com/StringManolo/nbmxbsf  \n  \n### Download\ngit clone https://github.com/StringManolo/Telegram-CLI-Bot.git\n\n### Install Termux\npkg install quickjs \u0026\u0026 cd Telegram-CLI-Bot \u0026\u0026 qjs tgbot.js\n\n\n\n### Run\n```\nusage: qjs/node tgbot [options]  \n  -t  --token            Telegram Bot Api Token. https://t.me/BotFather  \n  -s  --save             Save the token internally to start the bot in the future without manually provide the token each time.  \n  -l  --load             Use the saved token to start the bot.  \n  -h  --help             This message.  \n  -p  --password         Password to log from Telegram.  \n  -v  --verbose          Show basic feedback to the command line interface.  \n  -w  --wait             Bot delay in seconds. (Can process multiple messages at once, so you don't need a really low number to don't fallback).  \n```\n  \n### examples quickjs\nqjs tgbot.js -t 192829292:iqidkwiexampleunvalidtokeniwjwusjwis -s -v -p miPasswordToLogin\n  \nqjs tgbot.js -l -v -p miPasswordToLogin\n  \nqjsc -o tgbot tgbot.js \u0026\u0026 cp tgbot ~/../usr/bin/  \n  \ntgbot -l -w 8 -v -p miPasswordToLogin\n\n### examples node\nnode tgbot.js -t 192829292:iqidkwiexampleunvalidtokeniwjwusjwis -s -v -p miPasswordToLogin\n  \nnode tgbot.js -l -v -w 8 -p miPasswordToLogin\n  \n### telegram chat commands\n```\n/help\n/login\n\n/run\n/js\n/c++\n/python\n/wait\n/shutdown\n```\n\nTo log in, first write /login and then write the password in a new message.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstringmanolo%2Ftelegram-cli-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstringmanolo%2Ftelegram-cli-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstringmanolo%2Ftelegram-cli-bot/lists"}