{"id":50474169,"url":"https://github.com/shnwazdeveloper/livegrambot","last_synced_at":"2026-06-01T12:02:30.953Z","repository":{"id":356451919,"uuid":"1232590079","full_name":"shnwazdeveloper/livegrambot","owner":"shnwazdeveloper","description":"Railway-ready Telegram Livegram clone bot factory","archived":false,"fork":false,"pushed_at":"2026-05-08T04:53:30.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-08T06:36:22.421Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/shnwazdeveloper.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-08T04:41:23.000Z","updated_at":"2026-05-08T04:53:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shnwazdeveloper/livegrambot","commit_stats":null,"previous_names":["shnwazdeveloper/livegrambot"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/shnwazdeveloper/livegrambot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnwazdeveloper%2Flivegrambot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnwazdeveloper%2Flivegrambot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnwazdeveloper%2Flivegrambot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnwazdeveloper%2Flivegrambot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shnwazdeveloper","download_url":"https://codeload.github.com/shnwazdeveloper/livegrambot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnwazdeveloper%2Flivegrambot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33773782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"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":[],"created_at":"2026-06-01T12:02:30.122Z","updated_at":"2026-06-01T12:02:30.938Z","avatar_url":"https://github.com/shnwazdeveloper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Livegram Bot\n\nA Railway-ready Telegram Livegram-style bot. The main bot can receive `/clone YOUR_BOT_TOKEN` in private chat and start a clone bot for that user.\n\n## Features\n\n- Runs with `python-telegram-bot`\n- Uses Railway environment variables instead of hard-coded secrets\n- `/clone YOUR_BOT_TOKEN` starts a user-owned clone\n- `/myclones` lists the user's clones\n- `/removeclone USERNAME_OR_ID` stops and removes a clone\n- Admin reply flow with inline Reply buttons\n\n## Railway Deploy\n\n1. Create the factory bot with [@BotFather](https://t.me/BotFather).\n2. Deploy this public GitHub repo on Railway with \"New Project\" then \"Deploy from GitHub repo\".\n3. Add these Railway variables before the first deploy:\n\n```env\nBOT_TOKEN=your_factory_bot_token\nADMIN_IDS=your_telegram_user_id\nFORWARD_CHAT_ID=your_telegram_user_id\nENABLE_CLONING=true\nCLONES_FILE=clones.json\n```\n\nRailway will use `railway.json` and start the app with:\n\n```bash\npython main.py\n```\n\n## How Users Clone\n\n1. The user creates a new bot token with [@BotFather](https://t.me/BotFather).\n2. The user opens your factory bot in private chat.\n3. The user sends:\n\n```text\n/clone 123456789:AA...\n```\n\n4. The factory bot starts that token as a clone.\n5. The user opens their new clone bot and presses `/start` so the clone bot can message their admin inbox.\n\n## Important Security Note\n\nAnyone who sends a bot token to your factory bot is trusting your Railway deployment with control of that bot. Do not log or publish tokens. This repo ignores `.env` and `clones.json`, but the running service still stores clone tokens so clones can restart.\n\nFor production persistence on Railway, mount a Railway volume and set `CLONES_FILE` to a path inside that volume, for example `/data/clones.json`. Without persistent storage, clones may disappear after redeploys or restarts.\n\n## Local Run\n\n```bash\npython -m venv .venv\n.venv\\Scripts\\activate\npip install -r requirements.txt\ncopy .env.example .env\npython main.py\n```\n\nSet real values in `.env` or export the same variables in your shell before running.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshnwazdeveloper%2Flivegrambot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshnwazdeveloper%2Flivegrambot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshnwazdeveloper%2Flivegrambot/lists"}