{"id":22687312,"url":"https://github.com/dead-beef/telegram-bot","last_synced_at":"2025-08-12T18:45:11.636Z","repository":{"id":131250165,"uuid":"132421507","full_name":"dead-beef/telegram-bot","owner":"dead-beef","description":"Markov chain Telegram bot","archived":false,"fork":false,"pushed_at":"2022-04-29T15:31:23.000Z","size":166,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T16:32:09.384Z","etag":null,"topics":["chatbot","markov-chain","telegram-bot"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/dead-beef.png","metadata":{"files":{"readme":"README.rst","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-07T07:12:06.000Z","updated_at":"2022-01-28T15:25:03.000Z","dependencies_parsed_at":"2023-09-09T12:33:03.435Z","dependency_job_id":null,"html_url":"https://github.com/dead-beef/telegram-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/dead-beef%2Ftelegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dead-beef%2Ftelegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dead-beef%2Ftelegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dead-beef%2Ftelegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dead-beef","download_url":"https://codeload.github.com/dead-beef/telegram-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207491,"owners_count":20740723,"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":["chatbot","markov-chain","telegram-bot"],"created_at":"2024-12-09T23:17:53.507Z","updated_at":"2025-03-29T15:42:59.769Z","avatar_url":"https://github.com/dead-beef.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"telegram-bot\n============\n\nOverview\n--------\n\nRequirements\n------------\n\n-  `Python 3 \u003chttps://www.python.org/\u003e`__\n\nInstallation\n------------\n\n.. code:: bash\n\n    git clone https://github.com/dead-beef/telegram-bot\n    cd telegram-bot\n    pyvenv env\n    pyvenv --system-site-packages env\n    source env/bin/activate\n    pip install -e .[dev]\n\nTesting\n-------\n\n.. code:: bash\n\n    ./test\n\nUsage\n-----\n\n::\n\n    \u003e python -m bot -h\n    usage: __main__.py [-h] [-P POLL] [-p PROXY] [-d DATA_DIR]\n                       [-l {critical,error,warning,info,debug}]\n                       TOKEN_OR_FILE\n\n    positional arguments:\n      TOKEN_OR_FILE         bot token or token file\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      -P POLL, --poll POLL  polling interval in seconds (default: 0.0)\n      -p PROXY, --proxy PROXY\n                            proxy (default: socks5://127.0.0.1:9050/ (tor))\n      -d DATA_DIR, --data-dir DATA_DIR\n                            bot data directory (default: ~/.bot)\n      -l {critical,error,warning,info,debug},\n      --log-level {critical,error,warning,info,debug}\n                            log level (default: info)\n\n::\n\n    \u003e python -m bot.import_json -h\n    usage: python -m bot.import_json \u003csrc_json\u003e \u003csrc_chat_id\u003e \u003cdst_db\u003e [dst_chat_id]\n\n::\n\n    \u003e python -m bot.leave_groups -h\n    usage: leave_groups.py [-h] [-p PROXY] [-d DATA_DIR] TOKEN_OR_FILE\n\n    positional arguments:\n      TOKEN_OR_FILE         bot token or token file\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      -p PROXY, --proxy PROXY\n                            proxy (default: socks5://127.0.0.1:9050/ (tor))\n      -d DATA_DIR, --data-dir DATA_DIR\n                            bot data directory (default: ~/.bot)\n\n\nLicenses\n--------\n\n-  `telegram-bot \u003chttps://github.com/dead-beef/telegram-bot/blob/master/LICENSE\u003e`__\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdead-beef%2Ftelegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdead-beef%2Ftelegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdead-beef%2Ftelegram-bot/lists"}