{"id":19871313,"url":"https://github.com/MehdiSalari/Hiddify-TelegramBot","last_synced_at":"2025-09-18T17:31:40.877Z","repository":{"id":249990081,"uuid":"833119571","full_name":"MehdiSlr/Hiddify-TelegramBot","owner":"MehdiSlr","description":"Telegram Bot fot Hiddfy VPN panel.","archived":false,"fork":false,"pushed_at":"2024-07-24T13:32:02.000Z","size":13,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-12T16:12:11.291Z","etag":null,"topics":["bot","hiddify","hiddify-api","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/AHAtechVpnBot","language":"PHP","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/MehdiSlr.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":"2024-07-24T11:47:51.000Z","updated_at":"2024-09-26T08:25:41.000Z","dependencies_parsed_at":"2024-07-24T15:55:15.388Z","dependency_job_id":null,"html_url":"https://github.com/MehdiSlr/Hiddify-TelegramBot","commit_stats":null,"previous_names":["mehdislr/hiddify-telegrambot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MehdiSlr%2FHiddify-TelegramBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MehdiSlr%2FHiddify-TelegramBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MehdiSlr%2FHiddify-TelegramBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MehdiSlr%2FHiddify-TelegramBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MehdiSlr","download_url":"https://codeload.github.com/MehdiSlr/Hiddify-TelegramBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233505182,"owners_count":18686271,"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":["bot","hiddify","hiddify-api","telegram","telegram-bot"],"created_at":"2024-11-12T16:11:54.258Z","updated_at":"2025-09-18T17:31:35.551Z","avatar_url":"https://github.com/MehdiSlr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VPN Sales System with Hiddify Panel\n\n## Overview\n\nThis project is designed to facilitate the sale of VPN services using the Hiddify panel. It integrates with a Telegram bot to provide users with an interactive way to view, select, and purchase VPN plans. The bot supports various plans, including unlimited and limited data options, with different pricing tiers.\n\n## Features\n\n- \u003cb\u003eInteractive Telegram Bot:\u003c/b\u003e Users can interact with the bot to view available VPN plans, select their desired plan, and proceed with payment.\n\n- \u003cb\u003ePlan Options:\u003c/b\u003e\n\n    - \u003cb\u003eNormal Plans:\u003c/b\u003e Various data plans with limited and unlimited options.\n\n    - \u003cb\u003eVIP Plans:\u003c/b\u003e Premium plans with additional benefits.\n\n- \u003cb\u003ePayment Integration:\u003c/b\u003e Users can select payment options directly from the bot.\n\n- \u003cb\u003eProforma Invoice Generation:\u003c/b\u003e Automatically generates a proforma invoice with plan details and pricing.\n\n## Setup and Installation\n\n### Requirements\n\n- PHP 7.4 or higher\n\n- MySQL or compatible database\n\n- Telegram Bot API Token\n\n- Hiddify Panel setup\n\n### Configuration\n\n1. \u003cb\u003eDatabase Configuration:\u003c/b\u003e Update the database connection settings in `serv_conf.php`.\n\n2. \u003cb\u003eTelegram Bot Setup:\u003c/b\u003e\n\n    - Create a Telegram bot using [BotFather](https://t.me/BotFather).\n\n    - Obtain the bot API token and configure it in your script.\n\n3. \u003cb\u003eHiddify Panel Setup:\u003c/b\u003e Ensure Hiddify is properly set up and configured to handle VPN provisioning and management.\n\n### Installation Steps\n\n1. Clone the repository or download the project files.\n\n```bash\ngit clone https://your-repository-url.git\n```\n\n2. Configure the database connection by editing `serv_conf.php` with your database details.\n\n3. Set up your Telegram bot by replacing placeholders in the script with your bot API token.\n\n4. Deploy the script on your web server or local environment.\n\n## Usage\n\n### Starting the Bot\n\n1. Start the bot using a PHP server or deploy it on a web server with PHP support.\n\n2. Interact with the bot via Telegram:\n\n    - Use `/start` to view the main menu.\n\n    - Navigate through options to view available VPN plans.\n\n    - Select a plan to view details and proceed with payment.\n\n### Plan Selection\n\n- \u003cb\u003eNormal Plans:\u003c/b\u003e Choose from various data limits with prices ranging from 50,000 to 130,000 Tomans.\n\n- \u003cb\u003eVIP Plans:\u003c/b\u003e Premium options with prices from 90,000 to 170,000 Tomans.\n\n### Payment\n\n- Users can select \"Card to Card\" payment and follow instructions provided by the bot.\n\n## Proforma Invoice\n\nAfter selecting a plan and proceeding with payment, a proforma invoice will be generated with the following details:\n\n- Plan Name\n\n- Price\n\n- Description\n\n## Troubleshooting\n\n- \u003cb\u003eDatabase Issues:\u003cb\u003e Check your database connection settings and ensure the temp table exists.\n\n- \u003cb\u003eBot Errors:\u003c/b\u003e Ensure your bot token is correctly configured and that the bot is running.\n\n## Contributing\n\nFeel free to contribute to this project by submitting pull requests or reporting issues. Ensure that all contributions are well-documented and tested.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMehdiSalari%2FHiddify-TelegramBot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMehdiSalari%2FHiddify-TelegramBot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMehdiSalari%2FHiddify-TelegramBot/lists"}