{"id":32026101,"url":"https://github.com/bordoni/ai-prompts-library","last_synced_at":"2026-04-13T08:31:19.702Z","repository":{"id":318582760,"uuid":"1071892893","full_name":"bordoni/ai-prompts-library","owner":"bordoni","description":"A WordPress plugin to create, organize, and reuse AI prompts with advanced management features.","archived":false,"fork":false,"pushed_at":"2025-10-08T12:04:02.000Z","size":290,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-05T11:07:25.186Z","etag":null,"topics":["wordpress","wordpress-ai","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","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/bordoni.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-10-08T00:59:32.000Z","updated_at":"2026-02-13T00:19:43.000Z","dependencies_parsed_at":"2025-10-09T07:31:59.680Z","dependency_job_id":null,"html_url":"https://github.com/bordoni/ai-prompts-library","commit_stats":null,"previous_names":["bordoni/ai-prompts-library"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/bordoni/ai-prompts-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordoni%2Fai-prompts-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordoni%2Fai-prompts-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordoni%2Fai-prompts-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordoni%2Fai-prompts-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bordoni","download_url":"https://codeload.github.com/bordoni/ai-prompts-library/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bordoni%2Fai-prompts-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T06:26:45.479Z","status":"ssl_error","status_checked_at":"2026-04-13T06:26:44.645Z","response_time":93,"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":["wordpress","wordpress-ai","wordpress-plugin"],"created_at":"2025-10-16T13:49:44.809Z","updated_at":"2026-04-13T08:31:19.696Z","avatar_url":"https://github.com/bordoni.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Prompts Library\n\nA WordPress plugin to create, organize, and reuse AI prompts with advanced management features.\n\n[![License](https://img.shields.io/badge/license-GPL--2.0%2B-blue.svg)](https://www.gnu.org/licenses/gpl-2.0.html)\n[![WordPress](https://img.shields.io/badge/wordpress-6.7%2B-blue.svg)](https://wordpress.org/)\n[![PHP](https://img.shields.io/badge/php-7.4%2B-blue.svg)](https://www.php.net/)\n\n## Description\n\nAI Prompts Library helps you manage and organize your AI prompts in WordPress. Create a searchable library of prompts for ChatGPT, Claude, and other AI tools.\n\n## Features\n\n- **Custom Post Type** - Dedicated post type for managing AI prompts\n- **Compatibility Taxonomy** - Tag prompts with compatible AI tools (Claude, ChatGPT, Cursor, etc.)\n- **Custom Gutenberg Block** - Block for displaying and editing prompt content with dual-mode behavior\n- **Copy to Clipboard** - Easy one-click copying of prompts from the block toolbar\n- **Import/Export** - Backup and share prompts via JSON format\n- **REST API** - Programmatic access to your prompts\n- **Advanced Search** - Search across prompt titles and content\n- **Character/Word Count** - Automatic tracking of prompt statistics\n- **Block Bindings API** - Seamless integration with WordPress 6.7+ Block Bindings\n\n## Requirements\n\n- WordPress 6.7 or higher (required for Block Bindings API)\n- PHP 7.4 or higher\n- Node.js 20 (for development)\n\n## Installation\n\n### From GitHub\n\n1. Download the latest release from the [releases page](https://github.com/bordoni/ai-prompts-library/releases)\n2. Upload the plugin files to `/wp-content/plugins/ai-prompts-library/`\n3. Activate the plugin through the 'Plugins' screen in WordPress\n4. Use the AI Prompts menu item to create and manage your prompts\n\n### For Development\n\n```bash\ngit clone git@github.com:bordoni/ai-prompts-library.git\ncd ai-prompts-library\nnpm install\nnpm run build\n```\n\n## Usage\n\n### Creating a Prompt\n\n1. Go to **AI Prompts** \u003e **Add New** in your WordPress admin\n2. Enter a title for your prompt\n3. Add a description or usage notes in the first paragraph\n4. Enter your prompt content in the Prompt Content block\n5. Assign compatibility tags (Claude, ChatGPT, etc.)\n6. Publish your prompt\n\n### Displaying a Prompt\n\n**Auto Mode (Context-Aware)**\n- Add the Prompt Content block to any post/page\n- When used in a Query Loop with AI Prompts, it automatically displays the current prompt\n\n**Manual Mode**\n- Add the Prompt Content block anywhere\n- In block settings, select \"Manual selection\"\n- Choose the specific prompt you want to display\n\n### Import/Export\n\nNavigate to **AI Prompts** \u003e **Import/Export**\n\n**Export:**\n- Click \"Export Prompts\" to download all prompts as JSON\n\n**Import:**\n- Upload a JSON file containing prompts\n- Click \"Import Prompts\" to add them to your library\n\n## REST API\n\nThe plugin provides REST API endpoints for programmatic access:\n\n### Endpoints\n\n```\nGET    /wp-json/ai-prompts-library/v1/prompts\nGET    /wp-json/ai-prompts-library/v1/prompts/{id}\nPOST   /wp-json/ai-prompts-library/v1/prompts/{id}/duplicate\nGET    /wp-json/ai-prompts-library/v1/compatibilities\nGET    /wp-json/ai-prompts-library/v1/stats\n```\n\n### Example: Get All Prompts\n\n```bash\ncurl https://yoursite.com/wp-json/ai-prompts-library/v1/prompts\n```\n\n### Example: Duplicate a Prompt\n\n```bash\ncurl -X POST https://yoursite.com/wp-json/ai-prompts-library/v1/prompts/123/duplicate \\\n  -H \"Content-Type: application/json\" \\\n  -u username:password\n```\n\n## Development\n\n### Building Assets\n\n```bash\n# Development build with watch mode\nnpm run start\n\n# Production build\nnpm run build\n```\n\n### Code Quality\n\n```bash\n# Lint JavaScript\nnpm run lint:js\n\n# Lint CSS\nnpm run lint:css\n\n# Format code\nnpm run format\n```\n\n### Using Pup for Releases\n\nThis plugin uses [stellarwp/pup](https://github.com/stellarwp/pup) for build automation:\n\n```bash\n# Build release version\npup build\n\n# Create a new release\npup release\n```\n\n## Block Bindings API\n\nThe plugin registers a custom Block Bindings source (`ai-prompts-library/prompt-meta`) that allows you to bind blocks to prompt metadata fields:\n\n- `_ai_prompt_content` - The main prompt content\n- `_ai_prompt_character_count` - Character count\n- `_ai_prompt_word_count` - Word count\n- `_ai_prompt_model` - Target AI model\n\n## Filters and Actions\n\n### Filters\n\n```php\n// Filter export data before creating JSON\nadd_filter( 'ai_prompts_library_export_data', function( $prompts ) {\n    // Modify $prompts array\n    return $prompts;\n} );\n\n// Filter import data before processing\nadd_filter( 'ai_prompts_library_import_data', function( $data ) {\n    // Modify $data array\n    return $data;\n} );\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'feat: add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis plugin is licensed under the GPL v2 or later.\n\n```\nAI Prompts Library\nCopyright (C) 2025 Gustavo Bordoni\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n```\n\n## Support\n\nFor bugs and feature requests, please use the [GitHub issues](https://github.com/bordoni/ai-prompts-library/issues) page.\n\n---\n\nMade with ❤️ for the AI and WordPress communities.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbordoni%2Fai-prompts-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbordoni%2Fai-prompts-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbordoni%2Fai-prompts-library/lists"}