{"id":16505077,"url":"https://github.com/aahnik/tg-login","last_synced_at":"2025-06-22T22:39:24.036Z","repository":{"id":57474975,"uuid":"360524952","full_name":"aahnik/tg-login","owner":"aahnik","description":"A command-line tool to login into Telegram with user or bot accounts and generate session string.","archived":false,"fork":false,"pushed_at":"2024-08-12T15:01:19.000Z","size":50,"stargazers_count":54,"open_issues_count":6,"forks_count":24,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-20T11:07:02.588Z","etag":null,"topics":["aahnik","login","python3","telegram-bot","telegram-bot-api","telegram-login","telethon"],"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/aahnik.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":"2021-04-22T13:15:34.000Z","updated_at":"2025-03-02T21:03:46.000Z","dependencies_parsed_at":"2024-10-25T18:28:33.743Z","dependency_job_id":"0b5d3a7b-2db9-4c7a-b491-e0dc03cc3012","html_url":"https://github.com/aahnik/tg-login","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"015dacf74bdd0bae1d9eefed5e59bb180ae5b058"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aahnik/tg-login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aahnik%2Ftg-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aahnik%2Ftg-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aahnik%2Ftg-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aahnik%2Ftg-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aahnik","download_url":"https://codeload.github.com/aahnik/tg-login/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aahnik%2Ftg-login/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261380447,"owners_count":23149934,"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":["aahnik","login","python3","telegram-bot","telegram-bot-api","telegram-login","telethon"],"created_at":"2024-10-11T15:09:13.430Z","updated_at":"2025-06-22T22:39:19.010Z","avatar_url":"https://github.com/aahnik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tg-login\n\nA command line tool to login into Telegram with user or bot accounts and generate session string.\n\n## Installation\n\nWe recommend using [pipx](https://github.com/pypa/pipx) for install tg-login\n\n```shell\npip install pipx # install pipx first\npipx install tg-login # for dependancy isolation\n```\n\n## Usage\n\n```shell\nUsage: tg-login [OPTIONS]\n\n  A command line tool to login into Telegram with user or bot accounts.\n\nOptions:\n  --API_ID INTEGER  API ID obtained from my.telegram.org  [env var: API_ID;\n                    required]\n\n  --API_HASH TEXT   API HASH obtained from my.telegram.org  [env var:\n                    API_HASH; required]\n\n  -v, --version     Show version and exit.\n  --help            Show this message and exit.\n```\n\n## Repl\n\nYou may run this `tg-login` online by using this repl.\n\n[![run on repl](https://docs.replit.com/images/repls/run-on-replit.svg)](https://replit.com/@aahnik/tg-login)\n\nNote:\n\n- A python virtual environment is created before execution and deleted post execution.\n- All sensitive user input is hidden.\n- The session string is not printed on screen, but sent to user.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faahnik%2Ftg-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faahnik%2Ftg-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faahnik%2Ftg-login/lists"}