{"adoption": {"forks": 85, "observed_at": "2026-08-28T04:05:19.967580+00:00", "stars": 1671}, "canonical_url": "https://ross.abutalabs.com/products/dgmjs", "card": {"archived": false, "artifact_type": "library", "description": "An infinite canvas with smart shapes", "domain": ["web-development", "frontend", "graphics", "developer-tools"], "enriched": true, "function": ["ui-components", "graphics", "image-processing", "state-management"], "health_score": 71, "homepage": "https://dgmjs.dev", "language": "TypeScript", "license": "GPL-3.0", "license_family": "copyleft", "maturity": "active", "member_repos": ["dgmjs/dgmjs"], "name": "dgmjs/dgmjs", "platform": ["browser"], "pushed_at": "2025-12-26T15:01:09+00:00", "repo": "dgmjs/dgmjs", "stars": 1671, "tags": ["infinite-canvas", "diagramming", "whiteboard", "sketching", "smart-shapes", "hand-drawn-style", "real-time-collaboration", "react", "web-server", "typescript"], "topics": ["canvas", "diagram", "drawing", "sketch", "whiteboard"], "urls": [], "use_cases": ["build a whiteboard app with an infinite canvas", "embed a diagram editor in a React app", "create a wireframing or sketching tool", "add real-time collaborative drawing to a web app", "export diagrams to PNG, SVG, or PDF", "define custom shapes with scripts and constraints", "support hand-drawn sketch style diagrams"], "what_it_is": "DGM.js is a TypeScript library providing an infinite canvas with programmable 'smart shapes' for building diagramming, whiteboarding, and sketching applications. It offers React headless components, multi-page documents, hand-drawn styles, real-time collaboration via Yjs, and export to PNG, SVG, PDF, and JSON.", "when_to_avoid": ["you need a ready-made end-user whiteboard app rather than a library", "your project requires permissive licensing (GPLv3 with paid options for non-GPL)", "you want to contribute code, since pull requests are not accepted", "you are not using a web/JavaScript stack"], "when_to_choose": ["you need an embeddable canvas/diagram engine in a TypeScript or React web app", "you want programmable shapes with constraints and scripting", "you need multi-page documents, dark mode, and image/PDF export out of the box", "you want optional real-time collaboration via Yjs"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/dgmjs", "repo": "dgmjs/dgmjs", "role": "main", "score": 62}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:19.967580+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:42:40.659275+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca59c3804310eb5a04e1a5c68acff1aea9209dcdfdccfba4615df0a62ad492b", "fetched_at": "2026-08-28T04:05:19.967580+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgmjs/dgmjs"}, {"content_hash": "950ddf14962427497c4915d2f239c7474d8497a17c05650194b5bbdfd8932ac8", "fetched_at": "2026-08-29T11:16:04.092074+00:00", "kind": "homepage", "missing": false, "url": "https://dgmjs.dev"}, {"content_hash": "1eea078250c46a0c463126a2bc94c567a61774072d0f39c5652039f5f7209ac1", "fetched_at": "2026-08-29T11:16:04.101096+00:00", "kind": "site_page", "missing": false, "url": "https://dgmjs.dev/overview/getting-started"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:19.967580+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:42:40.659275+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca59c3804310eb5a04e1a5c68acff1aea9209dcdfdccfba4615df0a62ad492b", "fetched_at": "2026-08-28T04:05:19.967580+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgmjs/dgmjs"}, {"content_hash": "950ddf14962427497c4915d2f239c7474d8497a17c05650194b5bbdfd8932ac8", "fetched_at": "2026-08-29T11:16:04.092074+00:00", "kind": "homepage", "missing": false, "url": "https://dgmjs.dev"}, {"content_hash": "1eea078250c46a0c463126a2bc94c567a61774072d0f39c5652039f5f7209ac1", "fetched_at": "2026-08-29T11:16:04.101096+00:00", "kind": "site_page", "missing": false, "url": "https://dgmjs.dev/overview/getting-started"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:42:40.659275+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca59c3804310eb5a04e1a5c68acff1aea9209dcdfdccfba4615df0a62ad492b", "fetched_at": "2026-08-28T04:05:19.967580+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgmjs/dgmjs"}, {"content_hash": "950ddf14962427497c4915d2f239c7474d8497a17c05650194b5bbdfd8932ac8", "fetched_at": "2026-08-29T11:16:04.092074+00:00", "kind": "homepage", "missing": false, "url": "https://dgmjs.dev"}, {"content_hash": "1eea078250c46a0c463126a2bc94c567a61774072d0f39c5652039f5f7209ac1", "fetched_at": "2026-08-29T11:16:04.101096+00:00", "kind": "site_page", "missing": false, "url": "https://dgmjs.dev/overview/getting-started"}], "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:05:19.967580+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:19.967580+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:19.967580+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:42:40.659275+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca59c3804310eb5a04e1a5c68acff1aea9209dcdfdccfba4615df0a62ad492b", "fetched_at": "2026-08-28T04:05:19.967580+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgmjs/dgmjs"}, {"content_hash": "950ddf14962427497c4915d2f239c7474d8497a17c05650194b5bbdfd8932ac8", "fetched_at": "2026-08-29T11:16:04.092074+00:00", "kind": "homepage", "missing": false, "url": "https://dgmjs.dev"}, {"content_hash": "1eea078250c46a0c463126a2bc94c567a61774072d0f39c5652039f5f7209ac1", "fetched_at": "2026-08-29T11:16:04.101096+00:00", "kind": "site_page", "missing": false, "url": "https://dgmjs.dev/overview/getting-started"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:19.967580+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:19.967580+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:42:40.659275+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca59c3804310eb5a04e1a5c68acff1aea9209dcdfdccfba4615df0a62ad492b", "fetched_at": "2026-08-28T04:05:19.967580+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgmjs/dgmjs"}, {"content_hash": "950ddf14962427497c4915d2f239c7474d8497a17c05650194b5bbdfd8932ac8", "fetched_at": "2026-08-29T11:16:04.092074+00:00", "kind": "homepage", "missing": false, "url": "https://dgmjs.dev"}, {"content_hash": "1eea078250c46a0c463126a2bc94c567a61774072d0f39c5652039f5f7209ac1", "fetched_at": "2026-08-29T11:16:04.101096+00:00", "kind": "site_page", "missing": false, "url": "https://dgmjs.dev/overview/getting-started"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:19.967580+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:19.967580+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:19.967580+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:42:40.659275+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca59c3804310eb5a04e1a5c68acff1aea9209dcdfdccfba4615df0a62ad492b", "fetched_at": "2026-08-28T04:05:19.967580+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgmjs/dgmjs"}, {"content_hash": "950ddf14962427497c4915d2f239c7474d8497a17c05650194b5bbdfd8932ac8", "fetched_at": "2026-08-29T11:16:04.092074+00:00", "kind": "homepage", "missing": false, "url": "https://dgmjs.dev"}, {"content_hash": "1eea078250c46a0c463126a2bc94c567a61774072d0f39c5652039f5f7209ac1", "fetched_at": "2026-08-29T11:16:04.101096+00:00", "kind": "site_page", "missing": false, "url": "https://dgmjs.dev/overview/getting-started"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:19.967580+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:19.967580+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:42:40.659275+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca59c3804310eb5a04e1a5c68acff1aea9209dcdfdccfba4615df0a62ad492b", "fetched_at": "2026-08-28T04:05:19.967580+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgmjs/dgmjs"}, {"content_hash": "950ddf14962427497c4915d2f239c7474d8497a17c05650194b5bbdfd8932ac8", "fetched_at": "2026-08-29T11:16:04.092074+00:00", "kind": "homepage", "missing": false, "url": "https://dgmjs.dev"}, {"content_hash": "1eea078250c46a0c463126a2bc94c567a61774072d0f39c5652039f5f7209ac1", "fetched_at": "2026-08-29T11:16:04.101096+00:00", "kind": "site_page", "missing": false, "url": "https://dgmjs.dev/overview/getting-started"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:42:40.659275+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca59c3804310eb5a04e1a5c68acff1aea9209dcdfdccfba4615df0a62ad492b", "fetched_at": "2026-08-28T04:05:19.967580+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgmjs/dgmjs"}, {"content_hash": "950ddf14962427497c4915d2f239c7474d8497a17c05650194b5bbdfd8932ac8", "fetched_at": "2026-08-29T11:16:04.092074+00:00", "kind": "homepage", "missing": false, "url": "https://dgmjs.dev"}, {"content_hash": "1eea078250c46a0c463126a2bc94c567a61774072d0f39c5652039f5f7209ac1", "fetched_at": "2026-08-29T11:16:04.101096+00:00", "kind": "site_page", "missing": false, "url": "https://dgmjs.dev/overview/getting-started"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:42:40.659275+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca59c3804310eb5a04e1a5c68acff1aea9209dcdfdccfba4615df0a62ad492b", "fetched_at": "2026-08-28T04:05:19.967580+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgmjs/dgmjs"}, {"content_hash": "950ddf14962427497c4915d2f239c7474d8497a17c05650194b5bbdfd8932ac8", "fetched_at": "2026-08-29T11:16:04.092074+00:00", "kind": "homepage", "missing": false, "url": "https://dgmjs.dev"}, {"content_hash": "1eea078250c46a0c463126a2bc94c567a61774072d0f39c5652039f5f7209ac1", "fetched_at": "2026-08-29T11:16:04.101096+00:00", "kind": "site_page", "missing": false, "url": "https://dgmjs.dev/overview/getting-started"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:42:40.659275+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca59c3804310eb5a04e1a5c68acff1aea9209dcdfdccfba4615df0a62ad492b", "fetched_at": "2026-08-28T04:05:19.967580+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dgmjs/dgmjs"}, {"content_hash": "950ddf14962427497c4915d2f239c7474d8497a17c05650194b5bbdfd8932ac8", "fetched_at": "2026-08-29T11:16:04.092074+00:00", "kind": "homepage", "missing": false, "url": "https://dgmjs.dev"}, {"content_hash": "1eea078250c46a0c463126a2bc94c567a61774072d0f39c5652039f5f7209ac1", "fetched_at": "2026-08-29T11:16:04.101096+00:00", "kind": "site_page", "missing": false, "url": "https://dgmjs.dev/overview/getting-started"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 59, "longevity": 67, "rhythm": 63}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 941, "days_push": 250, "days_rel": 250, "gap_med": 4, "n_releases_24m": 58}, "score": 62, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}