{"id":28278611,"url":"https://github.com/suparnad/comprehend_tagging","last_synced_at":"2026-05-05T02:39:17.771Z","repository":{"id":293347941,"uuid":"983174166","full_name":"suparnad/comprehend_tagging","owner":"suparnad","description":"Drupal 11 custom module that uses Amazon Comprehend to automatically classify content and assign taxonomy terms using AI. Built with Drupal best practices and AWS integration.","archived":false,"fork":false,"pushed_at":"2025-05-19T21:39:45.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T22:29:58.014Z","etag":null,"topics":["amazon-comprehend","drupal","drupal-11"],"latest_commit_sha":null,"homepage":"https://medium.com/@suparnad/ai-meets-drupal-auto-tagging-articles-with-amazon-comprehend-taxonomy-and-terraform-14b10cd575d0","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/suparnad.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}},"created_at":"2025-05-14T02:00:20.000Z","updated_at":"2025-05-19T21:39:48.000Z","dependencies_parsed_at":"2025-05-14T22:39:10.116Z","dependency_job_id":null,"html_url":"https://github.com/suparnad/comprehend_tagging","commit_stats":null,"previous_names":["suparnad/suparnad-comprehend_tagging","suparnad/comprehend_tagging"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suparnad/comprehend_tagging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suparnad%2Fcomprehend_tagging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suparnad%2Fcomprehend_tagging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suparnad%2Fcomprehend_tagging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suparnad%2Fcomprehend_tagging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suparnad","download_url":"https://codeload.github.com/suparnad/comprehend_tagging/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suparnad%2Fcomprehend_tagging/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32510652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["amazon-comprehend","drupal","drupal-11"],"created_at":"2025-05-21T08:16:11.893Z","updated_at":"2026-05-01T19:32:06.086Z","avatar_url":"https://github.com/suparnad.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# comprehend_tagging\nThis Drupall 11 custom module integrates with Amazon Comprehend to automatically tag Drupal content using taxonomy, based on custom classifier predictions.\n\n## DEMO [Youtube](https://www.youtube.com/watch?v=tAyicDTdmKw)\n---\n\n## Requirements\n\n- Drupal 11\n- A vocabulary named `ai_tags`\n- A taxonomy reference field `field_ai_tags` on the `article` content type\n- A custom Comprehend classifier endpoint deployed in AWS\n\n---\n\n## Environment Variables\n\nUse `.env` and `vlucas/phpdotenv` to load credentials:\n\nAWS_ACCESS_KEY_ID = ...\nAWS_SECRET_ACCESS_KEY = ...\nAWS_DEFAULT_REGION = ....\nAWS_COMPREHEND_ENDPOINT_ARN = arn:aws:comprehend:...\n\n---\n\n## Enable\n\n```bash\ndrush en comprehend_tagging -y\n```\nGo to [AWS comprehend repo](https://github.com/suparnad/aws_comprehend_for_auto_tag)\nDownload terraform files\n\nFollow steps to [deploy](https://github.com/suparnad/aws_comprehend_for_auto_tag) \n\n## Test \n\n1. Create a taxonomy, vocabulary name AI tags (machine name : ai_tags)\n\n2. Add that taxonomy to the Article content type.\n\n3. Create an article with meaningful text in the body. \n\nThe module will:\n\n  1. Extract the body text\n\n  2. Send it to the Comprehend endpoint\n\n  3. Add or reuse a term in ai_tags\n\n  4. Attach it to field_ai_tags\n\n4. Logs are written to Drupal’s watchdog if Comprehend is unavailable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuparnad%2Fcomprehend_tagging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuparnad%2Fcomprehend_tagging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuparnad%2Fcomprehend_tagging/lists"}