{"id":15583056,"url":"https://github.com/ashokshau/auto-approve-bot","last_synced_at":"2025-06-18T00:34:02.197Z","repository":{"id":253563652,"uuid":"843778644","full_name":"AshokShau/Auto-Approve-Bot","owner":"AshokShau","description":"Telegram bot to auto approve chat join requests.","archived":false,"fork":false,"pushed_at":"2025-04-14T21:20:27.000Z","size":31,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T02:53:01.036Z","etag":null,"topics":["approve-bot","auto-approve","bot","go","gotgbot","mongodb","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://FallenApproveBot.t.me","language":"Go","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/AshokShau.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-17T11:47:43.000Z","updated_at":"2025-04-14T21:20:24.000Z","dependencies_parsed_at":"2024-08-29T13:42:35.140Z","dependency_job_id":"4db1dba9-6747-429e-b60e-70f2017ab244","html_url":"https://github.com/AshokShau/Auto-Approve-Bot","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"8f844ecdc5f8b729131e4dcbcced57b6e78831e4"},"previous_names":["abishnoi69/auto-approve-bot","ashokshau/auto-approve-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AshokShau/Auto-Approve-Bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2FAuto-Approve-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2FAuto-Approve-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2FAuto-Approve-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2FAuto-Approve-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AshokShau","download_url":"https://codeload.github.com/AshokShau/Auto-Approve-Bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2FAuto-Approve-Bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260462104,"owners_count":23013028,"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":["approve-bot","auto-approve","bot","go","gotgbot","mongodb","telegram","telegram-bot"],"created_at":"2024-10-02T20:04:25.438Z","updated_at":"2025-06-18T00:33:57.162Z","avatar_url":"https://github.com/AshokShau.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto-Approve-Bot\n\nTelegram bot to auto approve chat join requests.\n\n## Prerequisites\n\n- **Go** version 1.23.0 or later\n- **MongoDB** Database Url\n- **Telegram Bot Token** from [BotFather](https://t.me/botfather)\n\n## Installation\n\n### 1. Install Go\n\nFollow the instructions to install Go on your system: [Go Installation Guide](https://golang.org/doc/install)\n\n\u003cdetails\u003e\n\u003csummary\u003eEasy Way:\u003c/summary\u003e\n\n```shell\ngit clone https://github.com/udhos/update-golang dlgo \u0026\u0026 cd dlgo \u0026\u0026 sudo ./update-golang.sh \u0026\u0026 source /etc/profile.d/golang_path.sh\n```\n\nExit the terminal and open the terminal to check the installation.\n\u003c/details\u003e\n\nVerify the installation by running:\n\n```shell\ngo version\n```\n\n### 2. Clone the repository\n\n```shell\ngit clone https://github.com/AshokShau/Auto-Approve-Bot.git ApproveBot \u0026\u0026 cd ApproveBo\n```\n\n### 3. Set up the environment\n\nCopy the sample environment file and edit it as needed:\n\n```shell\ncp sample.env .env\nvi .env\n```\n\n### 4. Build the project\n\n```shell\ngo build \n```\n\n## Start the bot\n\n```shell\nsudo ./Auto-Approve-Bot\n```\n\n## Deploy on Vercel\n\n* Deploy the bot on Vercel with the following steps:\n* Fork this repository 🍴\n* Login your [Vercel](https://vercel.com/) account\n* Go to your [Add New Project](https://vercel.com/new)\n* Choose the repository you forked\n* Configure the environment variables: `DB_URI` [MongoDB](https://www.mongodb.com/)\n* Tap on Deploy\n* After deployment, visit the deployed URL \u0026 Connect your bot with the deployed URL.\n\n* Start the bot by sending `/start` command to the bot.\n* Congratulations 🎉 Enjoy the bot 🌟 if you have any questions, join the [support Channel](https://t.me/FallenProjects)\n  🤗\n\n## Usage\n\n1. **Start the bot**: Start the bot by sending `/start` command to the bot.\n2. **Add the bot to your group**: Add the bot to your group and make it an admin with permission to approve new members.\n\n\u003e **Note**: The bot must be an admin with \u003cu\u003eInvite Users\u003c/u\u003e permission to approve new members to auto-approve new\n\u003e members.\n\n### Commands\n\n- `/start`: Start the bot.\n- `/ping`: Check if the bot is running.\n- `/autoApprove`: Enable/Disable auto-approve mode (Admin Only).\n- `/stats`: Get the bot's statistics (Bot Owner Only).\n- `/broadcast`: Broadcast a message to all users (Bot Owner Only).\n\n## Contributing\n\n\u003cdetails\u003e\n\u003csummary\u003eContributing Guidelines\u003c/summary\u003e\n\nContributions are welcome! Follow these steps to contribute:\n\n1. **Fork the repository**: Click the \"Fork\" button at the top right of this page to create a copy of this repository in\n   your GitHub account.\n\n2. **Clone the repository**: Clone your forked repository to your local machine.\n    ```shell\n    git clone https://github.com/your-username/Auto-Approve-Bot.git\n    cd Auto-Approve-Bot\n    ```\n\n3. **Create a branch**: Create a new branch for your changes.\n    ```shell\n    git checkout -b feature-branch\n    ```\n\n4. **Make your changes**: Make your changes to the codebase.\n\n5. **Commit your changes**: Commit your changes with a descriptive commit message.\n    ```shell\n    git add .\n    git commit -m \"Description of your changes\"\n    ```\n\n6. **Push to your branch**: Push your changes to your forked repository.\n    ```shell\n    git push origin feature-branch\n    ```\n\n7. **Submit a pull request**: Go to the original repository on GitHub and create a pull request from your forked\n   repository.\n\nPlease ensure your code follows the project's coding standards and includes appropriate tests.\n\nThank you for contributing!\n\u003c/details\u003e\n\n## License\n\nThis project is licensed under the MIT License—see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashokshau%2Fauto-approve-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashokshau%2Fauto-approve-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashokshau%2Fauto-approve-bot/lists"}