{"id":27160339,"url":"https://github.com/pcade/admin_bot_telegram_wireguard","last_synced_at":"2026-02-15T23:33:26.268Z","repository":{"id":279289181,"uuid":"938325984","full_name":"pcade/admin_bot_telegram_wireguard","owner":"pcade","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-17T17:26:36.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T13:07:02.973Z","etag":null,"topics":["telebot","telegram","telegram-bot","telegram-bots","telegram-wireguard","wireguard","wireguard-telegram-bot","wireguard-ui","wireguard-vpn"],"latest_commit_sha":null,"homepage":"","language":"Python","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/pcade.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,"zenodo":null}},"created_at":"2025-02-24T19:22:55.000Z","updated_at":"2025-03-17T17:26:40.000Z","dependencies_parsed_at":"2025-02-24T20:30:50.534Z","dependency_job_id":"a5d7a0ad-10f1-41f9-a999-fec068ab2dbb","html_url":"https://github.com/pcade/admin_bot_telegram_wireguard","commit_stats":null,"previous_names":["pcade/admin_bot_telegram_wireguard"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pcade/admin_bot_telegram_wireguard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcade%2Fadmin_bot_telegram_wireguard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcade%2Fadmin_bot_telegram_wireguard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcade%2Fadmin_bot_telegram_wireguard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcade%2Fadmin_bot_telegram_wireguard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcade","download_url":"https://codeload.github.com/pcade/admin_bot_telegram_wireguard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcade%2Fadmin_bot_telegram_wireguard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29492617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["telebot","telegram","telegram-bot","telegram-bots","telegram-wireguard","wireguard","wireguard-telegram-bot","wireguard-ui","wireguard-vpn"],"created_at":"2025-04-08T23:44:55.672Z","updated_at":"2026-02-15T23:33:26.250Z","avatar_url":"https://github.com/pcade.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Bot for WireGuard Configuration\n---\n\n## Описание **`/eng`** Description\nЭтот проект представляет собой Telegram-бота, работающего в **приватном** режиме, который позволяет генерировать конфигурации для WireGuard. Пользователи могут получать конфигурационный файл в виде текстового документа и QR-кода через Telegram. Этот проект является частью проекта автоконфигурации клиентских конфигов Wireguard проекта [WireguardAutoConfiguration](https://github.com/pcade/WireguardAutoConfinguration).\n**`/eng`** This project is a Telegram bot that operates in **private** mode, allowing users to generate configurations for WireGuard. Users can receive the configuration file as a text document and a QR code via Telegram. This project is part of project autoconfiguration clients config Wireguard [WireguardAutoConfiguration](https://github.com/pcade/WireguardAutoConfinguration).\n\n## Функциональность **`/eng`** Functionality\n\n- Генерация конфигураций WireGuard на основе введенных пользователем данных (имя, IP-адрес, комментарий). **`/eng`** Generation of WireGuard configurations based on user-provided data (name, IP address, comment).\n- Отправка сгенерированных конфигурационных файлов и QR-кодов пользователю. **`/eng`** Sending generated configuration files and QR codes to the user.\n- Хранение состояний пользователей для управления вводом данных, при этом обеспечивается высокая степень приватности. **`/eng`** Storing user states to manage data input while ensuring a high level of privacy.\n- Обработка команд и сообщений от пользователей с соблюдением конфиденциальности данных. **`/eng`** Handling commands and messages from users while maintaining data confidentiality.\n\n\n## Установка **`/eng`** Installation\n\n1. **Клонируйте репозиторий **`/eng`** Clone the repository:**\n\n   ```bash\n   git clone https://github.com/pcade/admin_bot_telegram_wireguard.git\n   cd admin_bot_telegram_wireguard\n   ```\n\n2. **Создайте виртуальное окружение (рекомендуется) **`/eng`** Create a virtual environment (recommended):**\n\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # Для Linux / For Linux\n   ```\n\n3. **Установите зависимости **`/eng`** Install dependencies:**\n\n   ```bash\n   sudo pip install -r requirements.txt\n   ```\n\n4. **Создайте файл `.env` в корне проекта и добавьте ваш токен Telegram `/eng` Create a `.env` file in the project root and add your Telegram token:**\n\n   ```plaintext\n   TOKEN=ваш_токен_телеграм / your_telegram_token\n   ALLOWED_GROUP_CHAT_ID=\"ваш_персональный_id_чата\" / your_personal_chat_id\n   ```\n\n## Использование  **`/eng`** Usage\n\n1. **Запустите бота `/eng` Start the bot:**\n\n   ```bash\n   sudo python bot.py\n   ```\n\n2. **Откройте Telegram и найдите вашего бота по имени бота который вы указали при его создании **`/eng`** Open Telegram and find your bot by the bot name you specified when creating it.**\n3. Используйте команды:\n   - `/start` - Начать взаимодействие с ботом. **`/eng`** `/start` interacting with the bot.\n   - Введите `NAME`, `IP`, `DATE`, `COMMENT` для ввода соответствующих данных. **`/eng`** Enter `NAME`, `IP`, `DATE`, `COMMENT` to input the corresponding data.\n   - Введите `SHOW` для отображения введенных данных. **`/eng`** Enter `SHOW` to display the entered data.\n   - Введите `CLEAR` для очистки данных. **`/eng`** Enter `CLEAR` to clear the data.\n   - Введите `CREATE` для создания конфигурации и получения файлов. **`/eng`** Enter `CREATE` to create the configuration and receive the files.\n\n## Структура проекта **`/eng`** Project Structure\n\n```\n.\n├── bot.py # Основной файл для запуска бота / Main file to run the bot\n├── modules # Директория с модулями / Directory with modules\n│   ├── commands.py # Выполнения команд связанных с конфигурацией / Command execution related to configuration\n│   ├── common.py # Вспомогательные функции / Helper functions\n│   ├── handlers.py # Обработчики сообщений / Message handlers\n│   └── states.py # Управление состояниями пользователей / User state management\n├── README.md # Документация проекта / Project documentation\n├── requirements.txt # Список зависимостей / List of dependencies\n└── utils # Директория с вспомогательными переменными / Directory with helper variables\n    └── utils.py # Вспомогательные переменные / Helper variables\n```\n\n## Лицензия **`/eng`** License\n\nЭтот проект лицензирован под `MIT License`. Пожалуйста, смотрите файл [LICENSE](LICENSE) для получения дополнительной информации. **`/eng`** This project is licensed under the `MIT License`. Please see the [LICENSE](LICENSE) file for more information.\n\n## Контрибьюция **`/eng`** Contribution\n\n\u003eЕсли вы хотите внести свой вклад в проект, пожалуйста, создайте форк репозитория и отправьте пулл-реквест с вашими изменениями. **`/eng`** If you would like to contribute to the project, please create a fork of the repository and submit a pull request with your changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcade%2Fadmin_bot_telegram_wireguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcade%2Fadmin_bot_telegram_wireguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcade%2Fadmin_bot_telegram_wireguard/lists"}