{"id":48908836,"url":"https://github.com/gungwang/drupal-gung-ai","last_synced_at":"2026-04-16T22:04:02.313Z","repository":{"id":350541639,"uuid":"1206227691","full_name":"gungwang/drupal-gung-ai","owner":"gungwang","description":"AI-powered Drupal module suite providing intelligent automation tools for development and site maintenance. Features the Clean Contents submodule with Drush commands for efficient content cleanup: delete unpublished/orphaned entities, clean old revisions (80x faster with bulk DB operations), fix broken paths, and sanitize users. Built with AI","archived":false,"fork":false,"pushed_at":"2026-04-10T19:57:28.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-10T21:34:46.594Z","etag":null,"topics":["ai","ai-driven","ai-driven-development","clean-database","drupal","drupal-11","drupal-12","drupal-module","orphaned-data","unpublished"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/gungwang.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-09T17:49:38.000Z","updated_at":"2026-04-10T19:57:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gungwang/drupal-gung-ai","commit_stats":null,"previous_names":["gungwang/drupal-gung-ai"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/gungwang/drupal-gung-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gungwang%2Fdrupal-gung-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gungwang%2Fdrupal-gung-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gungwang%2Fdrupal-gung-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gungwang%2Fdrupal-gung-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gungwang","download_url":"https://codeload.github.com/gungwang/drupal-gung-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gungwang%2Fdrupal-gung-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31905896,"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-driven","ai-driven-development","clean-database","drupal","drupal-11","drupal-12","drupal-module","orphaned-data","unpublished"],"created_at":"2026-04-16T22:03:51.294Z","updated_at":"2026-04-16T22:04:02.282Z","avatar_url":"https://github.com/gungwang.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WARNING #\n\u003e Try to run Drush commands with `--dry-run` first. Backup your database first.\n\n===============================================================\n\n# Drupal Gung AI\nAI-powered Drupal development and automation tools.\n\n## Overview\n\nThis module suite provides intelligent automation tools for Drupal development, content management, and site maintenance. All tools are designed with AI assistance to handle complex Drupal operations efficiently and safely.\n\n## Submodules\n\n### Clean Contents (`clean_contents/`)\n\nDrush-based content cleanup and sanitization tool for development and staging environments.\n\n**Features:**\n- Delete unpublished content entities\n- Remove orphaned entities (paragraphs, media, files, etc.)\n- Clean old revisions\n- Fix broken path aliases and redirects\n- Rename users to test accounts\n\n\n**Documentation:**\n- See `clean_contents/README.md`\n- Specification: `SPEC-clean-contents-module.md`\n- Implementation session log: `SESSION-clean-contents-implementation.md`\n\n## Installation\n\nEnable the parent module and any desired submodules:\n\n```bash\nddev drush en drupal-gung-ai\nddev drush en clean_contents\n```\n\nOr enable submodules directly (they can work independently):\n\n```bash\nddev drush en clean_contents\n```\n\n## Development\n\nThis module suite is developed with AI assistance (Claude/GitHub Copilot) to accelerate Drupal development and provide battle-tested automation tools.\n\n### Adding New Submodules\n\n1. Create a new directory under `drupal-gung-ai/`\n2. Follow Drupal module naming conventions\n3. Add comprehensive documentation\n4. Include dry-run modes for destructive operations\n5. Implement proper error handling and logging\n\n## Best Practices\n\n- Always backup databases before running destructive operations\n- Use `--dry-run` flags to preview changes\n- Test in development environments first\n- Check watchdog logs after operations\n- Follow Drupal coding standards\n\n## Support\n\n- Check individual submodule README files for specific documentation\n- Review watchdog logs: `drush wd-show`\n- Refer to specification documents in the `ai/` directory\n\n## License\n\nGPL-2.0-or-later\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgungwang%2Fdrupal-gung-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgungwang%2Fdrupal-gung-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgungwang%2Fdrupal-gung-ai/lists"}