{"adoption": {"forks": 337, "observed_at": "2026-08-28T04:06:16.851998+00:00", "stars": 2125}, "canonical_url": "https://ross.abutalabs.com/products/magenta-js", "card": {"archived": false, "artifact_type": "library", "description": "Magenta.js: Music and Art Generation with Machine Learning in the browser", "domain": ["machine-learning", "deep-learning", "artificial-intelligence", "image-processing", "web-development"], "enriched": true, "function": ["machine-learning", "deep-learning", "audio-processing", "image-processing", "graphics"], "health_score": 73, "homepage": "https://magenta.tensorflow.org", "language": "TypeScript", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["magenta/magenta-js"], "name": "magenta/magenta-js", "platform": ["browser"], "pushed_at": "2026-06-22T20:40:59+00:00", "repo": "magenta/magenta-js", "stars": 2125, "tags": ["tensorflowjs", "music-generation", "sketch-generation", "style-transfer", "generative-art", "pretrained-models", "npm-packages", "creative-coding", "audio", "nodejs", "javascript", "typescript", "web"], "topics": [], "urls": [], "use_cases": ["generate music melodies in the browser with machine learning", "run MusicVAE or MelodyRNN models client-side", "create AI-assisted sketch drawings with SketchRNN", "apply neural style transfer to images in a web app", "build interactive creative AI demos in JavaScript", "generate drum patterns with machine learning in the browser"], "what_it_is": "Magenta.js is a collection of TypeScript libraries for running inference with pre-trained Magenta machine learning models directly in the browser via TensorFlow.js. It provides npm packages for music generation (MusicVAE, MelodyRNN, DrumsRNN), sketch drawing (SketchRNN), and image style transfer.", "when_to_avoid": ["you need to train models from scratch rather than run inference with pre-trained ones", "you need server-side or high-performance native ML inference outside the browser", "you need the latest Magenta models like RealTime/Lyria, which live in other Magenta projects"], "when_to_choose": ["you want to run pre-trained generative music or art models entirely client-side in the browser", "you need TensorFlow.js implementations of Magenta models via npm packages", "you are building creative coding or interactive AI music/art web applications"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/magenta-js", "repo": "magenta/magenta-js", "role": "main", "score": 72}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.851998+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.035497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f8d4ee2cd1965e446b71b6776d9dbea2103a2d41dffa65a611603c89476628ae", "fetched_at": "2026-08-28T04:06:16.851998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magenta/magenta-js"}, {"content_hash": "e0ea7cd92c27c35845648793af7e94a67869b3f8449b2fed11d8481cbe0a4a7f", "fetched_at": "2026-08-29T10:32:55.745339+00:00", "kind": "homepage", "missing": false, "url": "https://magenta.tensorflow.org"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.851998+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.035497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f8d4ee2cd1965e446b71b6776d9dbea2103a2d41dffa65a611603c89476628ae", "fetched_at": "2026-08-28T04:06:16.851998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magenta/magenta-js"}, {"content_hash": "e0ea7cd92c27c35845648793af7e94a67869b3f8449b2fed11d8481cbe0a4a7f", "fetched_at": "2026-08-29T10:32:55.745339+00:00", "kind": "homepage", "missing": false, "url": "https://magenta.tensorflow.org"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.035497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f8d4ee2cd1965e446b71b6776d9dbea2103a2d41dffa65a611603c89476628ae", "fetched_at": "2026-08-28T04:06:16.851998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magenta/magenta-js"}, {"content_hash": "e0ea7cd92c27c35845648793af7e94a67869b3f8449b2fed11d8481cbe0a4a7f", "fetched_at": "2026-08-29T10:32:55.745339+00:00", "kind": "homepage", "missing": false, "url": "https://magenta.tensorflow.org"}], "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:16.851998+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.851998+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.851998+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.035497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f8d4ee2cd1965e446b71b6776d9dbea2103a2d41dffa65a611603c89476628ae", "fetched_at": "2026-08-28T04:06:16.851998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magenta/magenta-js"}, {"content_hash": "e0ea7cd92c27c35845648793af7e94a67869b3f8449b2fed11d8481cbe0a4a7f", "fetched_at": "2026-08-29T10:32:55.745339+00:00", "kind": "homepage", "missing": false, "url": "https://magenta.tensorflow.org"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.851998+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.851998+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.035497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f8d4ee2cd1965e446b71b6776d9dbea2103a2d41dffa65a611603c89476628ae", "fetched_at": "2026-08-28T04:06:16.851998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magenta/magenta-js"}, {"content_hash": "e0ea7cd92c27c35845648793af7e94a67869b3f8449b2fed11d8481cbe0a4a7f", "fetched_at": "2026-08-29T10:32:55.745339+00:00", "kind": "homepage", "missing": false, "url": "https://magenta.tensorflow.org"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.851998+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.851998+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.851998+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.035497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f8d4ee2cd1965e446b71b6776d9dbea2103a2d41dffa65a611603c89476628ae", "fetched_at": "2026-08-28T04:06:16.851998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magenta/magenta-js"}, {"content_hash": "e0ea7cd92c27c35845648793af7e94a67869b3f8449b2fed11d8481cbe0a4a7f", "fetched_at": "2026-08-29T10:32:55.745339+00:00", "kind": "homepage", "missing": false, "url": "https://magenta.tensorflow.org"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.851998+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:16.851998+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.035497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f8d4ee2cd1965e446b71b6776d9dbea2103a2d41dffa65a611603c89476628ae", "fetched_at": "2026-08-28T04:06:16.851998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magenta/magenta-js"}, {"content_hash": "e0ea7cd92c27c35845648793af7e94a67869b3f8449b2fed11d8481cbe0a4a7f", "fetched_at": "2026-08-29T10:32:55.745339+00:00", "kind": "homepage", "missing": false, "url": "https://magenta.tensorflow.org"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.035497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f8d4ee2cd1965e446b71b6776d9dbea2103a2d41dffa65a611603c89476628ae", "fetched_at": "2026-08-28T04:06:16.851998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magenta/magenta-js"}, {"content_hash": "e0ea7cd92c27c35845648793af7e94a67869b3f8449b2fed11d8481cbe0a4a7f", "fetched_at": "2026-08-29T10:32:55.745339+00:00", "kind": "homepage", "missing": false, "url": "https://magenta.tensorflow.org"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.035497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f8d4ee2cd1965e446b71b6776d9dbea2103a2d41dffa65a611603c89476628ae", "fetched_at": "2026-08-28T04:06:16.851998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magenta/magenta-js"}, {"content_hash": "e0ea7cd92c27c35845648793af7e94a67869b3f8449b2fed11d8481cbe0a4a7f", "fetched_at": "2026-08-29T10:32:55.745339+00:00", "kind": "homepage", "missing": false, "url": "https://magenta.tensorflow.org"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:52:41.035497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f8d4ee2cd1965e446b71b6776d9dbea2103a2d41dffa65a611603c89476628ae", "fetched_at": "2026-08-28T04:06:16.851998+00:00", "kind": "readme", "missing": false, "url": "https://github.com/magenta/magenta-js"}, {"content_hash": "e0ea7cd92c27c35845648793af7e94a67869b3f8449b2fed11d8481cbe0a4a7f", "fetched_at": "2026-08-29T10:32:55.745339+00:00", "kind": "homepage", "missing": false, "url": "https://magenta.tensorflow.org"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 88, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3082, "days_push": 72, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 72, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}