{"adoption": {"forks": 188, "observed_at": "2026-08-28T04:06:03.753706+00:00", "stars": 1999}, "canonical_url": "https://ross.abutalabs.com/products/gin-contrib-cors", "card": {"archived": false, "artifact_type": "library", "description": "Official CORS gin's middleware", "domain": ["web-development", "backend", "apis", "security"], "enriched": true, "function": ["middleware", "http-server", "security", "web-framework"], "health_score": 98, "homepage": "https://gin-gonic.github.io/gin/", "language": "Go", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["gin-contrib/cors"], "name": "gin-contrib/cors", "platform": ["go", "windows", "cross-platform"], "pushed_at": "2026-08-24T23:02:40+00:00", "repo": "gin-contrib/cors", "stars": 1999, "tags": ["cors", "gin", "cross-origin-resource-sharing", "http-middleware", "api-security", "linux", "macos"], "topics": [], "urls": [], "use_cases": ["enable CORS on a Gin API server", "allow requests from a specific frontend origin", "handle preflight OPTIONS requests in Go", "configure credentialed cross-origin requests", "restrict allowed HTTP methods and headers cross-origin", "add CORS headers to a REST API written in Go"], "what_it_is": "The official CORS (Cross-Origin Resource Sharing) middleware for the Gin web framework in Go. It provides configurable handling of allowed origins, methods, headers, credentials, and preflight caching for Gin-based HTTP APIs.", "when_to_avoid": ["your server does not use Gin", "you need CORS for a non-Go stack", "you need a general-purpose HTTP middleware framework rather than CORS specifically"], "when_to_choose": ["you use the Gin framework and need CORS support", "you want a small, well-maintained, configurable CORS middleware", "you need custom origin validation logic in Go"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/gin-contrib-cors", "repo": "gin-contrib/cors", "role": "main", "score": 87}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:02:10.353512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb571eec541715a773986502b27bdd3c7e3c25a5f17adc059f4e544997a48562", "fetched_at": "2026-08-28T04:06:03.753706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gin-contrib/cors"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:02:10.353512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb571eec541715a773986502b27bdd3c7e3c25a5f17adc059f4e544997a48562", "fetched_at": "2026-08-28T04:06:03.753706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gin-contrib/cors"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:02:10.353512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb571eec541715a773986502b27bdd3c7e3c25a5f17adc059f4e544997a48562", "fetched_at": "2026-08-28T04:06:03.753706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gin-contrib/cors"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:02:10.353512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb571eec541715a773986502b27bdd3c7e3c25a5f17adc059f4e544997a48562", "fetched_at": "2026-08-28T04:06:03.753706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gin-contrib/cors"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:02:10.353512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb571eec541715a773986502b27bdd3c7e3c25a5f17adc059f4e544997a48562", "fetched_at": "2026-08-28T04:06:03.753706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gin-contrib/cors"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:02:10.353512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb571eec541715a773986502b27bdd3c7e3c25a5f17adc059f4e544997a48562", "fetched_at": "2026-08-28T04:06:03.753706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gin-contrib/cors"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:03.753706+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:02:10.353512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb571eec541715a773986502b27bdd3c7e3c25a5f17adc059f4e544997a48562", "fetched_at": "2026-08-28T04:06:03.753706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gin-contrib/cors"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:02:10.353512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb571eec541715a773986502b27bdd3c7e3c25a5f17adc059f4e544997a48562", "fetched_at": "2026-08-28T04:06:03.753706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gin-contrib/cors"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:02:10.353512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb571eec541715a773986502b27bdd3c7e3c25a5f17adc059f4e544997a48562", "fetched_at": "2026-08-28T04:06:03.753706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gin-contrib/cors"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:02:10.353512+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "cb571eec541715a773986502b27bdd3c7e3c25a5f17adc059f4e544997a48562", "fetched_at": "2026-08-28T04:06:03.753706+00:00", "kind": "readme", "missing": false, "url": "https://github.com/gin-contrib/cors"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 65}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3950, "days_push": 9, "days_rel": 158, "gap_med": 79.0, "n_releases_24m": 5}, "score": 87, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}