{"id":20081763,"url":"https://github.com/simplebot-org/simplebot_tgchan","last_synced_at":"2025-07-08T08:35:25.742Z","repository":{"id":61913728,"uuid":"554649518","full_name":"simplebot-org/simplebot_tgchan","owner":"simplebot-org","description":"🌉  Telegram channels subscriptions in Delta Chat","archived":false,"fork":false,"pushed_at":"2023-03-01T04:59:32.000Z","size":42,"stargazers_count":5,"open_issues_count":5,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-26T15:56:31.532Z","etag":null,"topics":["bridge","deltachat","plugin","simplebot","telegram"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplebot-org.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2022-10-20T06:45:26.000Z","updated_at":"2025-05-18T09:36:33.000Z","dependencies_parsed_at":"2025-05-06T00:32:31.504Z","dependency_job_id":"e22a68d7-812d-426f-b46e-0a85498a5f10","html_url":"https://github.com/simplebot-org/simplebot_tgchan","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/simplebot-org/simplebot_tgchan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplebot-org%2Fsimplebot_tgchan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplebot-org%2Fsimplebot_tgchan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplebot-org%2Fsimplebot_tgchan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplebot-org%2Fsimplebot_tgchan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplebot-org","download_url":"https://codeload.github.com/simplebot-org/simplebot_tgchan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplebot-org%2Fsimplebot_tgchan/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264232291,"owners_count":23576812,"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":["bridge","deltachat","plugin","simplebot","telegram"],"created_at":"2024-11-13T15:40:14.114Z","updated_at":"2025-07-08T08:35:25.723Z","avatar_url":"https://github.com/simplebot-org.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Telegram Channels Bridge\n========================\n\n.. image:: https://img.shields.io/pypi/v/simplebot_tgchan.svg\n   :target: https://pypi.org/project/simplebot_tgchan\n\n.. image:: https://img.shields.io/pypi/pyversions/simplebot_tgchan.svg\n   :target: https://pypi.org/project/simplebot_tgchan\n\n.. image:: https://pepy.tech/badge/simplebot_tgchan\n   :target: https://pepy.tech/project/simplebot_tgchan\n\n.. image:: https://img.shields.io/pypi/l/simplebot_tgchan.svg\n   :target: https://pypi.org/project/simplebot_tgchan\n\n.. image:: https://github.com/simplebot-org/simplebot_tgchan/actions/workflows/python-ci.yml/badge.svg\n   :target: https://github.com/simplebot-org/simplebot_tgchan/actions/workflows/python-ci.yml\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://github.com/psf/black\n\nA `SimpleBot`_ plugin that allows to subscribe to Telegram channels from Delta Chat.\n\n    For bridging groups use: https://github.com/simplebot-org/simplebot_tggroups\n\nInstallation\n------------\n\nTo install run::\n\n  pip install simplebot-tgchan\n\nConfiguration\n-------------\n\nSee https://github.com/simplebot-org/simplebot to know how to configure the bot with an e-mail account.\n\nBefore you start using the bot, you need to get your own API ID and hash, go to https://my.telegram.org/\nand get them then configure the bot::\n\n    simplebot -a bot@example.com db -s simplebot_tgchan/api_id \"12345\"\n    simplebot -a bot@example.com db -s simplebot_tgchan/api_hash \"0123456789abcdef\"\n\nThen you must provide a phone number for the bot to use, to start session in Telegram::\n\n    simplebot -a bot@example.com login\n\nAfter entering the verification code you received in Telegram or via SMS, start the bot::\n\n    simplebot -a bot@example.com serve\n\nThen you can start subscribing to Telegram channels adding the bot to Delta Chat groups and using\n``/sub`` command.\n\nTweaking Default Configuration\n------------------------------\n\nYou can tweak the interval (in seconds) the bot checks Telegram channels for new messages::\n\n    simplebot -a bot@example.com db -s simplebot_tgchan/delay 300\n\nBy default the bot checks Telegram for new messages every 5 minutes.\n\nYou can tweak the maximum size (in bytes) of attachments the bot will download::\n\n    simplebot -a bot@example.com db -s simplebot_tgchan/max_size 5242880\n\nBy default the bot will download attachments of up to 5MB.\n\nYou can restrict the usage of ``/sub`` and ``/unsub`` commands to bot administrators only::\n\n    simplebot -a bot@example.com db -s simplebot_tgchan/allow_subscriptions 0\n\nBy default the bot will allow any user to subscribe to Telegram channels.\n\nTo add your address as the bot administrator::\n\n    simplebot -a bot@example.com admin -a me@example.com\n\n\n.. _SimpleBot: https://github.com/simplebot-org/simplebot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplebot-org%2Fsimplebot_tgchan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplebot-org%2Fsimplebot_tgchan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplebot-org%2Fsimplebot_tgchan/lists"}