{"id":23055588,"url":"https://github.com/vlazic/get-telegram-group-users","last_synced_at":"2026-03-02T16:38:09.805Z","repository":{"id":179985706,"uuid":"664405860","full_name":"vlazic/get-telegram-group-users","owner":"vlazic","description":"This script retrieves the list of members from a specified Telegram group and saves the data in CSV format.","archived":false,"fork":false,"pushed_at":"2026-01-28T14:39:41.000Z","size":29,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-11T14:14:49.548Z","etag":null,"topics":["telegram","telegram-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vlazic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-07-09T22:07:14.000Z","updated_at":"2026-01-28T14:45:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"826181e8-0053-46a9-bd5e-f662170b6467","html_url":"https://github.com/vlazic/get-telegram-group-users","commit_stats":null,"previous_names":["vlazic/get-telegram-group-users"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vlazic/get-telegram-group-users","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fget-telegram-group-users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fget-telegram-group-users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fget-telegram-group-users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fget-telegram-group-users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vlazic","download_url":"https://codeload.github.com/vlazic/get-telegram-group-users/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlazic%2Fget-telegram-group-users/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30009879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T15:15:59.058Z","status":"ssl_error","status_checked_at":"2026-03-02T15:15:58.758Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-api"],"created_at":"2024-12-16T01:12:43.838Z","updated_at":"2026-03-02T16:38:09.800Z","avatar_url":"https://github.com/vlazic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get Telegram Group Users\n\nThis script retrieves the list of members from a specified Telegram group and saves the data in CSV format.\n\n## Installation\n\n1. Clone this repository.\n2. Install dependencies:\n\n```sh\nnpm install\n```\n\n3. Copy the `.env.example` file and rename it to `.env`: `cp .env.example .env`\n\n4. Set up your `.env` file with the following variables:\n\n```sh\n# Create your app here: https://my.telegram.org/apps ; you'll get an API ID and an API hash\n# Use incognito mode and disable adblockers to avoid issues\nAPI_ID=your_telegram_api_id\nAPI_HASH=your_telegram_api_hash\n\n# here's how to get your group id: https://neliosoftware.com/content/help/how-do-i-get-the-channel-id-in-telegram/\n# don't forget the minus sign!\nGROUP_ID=your_group_id\n```\n\nYou can get your API ID and API Hash from the [Telegram Developer portal](https://my.telegram.org/apps). The Group ID is the ID of the [Telegram group](https://neliosoftware.com/content/help/how-do-i-get-the-channel-id-in-telegram/) you want to extract members from.\n\n## Usage\n\n1. Run the script:\n\n```sh\nnode script.js\n```\n\n2. Follow the prompts to enter your phone number and the code that Telegram sends to your device. If your account has two-factor authentication enabled, you will also need to enter your password.\n3. After the script runs, it will save a session file (`session.txt`) for future logins.\n4. The list of group members will be printed in the console and also saved to `participants.csv`.\n\n## Dependencies\n\n- [telegram](https://www.npmjs.com/package/telegram)\n- [dotenv](https://www.npmjs.com/package/dotenv)\n- [input](https://www.npmjs.com/package/input)\n- [json2csv](https://www.npmjs.com/package/json2csv)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlazic%2Fget-telegram-group-users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlazic%2Fget-telegram-group-users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlazic%2Fget-telegram-group-users/lists"}