{"id":36964889,"url":"https://github.com/graycoreio/magento2-cms-ai-builder","last_synced_at":"2026-01-13T19:48:00.123Z","repository":{"id":327596429,"uuid":"1099209837","full_name":"graycoreio/magento2-cms-ai-builder","owner":"graycoreio","description":"A Magento 2 module that extends the CMS page editor with AI-powered content generation and visual preview capabilities.","archived":false,"fork":false,"pushed_at":"2025-12-16T16:15:59.000Z","size":540,"stargazers_count":5,"open_issues_count":6,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-20T07:19:49.114Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graycoreio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-18T17:54:45.000Z","updated_at":"2025-12-16T16:16:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/graycoreio/magento2-cms-ai-builder","commit_stats":null,"previous_names":["graycoreio/magento2-cms-ai-builder"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/graycoreio/magento2-cms-ai-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graycoreio%2Fmagento2-cms-ai-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graycoreio%2Fmagento2-cms-ai-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graycoreio%2Fmagento2-cms-ai-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graycoreio%2Fmagento2-cms-ai-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graycoreio","download_url":"https://codeload.github.com/graycoreio/magento2-cms-ai-builder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graycoreio%2Fmagento2-cms-ai-builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28397831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: 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":[],"created_at":"2026-01-13T19:47:59.346Z","updated_at":"2026-01-13T19:48:00.115Z","avatar_url":"https://github.com/graycoreio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Graycore AI CMS Builder\n\nA Magento 2 module that extends the CMS page editor with AI-powered content generation and visual preview capabilities.\n\n\u003e [!IMPORTANT]  \n\u003e The native renderer for Luma/Hyva themes is poorly test. Please help me test it and find bugs.\n\n\u003e [!WARNING]\n\u003e **This package is highly experimental and NOT production-ready.**\n\u003e\n\u003e - Breaking changes may occur at any time without notice\n\u003e - API stability is not guaranteed\n\u003e - Data loss or corruption may occur\n\u003e - Security vulnerabilities may exist\n\u003e - No support or warranty is provided\n\u003e\n\u003e **Use at your own risk.** This package is intended for testing, evaluation, and development purposes only. Do not use in production environments or with critical data.\n\n\n![An image of the editor in the Magento admin panel](guides/assets/editor-in-ui.webp)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.daff.io/\"\u003e\u003cstrong\u003edaff.io\u003c/strong\u003e\u003c/a\u003e\n  | \n  \u003ca href=\"https://www.youtube.com/watch?v=LcudrwsT_gk\"\u003e\u003cstrong\u003eYoutube Demo\u003c/strong\u003e\u003c/a\u003e\n  | \n  \u003ca href=\"https://www.youtube.com/watch?v=LcudrwsT_gk\"\u003e\u003cstrong\u003eDaffodil Demo\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Overview\n\nThis module adds an AI-powered visual editor to Magento 2's CMS pages, allowing content managers to:\n\n- Generate page schemas from text prompts using OpenAI\n- Preview content in real-time using an Angular-based renderer\n- Store and serve dynamic content via GraphQL and standard theme like Luma\n\n## Features\n\n- **AI Schema Generation**: Convert text prompts into structured component schemas using OpenAI GPT-4\n- **Visual Editor**: Split-pane editor with prompt input and live preview\n- **Component Registry**: Configurable component system for defining available UI components\n- **GraphQL Integration**: Schemas automatically available via GraphQL for frontend consumption\n- **Custom Element Support**: Preview uses Angular web components (custom elements)\n\n## Installation\n\n1. Download the package:\n```bash\ncomposer require graycore/magento2-cms-ai-builder\n```\n\n2. Configure the package:\n\n3. Enable the module:\n```bash\nbin/magento module:enable Graycore_CmsAiBuilder\n```\n\n## Customizing the Editor\n\nYou can replace the default Angular editor with your own implementation by configuring custom script paths in your module's `etc/config.xml`:\n\n```xml\n\u003c?xml version=\"1.0\"?\u003e\n\u003cconfig xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n        xsi:noNamespaceSchemaLocation=\"urn:magento:module:Magento_Store:etc/config.xsd\"\u003e\n    \u003cdefault\u003e\n        \u003cai_cms_builder\u003e\n            \u003ceditor_customization\u003e\n                \u003ccustom_polyfills_script\u003eVendor_Module/js/custom-editor/polyfills.js\u003c/custom_polyfills_script\u003e\n                \u003ccustom_main_script\u003eVendor_Module/js/custom-editor/main.js\u003c/custom_main_script\u003e\n            \u003c/editor_customization\u003e\n        \u003c/ai_cms_builder\u003e\n    \u003c/default\u003e\n\u003c/config\u003e\n```\n\nThese scripts should be built as an Angular app following the documentation from the `@daffodil/content` admin editor guide (WIP).\n\n## Known Problems\n\nThese are problems that I know exist, and would really love help with:\n\n- [ ] The model's UI output is fairly bland and lacks context about the store.\n- [ ] The model's responses are fairly slow (high latency)\n- [ ] When I'm interacting with the model, if I cancel a request the whole UI freezes (this is a side effect of Magento's session-locking=, try `disable_locking`)\n    - [ ] When I save a page while the model is responding, the UI waits to save until the model has finished its last response.\n- [ ] It doesn't generate links, buttons, or forms fields. \n\n## License\n\nSee [LICENSE](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraycoreio%2Fmagento2-cms-ai-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraycoreio%2Fmagento2-cms-ai-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraycoreio%2Fmagento2-cms-ai-builder/lists"}