{"id":28752365,"url":"https://github.com/rumendamyanov/drupal_ai_chatbot_plus","last_synced_at":"2026-04-17T01:02:03.639Z","repository":{"id":299270284,"uuid":"1002520631","full_name":"RumenDamyanov/drupal_ai_chatbot_plus","owner":"RumenDamyanov","description":"A robust, configurable Drupal 11 module that brings conversational AI to your site. Features admin UI, block, theming, analytics and more.","archived":false,"fork":false,"pushed_at":"2025-07-25T12:16:56.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-05T17:14:16.841Z","etag":null,"topics":["ai","ai-models","chatbot","drupal","drupal-module"],"latest_commit_sha":null,"homepage":"https://www.drupal.org/project/ai_chatbot_plus","language":"PHP","has_issues":false,"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/RumenDamyanov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-06-15T16:41:40.000Z","updated_at":"2025-07-31T15:37:44.000Z","dependencies_parsed_at":"2025-06-16T17:43:55.942Z","dependency_job_id":null,"html_url":"https://github.com/RumenDamyanov/drupal_ai_chatbot_plus","commit_stats":null,"previous_names":["rumendamyanov/drupal_ai_chatbot","rumendamyanov/drupal_ai_chatbot_plus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RumenDamyanov/drupal_ai_chatbot_plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RumenDamyanov%2Fdrupal_ai_chatbot_plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RumenDamyanov%2Fdrupal_ai_chatbot_plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RumenDamyanov%2Fdrupal_ai_chatbot_plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RumenDamyanov%2Fdrupal_ai_chatbot_plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RumenDamyanov","download_url":"https://codeload.github.com/RumenDamyanov/drupal_ai_chatbot_plus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RumenDamyanov%2Fdrupal_ai_chatbot_plus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31910585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["ai","ai-models","chatbot","drupal","drupal-module"],"created_at":"2025-06-17T00:00:53.032Z","updated_at":"2026-04-17T01:02:03.599Z","avatar_url":"https://github.com/RumenDamyanov.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [AI Chatbot Plus Drupal Module](https://www.drupal.org/project/ai_chatbot_plus)\n\nAI Chatbot Plus is a robust, configurable Drupal 11 module that seamlessly integrates the [php-chatbot](https://github.com/RumenDamyanov/php-chatbot) PHP package, bringing advanced conversational AI to your Drupal site. It features a service-based architecture, flexible admin configuration, analytics, theming, and full Composer support. The module is designed for extensibility, accessibility, and easy theming, making it suitable for both site builders and developers.\n\n## Features\n\n- Configurable admin settings page for API keys (database or environment variable)\n- Configuration export/import and multilingual support\n- Custom block for layout builder (visibility by page, language, etc.)\n- Twig-based templates for block and page, with theme suggestions\n- Popup integration (programmatic and via block)\n- Service-based architecture for chatbot logic and custom integrations\n- Example controller and route for chatbot page\n- Analytics logging and admin reporting of chatbot conversations\n- Granular permissions for access, analytics, and configuration\n- Accessibility and theming support (CSS, JS, ARIA)\n- High unit and functional test coverage, Composer/QA ready\n\n## Installation\n\n**Recommended (Composer):**\n\n1. Run `composer require drupal/ai_chatbot_plus` in your Drupal root.\n2. Enable the module via the Drupal admin or Drush.\n\n**Manual installation:**\n\n1. Download or clone this module into `modules/custom/ai_chatbot_plus`.\n2. Enable the module via the Drupal admin or Drush.\n\n## Configuration\n\n- Go to **Configuration → Web services → AI Chatbot Plus** to set your API key or choose to use an environment variable.\n- Configuration is exportable via Drupal's config system.\n\n## Block Usage\n\n- Add the **AI Chatbot Plus Block** via the Block Layout admin.\n- Configure block visibility by page, language, or other conditions using standard Drupal block settings.\n\n## Popup Integration\n\n- The chatbot popup can be added programmatically to any route or attached to views using Drupal behaviors in `js/ai_chatbot_plus.js`.\n- Example: Use `Drupal.behaviors.aiChatbotPlus` to trigger the popup on specific pages.\n\n## Theming \u0026 Customization\n\n- Twig template suggestions for advanced theming:\n  - `ai-chatbot-plus-block--[block-id].html.twig`, `ai-chatbot-plus-block--[region].html.twig`, `ai-chatbot-plus-block.html.twig`\n  - `ai-chatbot-plus-page--[route-name].html.twig`, `ai-chatbot-plus-page.html.twig`\n- Easily override templates in your theme for custom UI.\n- Customize CSS in `css/ai_chatbot_plus.css`.\n\n## Extending\n\n- Use the `ai_chatbot_plus.service` for custom integrations.\n- Add new settings to `config/schema/ai_chatbot_plus.schema.yml` and the settings form.\n\n## Analytics\n\n- Visit Configuration → Reports → AI Chatbot Plus Analytics to view a log of all chatbot conversations (timestamp, user/session, role, message).\n- Logs are stored in Drupal state and can be extended for more advanced analytics or export.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frumendamyanov%2Fdrupal_ai_chatbot_plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frumendamyanov%2Fdrupal_ai_chatbot_plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frumendamyanov%2Fdrupal_ai_chatbot_plus/lists"}