{"id":23165931,"url":"https://github.com/ndejong/telegram-interface","last_synced_at":"2025-10-09T07:33:06.648Z","repository":{"id":57473860,"uuid":"200472750","full_name":"ndejong/telegram-interface","owner":"ndejong","description":"A quick tool for dumping out the Telegram Messenger groups that a user-account is in, listing all users within those groups.","archived":false,"fork":false,"pushed_at":"2019-12-08T11:27:33.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T21:36:11.785Z","etag":null,"topics":["telegram","telegram-group"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ndejong.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}},"created_at":"2019-08-04T09:17:02.000Z","updated_at":"2019-12-08T11:27:35.000Z","dependencies_parsed_at":"2022-09-10T13:02:34.654Z","dependency_job_id":null,"html_url":"https://github.com/ndejong/telegram-interface","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ndejong/telegram-interface","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Ftelegram-interface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Ftelegram-interface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Ftelegram-interface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Ftelegram-interface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndejong","download_url":"https://codeload.github.com/ndejong/telegram-interface/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndejong%2Ftelegram-interface/sbom","scorecard":{"id":677672,"data":{"date":"2025-08-11","repo":{"name":"github.com/ndejong/telegram-interface","commit":"847995d5d7b5e7c4fbb9bca1faca93bfbfefa6b3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 2-Clause \"Simplified\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: PYSEC-2018-49 / GHSA-rprw-h62v-c2w7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T22:02:25.169Z","repository_id":57473860,"created_at":"2025-08-21T22:02:25.169Z","updated_at":"2025-08-21T22:02:25.169Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000960,"owners_count":26082973,"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-10-09T02:00:07.460Z","response_time":59,"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":["telegram","telegram-group"],"created_at":"2024-12-18T01:30:07.080Z","updated_at":"2025-10-09T07:33:06.627Z","avatar_url":"https://github.com/ndejong.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Interface\n\n[![PyPi](https://img.shields.io/pypi/v/telegram-interface-cli.svg)](https://pypi.python.org/pypi/telegram-interface-cli/)\n[![Python Versions](https://img.shields.io/pypi/pyversions/telegram-interface-cli.svg)](https://github.com/ndejong/telegram-interface/)\n[![Build Status](https://api.travis-ci.org/ndejong/telegram-interface.svg?branch=master)](https://travis-ci.org/ndejong/telegram-interface/)\n[![License](https://img.shields.io/github/license/ndejong/telegram-interface.svg)](https://github.com/ndejong/telegram-interface)\n\nA quick tool for listing the Telegram Messenger groups that a user-account is invited into and\nlisting the users within groups.\n\n## Project\n* [github.com/ndejong/telegram-interface](https://github.com/ndejong/telegram-interface)\n\n## Install\n#### via PyPi\n```bash\npip3 install telegram-interface-cli\n```\n\n#### via Source\n```bash\ngit clone https://github.com:ndejong/telegram-interface\ncd telegram-interface\npython3 -m venv venv\nsource venv/bin/activate\npip3 install -r requirements.txt\npython3 setup.py clean\npython3 setup.py test\npython3 setup.py install\n```\n\n## Prerequisites\n* A [Telegram Messenger](https://telegram.org/) account invited into one or more group chat channels.\n* Setup API credentials on the Telegram Messenger account [core.telegram.org/api/obtaining_api_id](https://core.telegram.org/api/obtaining_api_id)\n\n## Configuration\n\nConfiguration is via a YAML format as per the following example\n```yaml\n\n---\n\ntelegram_interface_cli:\n\n#\n#  api_id: env:telegram_api_id\n#  api_hash: env:telegram_api_hash\n#  api_phone: env:telegram_api_phone\n#\n\n  api_id: '123456'\n  api_hash: '0123456789abcdef0123456789abcdef'\n  api_phone: '12125551234'\n\n  session_filename: '~/.telegram.session'\n\n```\n\nLoading environment variables into the configuration file is possible using the env name with an \n`env:` prefix, for example\n```yaml\n  api_id: env:telegram_api_id\n``` \nIn this case the `api_id` value is loaded loaded from the `telegram_api_id` env value.\n\n#### Environment Variables\n* `TELEGRAMINTERFACECLI_CONFIG_FILENAME` - configuration file override.\n\n## Outputs\nBy default output is in JSON data-structures making it easier to chain with other tools such as `jq` for further parsing \nand filtering if required.\n\nAdditionally, CSV outputs are possible using the `--csv` argument. \n\nLog status messages are sent to stderr and do not get in the way of pipe style tool chaining.\n\n\n\n### Usage\n```\nusage: telegram-interface [-h] [-c \u003cfilename\u003e] [-f \u003cfilename\u003e] [-o \u003cfilename\u003e]\n                          [-g] [-u] [--csv] [-d]\n\nTelegram Interface v0.1.7\n\noptional arguments:\n  -h, --help     show this help message and exit\n  -c \u003cfilename\u003e  Configuration file to use (required)\n  -f \u003cfilename\u003e  Data filename to use. If the data-file already exists it will\n                 be loaded as input without connecting to Telegram thus\n                 allowing a reload of a previous run. By default a filename is\n                 auto-generated in the current-working-directory.\n  -o \u003cfilename\u003e  Output filename, by default output is sent to \u003cstdout\u003e.\n  -g, --group    Output names of groups that the Telegram user is a member of,\n                 combine with -u to obtain the users within these groups.\n  -u, --user     Output names of the users that the Telegram user has\n                 visibility on.\n  --csv          Output in flattened CSV format.\n  -d, --debug    Debug level logging output.\n\nA quick tool for listing the Telegram Messenger groups that a user-account is\ninvited into and listing the users within groups.\n```\n\n****\n\n## Authors\n[Nicholas de Jong](https://nicholasdejong.com)\n\n## License\nBSD-2-Clause - see LICENSE file for full details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndejong%2Ftelegram-interface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndejong%2Ftelegram-interface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndejong%2Ftelegram-interface/lists"}