{"id":13988964,"url":"https://github.com/azamaulanaaa/botkaca","last_synced_at":"2025-07-22T10:30:45.108Z","repository":{"id":40733918,"uuid":"289686735","full_name":"azamaulanaaa/botkaca","owner":"azamaulanaaa","description":"Bot that leech (re-upload) internet contents including torrent to telegram","archived":true,"fork":false,"pushed_at":"2021-05-12T11:35:08.000Z","size":160,"stargazers_count":133,"open_issues_count":27,"forks_count":611,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-29T07:37:07.705Z","etag":null,"topics":["google-cloud","heroku","leecher","mtproto","python3","telegram-bot","torrent"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azamaulanaaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-23T13:00:17.000Z","updated_at":"2024-11-29T03:42:50.000Z","dependencies_parsed_at":"2022-07-13T17:20:41.120Z","dependency_job_id":null,"html_url":"https://github.com/azamaulanaaa/botkaca","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/azamaulanaaa/botkaca","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azamaulanaaa%2Fbotkaca","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azamaulanaaa%2Fbotkaca/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azamaulanaaa%2Fbotkaca/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azamaulanaaa%2Fbotkaca/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azamaulanaaa","download_url":"https://codeload.github.com/azamaulanaaa/botkaca/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azamaulanaaa%2Fbotkaca/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266474894,"owners_count":23934828,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["google-cloud","heroku","leecher","mtproto","python3","telegram-bot","torrent"],"created_at":"2024-08-09T13:01:27.359Z","updated_at":"2025-07-22T10:30:44.808Z","avatar_url":"https://github.com/azamaulanaaa.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# BOTKACA\n\nBotkaca allows you to leech (re-upload) contents from internet including torrent to telegram. This bot using Telegram MTProto powered by pyrogram.\n\n## Feature\n\n* Set as Private (using password)\n* Able to use at group\n* Able to leech larger than 2GB (telegram max upload at once)\n* Split as video (.mp4, .mkv, .avi, .webm, .wmv, .mov)\n* Upload files as media or as document\n* Upload files as a single zip file\n* Custom thumbnail\n* Default torrent tracker\n* Customizeable language (default is english)\n* Configuration using environment variable\n\n## Configuration\n\nChange config by set the corresponding environment variable name.\n\n* `WORKDIR` : working directory path\n* `LOG_FILE` : log file name\n* `MAX_LOG_SIZE` : maximum log size\n* `EDIT_SLEEP` : delay between edit message\n* `UPLOAD_MAX_SIZE` : maximum file size (in bytes) upload at once (watchout telegram max upload size)\n* `UPLOAD_AS_DOC` : upload any files as document (1 or 0)\n* `UPLOAD_AS_ZIP` : upload any files as a bundled zip file (1 or 0)\n* `ARIA2_DIR` : download directory before uploading\n* `TORRENT_TRACKER` : addition tracker for all torrent, separated by (`,`)\n* `BAR_SIZE` : bar size on upload and download\n* `THUMBNAIL_NAME` : default thumbnail file name\n* `LOCAL` : languange bot using\n* `CHAT_ID` : default chat_ids that have access to bot, separated by (`,`)\n\n## Deploy button\n\n[\u003cimg src=\"https://deploy.cloud.run/button.svg\" alt=\"Run on Google Cloud\" height=\"40\"/\u003e](https://deploy.cloud.run?git_repo=https://github.com/azamaulanaaa/botkaca.git \"Google Cloud\")\n[\u003cimg src=\"https://www.herokucdn.com/deploy/button.svg\" alt=\"Deploy to Heroku\" height=\"40\"/\u003e](https://heroku.com/deploy?template=https://github.com/azamaulanaaa/botkaca \"Heroku\")\n\n*Currently google cloud does not supported due to app.json clash with heroku. Check out Google Cloud Run issue [#112](https://github.com/GoogleCloudPlatform/cloud-run-button/issues/112#issuecomment-663858778 \"Both Cloud Run Button and Heroku Button - app.json Clash\")*\n\n## How to run\n\n```sh\n#!/bin/sh\n\n# get botkaca source\ngit clone https://github.com/azamaulanaaa/botkaca.git\n\n# build then execute using docker image\ndocker build -t azamaulanaaa/botkaca botkaca\ndocker run -it azamaulanaaa/botkaca\n```\n\n## Bot Details\n\n### Specification\n\n* Python 3\n* Python Library\n    * pyrogram asyc\n    * tgcrypto\n    * aria2p\n* Program Dependece\n    * aria2c\n    * ffmpeg + ffprobe\n* Dockerize (multi-stage)\n\n### Folder Structure\n\n* `/` : development detail and deploy config\n* `/bot` : module root dir\n    * `__init__.py` : bot config\n    * `__main__.py` : register handler then run bot\n    * `config.py` : create configuration and configurable from env var\n* `/bot/handler` : message handler\n* `/bot/locals` : localization and default is en\n* `/bot/plugins` : third party implementation","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazamaulanaaa%2Fbotkaca","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazamaulanaaa%2Fbotkaca","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazamaulanaaa%2Fbotkaca/lists"}