{"id":13793338,"url":"https://github.com/ShivangKakkar/TelegraphBot","last_synced_at":"2025-05-12T20:30:55.626Z","repository":{"id":43055887,"uuid":"396931829","full_name":"ShivangKakkar/TelegraphBot","owner":"ShivangKakkar","description":"https://t.me/StarkBots","archived":true,"fork":false,"pushed_at":"2022-03-07T23:53:06.000Z","size":30,"stargazers_count":25,"open_issues_count":0,"forks_count":26,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-01T17:03:12.474Z","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":"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}},"created_at":"2021-08-16T18:58:55.000Z","updated_at":"2024-07-14T08:19:10.000Z","dependencies_parsed_at":"2022-09-10T00:23:30.529Z","dependency_job_id":null,"html_url":"https://github.com/ShivangKakkar/TelegraphBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivangKakkar%2FTelegraphBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivangKakkar%2FTelegraphBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivangKakkar%2FTelegraphBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivangKakkar%2FTelegraphBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShivangKakkar","download_url":"https://codeload.github.com/ShivangKakkar/TelegraphBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253816673,"owners_count":21968863,"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":[],"created_at":"2024-08-03T23:00:19.055Z","updated_at":"2025-05-12T20:30:55.359Z","avatar_url":"https://github.com/ShivangKakkar.png","language":"Python","funding_links":[],"categories":["Telegram Bot List","Python"],"sub_categories":["List of Source Codes"],"readme":"# [Better use Telegraph-Go-Bot](https://github.com/StarkBotsIndustries/Telegraph-Go-Bot)\n\n### This repository is not maintained anymore and is now deprecated. It is replaced with [Telegraph-Go-Bot](https://github.com/StarkBotsIndustries/Telegraph-Go-Bot), which is written in Golang and has much more features.\n\n# Telegraph Bot\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/TelegraphBot\"\u003e\u003cimg src=\"https://telegra.ph/file/365d147816bf1295226b9.jpg\" width=\"5000\"\u003e\u003c/a\u003e\u003c/p\u003e\n\nTelegram bot to upload media to telegra.ph\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/TelegraphBot)\n\n1. Tap on above button and fill `API_ID`, `API_HASH`, `BOT_TOKEN`.\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/TelegraphBot\n   ```\n\n2. Edit `Config.py` and fill the needed variables\n\n3. Enter the directory\n   ```markdown\n   cd TelegraphBot\n   ```\n5. Run the file\n   ```markdown\n   python3 main.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- `OWNER_ID` - Your Telegram ID\n- `DATABASE_URL` - Will be automatically added by Heroku.\n  \n#### Optional Vars\n\n\u003e Don't forget to add your bot in the chat you fill in MUST_JOIN.\n\n- `MUST_JOIN` - Username/ID of your telegram channel/group.\n\n#### Owner Special Command\n\n- `/stats` - Get Total Users and Chats using your bot.\n\n## Functions\n\n\u003e More features soon, this is a minimal example :)\n\nUpload one of the below supported media type to Telegra.ph\n\n1) Image\n2) Video\n3) Sticker\n4) Gifs or Animation\n5) Videos\n6) Video Note\n7) Document (Video/Photo/Gif)\n\n## To-Do\n\n\u003e That's on you mainly...\n\n## Stats\n\n[![GitHub forks](https://img.shields.io/github/forks/StarkBotsIndustries/TelegraphBot.svg?style=social\u0026label=Fork\u0026maxAge=25920000)](https://github.com/StarkBotsIndustries/TelegraphBot/network/) [![GitHub stars](https://img.shields.io/github/stars/StarkBotsIndustries/TelegraphBot.svg?style=social\u0026label=Star\u0026maxAge=25920000)](https://github.com/StarkBotsIndustries/TelegraphBot/stargazers/) [![GitHub watchers](https://img.shields.io/github/watchers/StarkBotsIndustries/TelegraphBot.svg?style=social\u0026label=Watch\u0026maxAge=25920000)](https://github.com/StarkBotsIndustries/TelegraphBot/watchers/)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/StarkBotsIndustries/TelegraphBot/graphs/commit-activity)\n\n## License\n\n[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)\n\n## Contributing\n\n[![GitHub contributors](https://img.shields.io/github/contributors/StarkBotsIndustries/TelegraphBot.svg)](https://github.com/StarkBotsIndustries/TelegraphBot/graphs/contributors/)\n\n\u003e Contributions are heartily accepted.\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\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%2FTelegraphBot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FShivangKakkar%2FTelegraphBot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FShivangKakkar%2FTelegraphBot/lists"}