{"adoption": {"forks": 28, "observed_at": "2026-09-03T02:15:12.768826+00:00", "stars": 1294}, "canonical_url": "https://ross.abutalabs.com/products/sugar-high", "card": {"archived": false, "artifact_type": "library", "description": "Super lightweight code syntax highlighter solution", "domain": ["web-development", "frontend", "developer-tools", "documentation"], "enriched": true, "function": ["parser", "editor", "markdown"], "health_score": 100, "homepage": "https://sugar-high.vercel.app", "language": "TypeScript", "license": null, "license_family": "other", "maturity": "active", "member_repos": ["huozhi/sugar-high"], "name": "huozhi/sugar-high", "platform": ["browser"], "pushed_at": "2026-09-02T23:04:46+00:00", "repo": "huozhi/sugar-high", "stars": 1294, "tags": ["syntax-highlighting", "code-block", "tokenizer", "zero-dependency", "lightweight", "remark-plugin", "react", "jsx", "css-variables", "themeable", "prism-alternative", "shiki-alternative", "code-display", "nodejs", "web-server"], "topics": ["highlight", "js", "jsx", "syntax-highlighting", "syntax", "highlighter", "code-block", "code-editor", "editor", "minimalist", "react", "remark", "remark-plugin"], "urls": [], "use_cases": ["add syntax highlighting to code blocks in my react blog", "lightweight alternative to prism or shiki for code highlighting", "highlight code snippets in markdown docs via a remark plugin", "display jsx and typescript snippets with colors on my site", "zero-dependency syntax highlighter that keeps bundle size small", "theme code block token colors with css variables for light and dark mode", "highlight code in a static site without shipping heavy grammar files"], "what_it_is": "Sugar High is a super lightweight, zero-dependency syntax highlighter library that tokenizes source code into styled spans with a tiny custom parser. It ships with 25 built-in languages (JavaScript/JSX and TypeScript by default), light/dark token palettes driven by CSS variables, and integrates with React and remark-based Markdown pipelines.", "when_to_avoid": ["you need exhaustive or highly accurate grammar coverage for complex or obscure languages", "you want a batteries-included ecosystem with many official plugins, line-number widgets, or UI chrome", "you require IDE-grade highlighting fidelity for deeply nested or templated code"], "when_to_choose": ["you need minimal bundle size and zero runtime dependencies", "you want full CSS control over token colors via custom properties and per-line styling", "you render JavaScript, JSX, TypeScript, or any of its 25 built-in languages in React or remark/MDX sites", "you prefer a tiny tokenizer over heavyweight grammar engines"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sugar-high", "repo": "huozhi/sugar-high", "role": "main", "score": 100}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:55:44.377478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c7809f9068d7db5242365cc4dd6f9710c79a7963ce67535b3d5936e15f70eff3", "fetched_at": "2026-09-03T02:15:12.768826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huozhi/sugar-high"}, {"content_hash": "2c04b7119c73cc81dee39c91aaac2e3fe23f86553d0dfc3d1f29a1c7f321e2c6", "fetched_at": "2026-08-29T12:11:55.243210+00:00", "kind": "homepage", "missing": false, "url": "https://sugar-high.vercel.app"}, {"content_hash": "0cd740d6e5fa4d7e425a762cae31c2ac81a37e838a66635a5ceadacfb5fe48ee", "fetched_at": "2026-08-29T12:11:55.252815+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sugar-high"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:55:44.377478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c7809f9068d7db5242365cc4dd6f9710c79a7963ce67535b3d5936e15f70eff3", "fetched_at": "2026-09-03T02:15:12.768826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huozhi/sugar-high"}, {"content_hash": "2c04b7119c73cc81dee39c91aaac2e3fe23f86553d0dfc3d1f29a1c7f321e2c6", "fetched_at": "2026-08-29T12:11:55.243210+00:00", "kind": "homepage", "missing": false, "url": "https://sugar-high.vercel.app"}, {"content_hash": "0cd740d6e5fa4d7e425a762cae31c2ac81a37e838a66635a5ceadacfb5fe48ee", "fetched_at": "2026-08-29T12:11:55.252815+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sugar-high"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:55:44.377478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c7809f9068d7db5242365cc4dd6f9710c79a7963ce67535b3d5936e15f70eff3", "fetched_at": "2026-09-03T02:15:12.768826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huozhi/sugar-high"}, {"content_hash": "2c04b7119c73cc81dee39c91aaac2e3fe23f86553d0dfc3d1f29a1c7f321e2c6", "fetched_at": "2026-08-29T12:11:55.243210+00:00", "kind": "homepage", "missing": false, "url": "https://sugar-high.vercel.app"}, {"content_hash": "0cd740d6e5fa4d7e425a762cae31c2ac81a37e838a66635a5ceadacfb5fe48ee", "fetched_at": "2026-08-29T12:11:55.252815+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sugar-high"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:55:44.377478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c7809f9068d7db5242365cc4dd6f9710c79a7963ce67535b3d5936e15f70eff3", "fetched_at": "2026-09-03T02:15:12.768826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huozhi/sugar-high"}, {"content_hash": "2c04b7119c73cc81dee39c91aaac2e3fe23f86553d0dfc3d1f29a1c7f321e2c6", "fetched_at": "2026-08-29T12:11:55.243210+00:00", "kind": "homepage", "missing": false, "url": "https://sugar-high.vercel.app"}, {"content_hash": "0cd740d6e5fa4d7e425a762cae31c2ac81a37e838a66635a5ceadacfb5fe48ee", "fetched_at": "2026-08-29T12:11:55.252815+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sugar-high"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:55:44.377478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c7809f9068d7db5242365cc4dd6f9710c79a7963ce67535b3d5936e15f70eff3", "fetched_at": "2026-09-03T02:15:12.768826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huozhi/sugar-high"}, {"content_hash": "2c04b7119c73cc81dee39c91aaac2e3fe23f86553d0dfc3d1f29a1c7f321e2c6", "fetched_at": "2026-08-29T12:11:55.243210+00:00", "kind": "homepage", "missing": false, "url": "https://sugar-high.vercel.app"}, {"content_hash": "0cd740d6e5fa4d7e425a762cae31c2ac81a37e838a66635a5ceadacfb5fe48ee", "fetched_at": "2026-08-29T12:11:55.252815+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sugar-high"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:55:44.377478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c7809f9068d7db5242365cc4dd6f9710c79a7963ce67535b3d5936e15f70eff3", "fetched_at": "2026-09-03T02:15:12.768826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huozhi/sugar-high"}, {"content_hash": "2c04b7119c73cc81dee39c91aaac2e3fe23f86553d0dfc3d1f29a1c7f321e2c6", "fetched_at": "2026-08-29T12:11:55.243210+00:00", "kind": "homepage", "missing": false, "url": "https://sugar-high.vercel.app"}, {"content_hash": "0cd740d6e5fa4d7e425a762cae31c2ac81a37e838a66635a5ceadacfb5fe48ee", "fetched_at": "2026-08-29T12:11:55.252815+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sugar-high"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-09-03T02:15:12.768826+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:55:44.377478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c7809f9068d7db5242365cc4dd6f9710c79a7963ce67535b3d5936e15f70eff3", "fetched_at": "2026-09-03T02:15:12.768826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huozhi/sugar-high"}, {"content_hash": "2c04b7119c73cc81dee39c91aaac2e3fe23f86553d0dfc3d1f29a1c7f321e2c6", "fetched_at": "2026-08-29T12:11:55.243210+00:00", "kind": "homepage", "missing": false, "url": "https://sugar-high.vercel.app"}, {"content_hash": "0cd740d6e5fa4d7e425a762cae31c2ac81a37e838a66635a5ceadacfb5fe48ee", "fetched_at": "2026-08-29T12:11:55.252815+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sugar-high"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:55:44.377478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c7809f9068d7db5242365cc4dd6f9710c79a7963ce67535b3d5936e15f70eff3", "fetched_at": "2026-09-03T02:15:12.768826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huozhi/sugar-high"}, {"content_hash": "2c04b7119c73cc81dee39c91aaac2e3fe23f86553d0dfc3d1f29a1c7f321e2c6", "fetched_at": "2026-08-29T12:11:55.243210+00:00", "kind": "homepage", "missing": false, "url": "https://sugar-high.vercel.app"}, {"content_hash": "0cd740d6e5fa4d7e425a762cae31c2ac81a37e838a66635a5ceadacfb5fe48ee", "fetched_at": "2026-08-29T12:11:55.252815+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sugar-high"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:55:44.377478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c7809f9068d7db5242365cc4dd6f9710c79a7963ce67535b3d5936e15f70eff3", "fetched_at": "2026-09-03T02:15:12.768826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huozhi/sugar-high"}, {"content_hash": "2c04b7119c73cc81dee39c91aaac2e3fe23f86553d0dfc3d1f29a1c7f321e2c6", "fetched_at": "2026-08-29T12:11:55.243210+00:00", "kind": "homepage", "missing": false, "url": "https://sugar-high.vercel.app"}, {"content_hash": "0cd740d6e5fa4d7e425a762cae31c2ac81a37e838a66635a5ceadacfb5fe48ee", "fetched_at": "2026-08-29T12:11:55.252815+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sugar-high"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:55:44.377478+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c7809f9068d7db5242365cc4dd6f9710c79a7963ce67535b3d5936e15f70eff3", "fetched_at": "2026-09-03T02:15:12.768826+00:00", "kind": "readme", "missing": false, "url": "https://github.com/huozhi/sugar-high"}, {"content_hash": "2c04b7119c73cc81dee39c91aaac2e3fe23f86553d0dfc3d1f29a1c7f321e2c6", "fetched_at": "2026-08-29T12:11:55.243210+00:00", "kind": "homepage", "missing": false, "url": "https://sugar-high.vercel.app"}, {"content_hash": "0cd740d6e5fa4d7e425a762cae31c2ac81a37e838a66635a5ceadacfb5fe48ee", "fetched_at": "2026-08-29T12:11:55.252815+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/sugar-high"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 100, "longevity": 100, "rhythm": 100}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1678, "days_push": 0, "days_rel": 0, "gap_med": 8.5, "n_releases_24m": 25}, "score": 100, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 3, "stale_scrape": false}}