{"adoption": {"forks": 254, "observed_at": "2026-08-28T04:07:02.417115+00:00", "stars": 2580}, "canonical_url": "https://ross.abutalabs.com/products/x2c", "card": {"archived": false, "artifact_type": "library", "description": "Increase layout loading speed 200% ", "domain": ["mobile-development", "android-tools", "performance", "developer-tools"], "enriched": true, "function": ["build-tool", "developer-tools", "ui-components"], "health_score": 20, "homepage": "https://www.jianshu.com/p/c1b9ce20ceb3", "language": "Java", "license": null, "license_family": "other", "maturity": "maintenance", "member_repos": ["iReaderAndroid/X2C"], "name": "iReaderAndroid/X2C", "platform": ["jvm"], "pushed_at": "2021-01-08T09:47:18+00:00", "repo": "iReaderAndroid/X2C", "stars": 2580, "tags": ["android-layout", "annotation-processor", "xml-to-java", "compile-time-codegen", "layout-inflation", "android"], "topics": [], "urls": [], "use_cases": ["speed up android layout inflation", "avoid xml parsing overhead at runtime", "keep xml layouts but load java code instead", "reduce layout loading time in android app startup", "replace layoutinflater inflate with faster alternative"], "what_it_is": "X2C is an Android library that translates XML layouts into equivalent Java code at compile time using APT and JavaPoet, so runtime layout inflation skips XML parsing and reflection. Developers keep writing XML layouts but load them via X2C.setContentView/X2C.inflate, reportedly cutting load time by ~200%.", "when_to_avoid": ["non-android projects", "projects needing actively maintained dependencies or a clear license", "teams unwilling to adopt annotation processors and custom attribute configs"], "when_to_choose": ["android apps with layout-heavy screens where inflation time matters", "teams wanting xml maintainability with java-level load performance"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/x2c", "repo": "iReaderAndroid/X2C", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:02.417115+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:22:38.641683+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "85ccb81dc29423d54ef29e214663725c17f1c6acc90b3e77dec053ea3a5557fc", "fetched_at": "2026-08-28T04:07:02.417115+00:00", "kind": "readme", "missing": false, "url": "https://github.com/iReaderAndroid/X2C"}, {"content_hash": "addd9d13c62267aa9919ed8ad4053d142087dbbfb1b252b34fdb94c78b43f0d8", "fetched_at": "2026-08-29T10:05:07.779367+00:00", "kind": "homepage", "missing": false, "url": "https://www.jianshu.com/p/c1b9ce20ceb3"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:02.417115+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:22:38.641683+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "85ccb81dc29423d54ef29e214663725c17f1c6acc90b3e77dec053ea3a5557fc", "fetched_at": "2026-08-28T04:07:02.417115+00:00", "kind": "readme", "missing": false, "url": "https://github.com/iReaderAndroid/X2C"}, {"content_hash": "addd9d13c62267aa9919ed8ad4053d142087dbbfb1b252b34fdb94c78b43f0d8", "fetched_at": "2026-08-29T10:05:07.779367+00:00", "kind": "homepage", "missing": false, "url": "https://www.jianshu.com/p/c1b9ce20ceb3"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:22:38.641683+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "85ccb81dc29423d54ef29e214663725c17f1c6acc90b3e77dec053ea3a5557fc", "fetched_at": "2026-08-28T04:07:02.417115+00:00", "kind": "readme", "missing": false, "url": "https://github.com/iReaderAndroid/X2C"}, {"content_hash": "addd9d13c62267aa9919ed8ad4053d142087dbbfb1b252b34fdb94c78b43f0d8", "fetched_at": "2026-08-29T10:05:07.779367+00:00", "kind": "homepage", "missing": false, "url": "https://www.jianshu.com/p/c1b9ce20ceb3"}], "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:07:02.417115+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:02.417115+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:02.417115+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:22:38.641683+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "85ccb81dc29423d54ef29e214663725c17f1c6acc90b3e77dec053ea3a5557fc", "fetched_at": "2026-08-28T04:07:02.417115+00:00", "kind": "readme", "missing": false, "url": "https://github.com/iReaderAndroid/X2C"}, {"content_hash": "addd9d13c62267aa9919ed8ad4053d142087dbbfb1b252b34fdb94c78b43f0d8", "fetched_at": "2026-08-29T10:05:07.779367+00:00", "kind": "homepage", "missing": false, "url": "https://www.jianshu.com/p/c1b9ce20ceb3"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:02.417115+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:02.417115+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:22:38.641683+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "85ccb81dc29423d54ef29e214663725c17f1c6acc90b3e77dec053ea3a5557fc", "fetched_at": "2026-08-28T04:07:02.417115+00:00", "kind": "readme", "missing": false, "url": "https://github.com/iReaderAndroid/X2C"}, {"content_hash": "addd9d13c62267aa9919ed8ad4053d142087dbbfb1b252b34fdb94c78b43f0d8", "fetched_at": "2026-08-29T10:05:07.779367+00:00", "kind": "homepage", "missing": false, "url": "https://www.jianshu.com/p/c1b9ce20ceb3"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:02.417115+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:02.417115+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:02.417115+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:22:38.641683+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "85ccb81dc29423d54ef29e214663725c17f1c6acc90b3e77dec053ea3a5557fc", "fetched_at": "2026-08-28T04:07:02.417115+00:00", "kind": "readme", "missing": false, "url": "https://github.com/iReaderAndroid/X2C"}, {"content_hash": "addd9d13c62267aa9919ed8ad4053d142087dbbfb1b252b34fdb94c78b43f0d8", "fetched_at": "2026-08-29T10:05:07.779367+00:00", "kind": "homepage", "missing": false, "url": "https://www.jianshu.com/p/c1b9ce20ceb3"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:02.417115+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:02.417115+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:22:38.641683+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "85ccb81dc29423d54ef29e214663725c17f1c6acc90b3e77dec053ea3a5557fc", "fetched_at": "2026-08-28T04:07:02.417115+00:00", "kind": "readme", "missing": false, "url": "https://github.com/iReaderAndroid/X2C"}, {"content_hash": "addd9d13c62267aa9919ed8ad4053d142087dbbfb1b252b34fdb94c78b43f0d8", "fetched_at": "2026-08-29T10:05:07.779367+00:00", "kind": "homepage", "missing": false, "url": "https://www.jianshu.com/p/c1b9ce20ceb3"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:22:38.641683+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "85ccb81dc29423d54ef29e214663725c17f1c6acc90b3e77dec053ea3a5557fc", "fetched_at": "2026-08-28T04:07:02.417115+00:00", "kind": "readme", "missing": false, "url": "https://github.com/iReaderAndroid/X2C"}, {"content_hash": "addd9d13c62267aa9919ed8ad4053d142087dbbfb1b252b34fdb94c78b43f0d8", "fetched_at": "2026-08-29T10:05:07.779367+00:00", "kind": "homepage", "missing": false, "url": "https://www.jianshu.com/p/c1b9ce20ceb3"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:22:38.641683+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "85ccb81dc29423d54ef29e214663725c17f1c6acc90b3e77dec053ea3a5557fc", "fetched_at": "2026-08-28T04:07:02.417115+00:00", "kind": "readme", "missing": false, "url": "https://github.com/iReaderAndroid/X2C"}, {"content_hash": "addd9d13c62267aa9919ed8ad4053d142087dbbfb1b252b34fdb94c78b43f0d8", "fetched_at": "2026-08-29T10:05:07.779367+00:00", "kind": "homepage", "missing": false, "url": "https://www.jianshu.com/p/c1b9ce20ceb3"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:22:38.641683+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "85ccb81dc29423d54ef29e214663725c17f1c6acc90b3e77dec053ea3a5557fc", "fetched_at": "2026-08-28T04:07:02.417115+00:00", "kind": "readme", "missing": false, "url": "https://github.com/iReaderAndroid/X2C"}, {"content_hash": "addd9d13c62267aa9919ed8ad4053d142087dbbfb1b252b34fdb94c78b43f0d8", "fetched_at": "2026-08-29T10:05:07.779367+00:00", "kind": "homepage", "missing": false, "url": "https://www.jianshu.com/p/c1b9ce20ceb3"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2933, "days_push": 2063, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}