{"id":13793301,"url":"https://github.com/ShivangKakkar/StringSessionBot","last_synced_at":"2025-05-12T20:30:54.566Z","repository":{"id":38829152,"uuid":"410471523","full_name":"ShivangKakkar/StringSessionBot","owner":"ShivangKakkar","description":"Pyrogram and Telethon String Session Generator","archived":false,"fork":false,"pushed_at":"2024-12-28T05:13:17.000Z","size":41,"stargazers_count":146,"open_issues_count":1,"forks_count":365,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-09T00:02:46.629Z","etag":null,"topics":["pyrogram","python","string-session","telegram","telethon"],"latest_commit_sha":null,"homepage":"https://t.me/StarkStringGenBot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShivangKakkar.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-09-26T06:37:24.000Z","updated_at":"2025-02-08T14:16:11.000Z","dependencies_parsed_at":"2025-02-09T00:02:47.999Z","dependency_job_id":"8805f2eb-03ad-434e-b97b-019d051891f8","html_url":"https://github.com/ShivangKakkar/StringSessionBot","commit_stats":null,"previous_names":["starkbotsindustries/stringsessionbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivangKakkar%2FStringSessionBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivangKakkar%2FStringSessionBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivangKakkar%2FStringSessionBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivangKakkar%2FStringSessionBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShivangKakkar","download_url":"https://codeload.github.com/ShivangKakkar/StringSessionBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253816670,"owners_count":21968862,"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":["pyrogram","python","string-session","telegram","telethon"],"created_at":"2024-08-03T23:00:18.217Z","updated_at":"2025-05-12T20:30:54.248Z","avatar_url":"https://github.com/ShivangKakkar.png","language":"Python","funding_links":[],"categories":["Telegram Bot List","Python"],"sub_categories":["List of Source Codes"],"readme":"# Pyrogram and Telethon String Session Bot [@StarkStringGenBot](https://t.me/StarkStringGenBot)\n\n\u003e A star ⭐ from you means a lot to us!\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://www.github.com/StarkBotsIndustries/StringSessionBot\"\u003e\u003cimg src=\"https://telegra.ph/file/7ec22c82f580a334dd13e.jpg\" width=\"2000\"\u003e\u003c/a\u003e\u003c/p\u003e\n\nTelegram bot to generate pyrogram and telethon string session.\n\n[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)\n\n## Usage\n\n### Deploy to Heroku\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/StarkBotsIndustries/StringSessionBot)\n\n1. Tap on above button and fill `API_ID`, `API_HASH`, `BOT_TOKEN` (and `MUST_JOIN`).\n2. Then tap \"Deploy App\" below it. Wait till deploying is complete (will take atmost 2 minutes).\n3. After deploying is complete, tap on \"Manage App\"\n4. Check the logs to see if your bot is ready!\n\n### Local Deploying\n\n1. Clone the repo\n   ```markdown\n   git clone https://github.com/StarkBotsIndustries/StringSessionBot\n   ```\n2. Get a `DATABASE_URL`. If you don't know how, deploy using Heroku Button only or delete database things as it's not a compulsion.\n   \n3. Rename `.env.sample` to `.env` and fill the needed variables\n\n4. Enter the directory\n   ```markdown\n   cd StringSessionBot\n   ```\n\n5. Install all the dependencies\n   ```markdown\n   pip install -r requirements.txt\n   ```\n\n6. Run the file\n   ```markdown\n   python3 bot.py\n   ```\n\n## Environment Variables\n\n#### Mandatory Vars\n\n- `API_ID` - Get this from [my.telegram.org](https://my.telegram.org/auth)\n- `API_HASH` - Get this from [my.telegram.org](https://my.telegram.org/auth)\n- `BOT_TOKEN` - Get this from [@BotFather](https://t.me/BotFather)\n- `DATABASE_URL` - Will be automatically added by Heroku.\n- `MUST_JOIN` - Username/ID of your telegram channel/group.\n\n## Functions\n\n- Generate Pyrogram user string session\n- Generate Pyrogram bot string session\n- Generate Pyrogram (Major) Version 1 and 2 string sessions\n- Generate Telethon string session\n\n\n## To-Do\n\n\u003e That's on you mainly...\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n## Credits\n\n- [Dan Tès](https://github.com/delivrance) for his [Pyrogram](https://docs.pyrogram.org) Library\n- [Lonami](https://github.com/Lonami) for his [Telethon](https://docs.telethon.dev) Library \n- [aylak](https://t.me/ayIak) for **Telethon** idea of [v1.0.0](https://github.com/StarkBotsIndustries/StringSessionBot/commit/48e06bb6d9ed156797ef4bc0dab88820fef948f3)\n\n## Support\n\nChannel :- [@StarkBots](https://t.me/StarkBots)\n\nGroup Chat :- [@StarkBotsChat](https://t.me/StarkBotsChat)\n\n## :)\n\n[![ForTheBadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)\n\n[![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://github.com/StarkBotsIndustries)\n\n[![ForTheBadge makes-people-smile](http://ForTheBadge.com/images/badges/makes-people-smile.svg)](https://github.com/StarkBotsIndustries)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShivangKakkar%2FStringSessionBot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FShivangKakkar%2FStringSessionBot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShivangKakkar%2FStringSessionBot/lists"}