{"id":30899302,"url":"https://github.com/chubes4/dm-recipes","last_synced_at":"2025-09-09T03:08:50.027Z","repository":{"id":313681787,"uuid":"1051996823","full_name":"chubes4/dm-recipes","owner":"chubes4","description":"WordPress plugin extending Data Machine with agentic recipe publishing capabilities. Complete Schema.org Recipe structured data, AI-powered content creation, and seamless Pipeline+Flow integration.","archived":false,"fork":false,"pushed_at":"2025-09-07T18:45:06.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-07T20:39:34.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"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/chubes4.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-09-07T07:10:47.000Z","updated_at":"2025-09-07T18:45:10.000Z","dependencies_parsed_at":"2025-09-07T20:39:41.394Z","dependency_job_id":"48c084ac-7071-45b9-b611-8805eb75cbd0","html_url":"https://github.com/chubes4/dm-recipes","commit_stats":null,"previous_names":["chubes4/dm-recipes"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/chubes4/dm-recipes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chubes4%2Fdm-recipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chubes4%2Fdm-recipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chubes4%2Fdm-recipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chubes4%2Fdm-recipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chubes4","download_url":"https://codeload.github.com/chubes4/dm-recipes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chubes4%2Fdm-recipes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274237991,"owners_count":25247101,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-09-09T03:08:48.700Z","updated_at":"2025-09-09T03:08:50.011Z","avatar_url":"https://github.com/chubes4.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Machine Recipes\n\nA WordPress plugin that extends Data Machine with comprehensive recipe publishing capabilities, featuring full Schema.org structured data support and agentic AI integration.\n\n## Features\n\n- **WordPress Recipe Publish Handler**: AI-powered recipe publishing through Data Machine's Pipeline+Flow system\n- **Complete Schema.org Recipe Support**: Full implementation of Schema.org Recipe markup with JSON-LD and microdata\n- **Gutenberg Recipe Schema Block**: Native WordPress block for recipe structured data\n- **Multi-Provider AI Integration**: Compatible with OpenAI, Anthropic, Google, Grok, and OpenRouter\n- **Comprehensive Recipe Attributes**: Support for ingredients, instructions, timing, nutrition, dietary restrictions, and more\n- **SEO Optimized**: Rich snippets and search engine optimization through proper structured data\n\n## Requirements\n\n- WordPress 5.0+\n- PHP 7.4+\n- [Data Machine](https://github.com/chubes4/data-machine) plugin\n- Composer (for development)\n\n## Installation\n\n### From Release ZIP\n1. Download the latest release ZIP file\n2. Upload to WordPress via **Plugins \u003e Add New \u003e Upload Plugin**\n3. Activate the plugin\n4. Ensure Data Machine plugin is also installed and activated\n\n### Development Installation\n```bash\n# Clone the repository\ngit clone https://github.com/chubes4/dm-recipes.git\ncd dm-recipes\n\n# Install dependencies\ncomposer install\n\n# Create production build\n./build.sh\n```\n\n## How It Works\n\n### AI-Powered Recipe Publishing\n1. **Data Machine Integration**: The plugin registers a `wordpress_recipe_publish` handler with Data Machine's filter-based discovery system\n2. **AI Tool Registration**: Provides the `recipe_publish` AI tool with comprehensive Schema.org Recipe parameters\n3. **Automated Publishing**: AI agents can create WordPress posts with embedded Recipe Schema blocks containing complete structured data\n4. **Schema.org Compliance**: Generated posts include both JSON-LD and microdata markup for optimal SEO\n\n### Recipe Schema Block\n- **Complete Attribute Support**: All Schema.org Recipe properties including nutrition, dietary restrictions, cooking methods, and video content\n- **Gutenberg Integration**: Native WordPress block editor integration\n- **Structured Data Output**: Automatic generation of JSON-LD structured data and HTML microdata\n- **Search Engine Optimization**: Rich snippets and enhanced search results\n\n## Usage\n\n### Through Data Machine Pipelines\nConfigure a Data Machine pipeline with:\n1. **Fetch Handler**: Retrieve recipe data from external sources\n2. **AI Processing**: Transform and enhance recipe content\n3. **WordPress Recipe Publish Handler**: Create WordPress posts with Schema.org markup\n\n### Manual Block Usage\nAdd the \"Recipe Schema\" block to any WordPress post or page and fill in the recipe details for automatic structured data generation.\n\n## AI Tool Parameters\n\nThe `recipe_publish` tool accepts comprehensive recipe data:\n\n- **Post Content**: `post_title`, `post_content`, `post_status`, `post_author`, `post_category`\n- **Recipe Basics**: `recipeName`, `description`, `images`, `author`\n- **Timing**: `prepTime`, `cookTime`, `totalTime` (ISO 8601 format)\n- **Content**: `recipeIngredient[]`, `recipeInstructions[]`, `recipeYield`\n- **Classification**: `recipeCategory[]`, `recipeCuisine`, `cookingMethod`, `keywords[]`\n- **Dietary**: `suitableForDiet[]`, `nutrition{}`\n- **Media**: `video{}`, `images[]`\n- **Equipment**: `tool[]`, `supply[]`\n- **Additional**: `estimatedCost`, `datePublished`\n\n## Development\n\n### Commands\n```bash\n# Install dependencies\ncomposer install\n\n# Run PHP linting\ncomposer lint\n\n# Auto-fix coding standards\ncomposer lint:fix\n\n# WordPress-specific linting\ncomposer lint:php\ncomposer lint:fix:php\n\n# Create production build\n./build.sh\n```\n\n### Build System\n- **Automated ZIP Creation**: Production-ready plugin packages via `build.sh`\n- **Dependency Management**: Composer with PSR-4 autoloading and development tools\n- **Code Quality**: PHP CodeSniffer with WordPress coding standards integration\n- **File Validation**: Build process validates all essential plugin files are included\n- **Clean Distribution**: `.buildignore` excludes development files from production builds\n\n## Architecture\n\n### Handler Registration\nSelf-registering via WordPress filters:\n- `dm_handlers` - Handler discovery\n- `ai_tools` - AI tool registration\n- `dm_handler_settings` - Configuration management\n- `dm_handler_directives` - AI model guidance\n\n### File Structure\n```\ndm-recipes/\n├── dm-recipes.php                       # Main plugin file with autoloader\n├── build.sh                             # Production build script with validation\n├── composer.json                        # Dependencies, autoloading, and linting scripts\n├── .buildignore                         # Development file exclusion patterns\n├── inc/\n│   ├── handlers/WordPressRecipePublish/ # Data Machine handler implementation\n│   │   ├── WordPressRecipePublish.php   # Main handler with tool call method\n│   │   ├── WordPressRecipePublishFilters.php  # Filter registration system\n│   │   └── WordPressRecipePublishSettings.php # Configuration management\n│   └── blocks/recipe-schema/            # Gutenberg Recipe Schema block\n│       ├── block.json                   # Complete Schema.org Recipe attributes\n│       ├── recipe-schema.php            # Block rendering with microdata/JSON-LD\n│       └── index.php                    # Block registration hooks\n└── .claude/\n    └── recipe-schema.md                 # Schema.org implementation reference\n```\n\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Follow WordPress coding standards\n4. Run `composer lint` before committing\n5. Submit a pull request\n\n## License\n\nGPL-2.0-or-later - See LICENSE file for details.\n\n## Author\n\n**Chris Huber**\n- Website: [chubes.net](https://chubes.net)\n- GitHub: [@chubes4](https://github.com/chubes4) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchubes4%2Fdm-recipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchubes4%2Fdm-recipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchubes4%2Fdm-recipes/lists"}