{"id":21867843,"url":"https://github.com/jakbin/t-bot","last_synced_at":"2025-09-10T08:13:16.379Z","repository":{"id":65366137,"uuid":"560798737","full_name":"jakbin/t-bot","owner":"jakbin","description":"upload files to your telegram channel or group with ypur telegram bot","archived":false,"fork":false,"pushed_at":"2025-07-28T14:40:13.000Z","size":38,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-28T14:52:17.648Z","etag":null,"topics":["bot","telegram","telegram-bot","telegram-bot-api","telegram-upload","telegram-uploader","upload-file"],"latest_commit_sha":null,"homepage":"","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/jakbin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-02T09:44:26.000Z","updated_at":"2025-07-28T14:40:17.000Z","dependencies_parsed_at":"2024-12-01T07:10:12.945Z","dependency_job_id":null,"html_url":"https://github.com/jakbin/t-bot","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"9e8f9330dffa0aa0ac9467830713e301cfc820aa"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jakbin/t-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Ft-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Ft-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Ft-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Ft-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakbin","download_url":"https://codeload.github.com/jakbin/t-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakbin%2Ft-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273874160,"owners_count":25183367,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bot","telegram","telegram-bot","telegram-bot-api","telegram-upload","telegram-uploader","upload-file"],"created_at":"2024-11-28T05:10:47.926Z","updated_at":"2025-09-10T08:13:16.370Z","avatar_url":"https://github.com/jakbin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# t-bot\n\nUpload files to your Telegram channel or group with your telegram bot\n\n [![PyPI version](https://badge.fury.io/py/tl-bot.svg)](https://pypi.org/project/tl-bot/)\n [![Downloads](https://pepy.tech/badge/tl-bot/month)](https://pepy.tech/project/tl-bot)\n [![Downloads](https://static.pepy.tech/personalized-badge/tl-bot?period=total\u0026units=international_system\u0026left_color=green\u0026right_color=blue\u0026left_text=Total%20Downloads)](https://pepy.tech/project/tl-bot)\n ![GitHub Contributors](https://img.shields.io/github/contributors/jakbin/t-bot)\n ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/jakbin/t-bot)\n ![GitHub last commit](https://img.shields.io/github/last-commit/jakbin/t-bot)\n ![Python 3.6](https://img.shields.io/badge/python-3.6-yellow.svg)\n\n\n## Features\n- Progress bar\n- You can change file name before upload on telegram\n\nNote : Bot can upload only 50 MB file (with default telegram bot api server url).\n\n\n## Installation\n\n```sh\npip3 install tl-bot\n```\n\n## Usage \n```sh\nt-bot setup               # setup your telegram credentials\nt-bot setup --cahtid -1001234567890 --token 1234:asdfgjkl --server http://127.0.0.1:8081      # setup your telegram credentials\nt-bot reset               # reset to default your telegram credentials\nt-bot test                # test telegram bot token\nt-bot getid               # get chat id of your connected group or channel\nt-bot up {file_name} -c file_caption       # upload Telegram channel or group\nt-bot d {url} -c caption                   # download and upload file to your Telegram channel or group\n```\n\n# API\n\nThe anonfile-upload client is also usable through an API (for test integration, automation, etc)\n\n### tl_bot.test_token(bot_token)\n\n```py\nfrom tl_bot import test_token\n\ntest_token(bot_token)   # bot_token type str\n```\n\n### tl_bot.uploader(file_name: str, server_url: str, bot_token: str, chat_id: str, caption: str)\n\n```py\nfrom tl_bot import uploader\n\nuploader(file_name, server_url, bot_token, chat_id, caption)    # all arguments must be str\n```\n\n### tl_bot.download(url:str, bot_token:str, chat_id:str, caption:str)\n\n```py\nfrom tl_bot import download\n\ndownload(url, bot_token, chat_id, caption)    # all arguments must be str\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakbin%2Ft-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakbin%2Ft-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakbin%2Ft-bot/lists"}