{"id":25214114,"url":"https://github.com/mizegerd-tech/contact-us-website-bot","last_synced_at":"2026-04-05T21:32:10.342Z","repository":{"id":275808632,"uuid":"927259192","full_name":"mizegerd-tech/Contact-us-website-bot","owner":"mizegerd-tech","description":"📱 Contact Bot Website is a simple yet powerful platform that connects users with businesses through a seamless contact form integrated with a Telegram bot, ensuring instant message forwarding and automated responses.","archived":false,"fork":false,"pushed_at":"2025-02-04T17:08:59.000Z","size":1131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-04T18:20:53.935Z","etag":null,"topics":["contact-form","contact-form-7","css","css3","html","html-css-javascript","html5","javascript","telegram","telegram-api","telegram-bot","telegram-bot-api","telegram-bots","telegram-userbot","telegrambot","website"],"latest_commit_sha":null,"homepage":"","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/mizegerd-tech.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":"2025-02-04T17:04:51.000Z","updated_at":"2025-02-04T17:09:03.000Z","dependencies_parsed_at":"2025-02-04T18:32:41.629Z","dependency_job_id":null,"html_url":"https://github.com/mizegerd-tech/Contact-us-website-bot","commit_stats":null,"previous_names":["mizegerd-tech/contact-us-website-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizegerd-tech%2FContact-us-website-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizegerd-tech%2FContact-us-website-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizegerd-tech%2FContact-us-website-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mizegerd-tech%2FContact-us-website-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mizegerd-tech","download_url":"https://codeload.github.com/mizegerd-tech/Contact-us-website-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247307954,"owners_count":20917600,"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":["contact-form","contact-form-7","css","css3","html","html-css-javascript","html5","javascript","telegram","telegram-api","telegram-bot","telegram-bot-api","telegram-bots","telegram-userbot","telegrambot","website"],"created_at":"2025-02-10T16:58:30.485Z","updated_at":"2025-12-30T23:07:23.462Z","avatar_url":"https://github.com/mizegerd-tech.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n# 📱 Contact Bot Website\r\nA simple contact form website that connects to a Telegram bot for message forwarding and automated responses.\r\n![Banner](https://github.com/user-attachments/assets/ddd7b1e8-7854-4103-b444-157b6ff86624)\r\n\r\n### Table of Contents\r\n1. [Install \u0026 Run](#install--run)\r\n2. [Features](#features)\r\n3. [Contributing](#contributing)\r\n4. [License](#license)\r\n\r\n### Install \u0026 Run\r\n\r\n#### Prerequisites\r\n1. Install **PHP** (version 7.4+ recommended).\r\n2. Install a web server like **Apache** or use built-in PHP development server.\r\n3. Set up **Telegram Bot API Token**.\r\n4. Ensure **cURL** and **GD** extensions are enabled in PHP.\r\n\r\n#### Steps\r\n\r\n1. **Install PHP \u0026 Apache**  \r\n   ```bash\r\n   sudo apt update\r\n   sudo apt install apache2 php libapache2-mod-php php-curl php-gd\r\n   ```\r\n\r\n2. **Clone the Repository**  \r\n   ```bash\r\n   git clone https://github.com/mizegerd-tech/Contact-us-website-bot.git\r\n   cd contact-bot-site\r\n   ```\r\n\r\n3. **Configure the Bot**  \r\n   Open `bot.php` and update the **Telegram Bot Token** and **Chat ID**:\r\n   ```php\r\n   $botToken = \"YOUR_BOT_TOKEN\";\r\n   $chatId = \"YOUR_CHAT_ID\";\r\n   ```\r\n\r\n4. **Run PHP Server**  \r\n   ```bash\r\n   php -S localhost:8000\r\n   ```\r\n\r\n5. **Access the Website**  \r\n   Open `http://localhost:8000/index.php` in your browser.\r\n\r\n### Features\r\n- 📩 **Contact Form Submission**: Users can send messages via the form.\r\n- 🤖 **Telegram Bot Integration**: Messages are forwarded to a Telegram bot.\r\n- 🔐 **Captcha Verification**: Protects against spam with mathematical captchas.\r\n- 🌐 **Easy Deployment**: Simple to set up and deploy.\r\n- 🚀 **Fast \u0026 Secure**: Lightweight with security measures in place.\r\n\r\n---\r\n\r\n## فارسی (Persian)\r\n\r\n### عنوان پروژه\r\n**سایت ارتباط با ما و متصل به ربات**  \r\nیک وب‌سایت ساده برای ارسال پیام از طریق فرم تماس که به یک ربات تلگرام متصل است و پیام‌ها را به صورت خودکار ارسال می‌کند.\r\n\r\n---\r\n\r\n### فهرست مطالب\r\n1. [نصب و اجرا](#نصب-و-اجرا)\r\n2. [ویژگی‌ها](#ویژگی‌ها)\r\n3. [مشارکت](#مشارکت)\r\n4. [مجوز](#مجوز)\r\n\r\n### نصب و اجرا\r\n\r\n#### پیش‌نیازها\r\n1. نصب **PHP** (ترجیحاً نسخه 7.4+).\r\n2. نصب **Apache** یا استفاده از سرور داخلی PHP.\r\n3. تنظیم **توکن ربات تلگرام**.\r\n4. فعال‌سازی افزونه‌های **cURL** و **GD** در PHP.\r\n\r\n#### مراحل\r\n\r\n1. **نصب PHP و Apache**  \r\n   ```bash\r\n   sudo apt update\r\n   sudo apt install apache2 php libapache2-mod-php php-curl php-gd\r\n   ```\r\n\r\n2. **کلون کردن ریپازیتوری**  \r\n   ```bash\r\n   git clone https://github.com/mizegerd-tech/Contact-us-website-bot.git\r\n   cd contact-bot-site\r\n   ```\r\n\r\n3. **پیکربندی ربات**  \r\n   فایل `bot.php` را باز کرده و **توکن ربات تلگرام** و **Chat ID** را به‌روز کنید:\r\n   ```php\r\n   $botToken = \"توکن_ربات_شما\";\r\n   $chatId = \"شناسه_چت_شما\";\r\n   ```\r\n\r\n4. **اجرای سرور PHP**  \r\n   ```bash\r\n   php -S localhost:8000\r\n   ```\r\n\r\n5. **دسترسی به سایت**  \r\n   مرورگر خود را باز کنید و به `http://localhost:8000/index.php` بروید.\r\n\r\n### ویژگی‌ها\r\n- 📩 **ارسال پیام از فرم تماس**: کاربران می‌توانند از طریق فرم پیام ارسال کنند.\r\n- 🤖 **اتصال به ربات تلگرام**: پیام‌ها به ربات تلگرام ارسال می‌شوند.\r\n- 🔐 **تأیید امنیتی Captcha**: جلوگیری از اسپم با کپچای ریاضی.\r\n- 🌐 **راه‌اندازی آسان**: ساده و سریع برای اجرا و استفاده.\r\n- 🚀 **سبک و امن**: عملکرد بهینه با اقدامات امنیتی مناسب.\r\n\r\n---\r\n\r\n### Contributing (مشارکت)\r\n1. Fork the repository.  \r\n   ریپازیتوری را فورک کنید.\r\n   \r\n2. Create a new branch: `git checkout -b feature-branch`.  \r\n   یک شاخه جدید ایجاد کنید: `git checkout -b feature-branch`.\r\n   \r\n3. Make your changes and commit: `git commit -m 'Add new feature'`.  \r\n   تغییرات خود را اعمال کنید و کامیت بزنید: `git commit -m 'افزودن ویژگی جدید'`.\r\n   \r\n4. Push to the branch: `git push origin feature-branch`.  \r\n   تغییرات را پوش کنید: `git push origin feature-branch`.\r\n   \r\n5. Submit a pull request.  \r\n   درخواست Pull Request ارسال کنید.\r\n\r\n---\r\n\r\n### License (مجوز)\r\nThis project is licensed under the MIT License.  \r\nاین پروژه تحت مجوز MIT ارائه شده است.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizegerd-tech%2Fcontact-us-website-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmizegerd-tech%2Fcontact-us-website-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmizegerd-tech%2Fcontact-us-website-bot/lists"}