{"adoption": {"forks": 232, "observed_at": "2026-08-28T04:05:07.715224+00:00", "stars": 1586}, "canonical_url": "https://ross.abutalabs.com/products/natasha", "card": {"archived": false, "artifact_type": "library", "description": "基于 Roslyn 的 C# 动态程序集构建库，该库允许开发者在运行时使用 C# 代码构建域 / 程序集 / 类 / 结构体 / 枚举 / 接口 / 方法等，使得程序在运行的时候可以增加新的模块及功能。Natasha 集成了域管理/插件管理，可以实现域隔离，域卸载，热拔插等功能。 该库遵循完整的编译流程，提供完整的错误提示， 可自动添加引用，完善的数据结构构建模板让开发者只专注于程序集脚本的编写，兼容 stanadard2.0 / netcoreapp3.0+, 跨平台，统一、简便的链式 API。 且我们会尽快修复您的问题及回复您的 issue.", "domain": ["developer-tools", "compilers", "programming-languages"], "enriched": true, "function": ["compiler", "plugin-system", "interpreter", "developer-tools"], "health_score": 75, "homepage": "https://natasha.dotnetcore.xyz/", "language": "C#", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["dotnetcore/Natasha"], "name": "dotnetcore/Natasha", "platform": ["dotnet", "cross-platform", "windows"], "pushed_at": "2026-03-30T04:56:36+00:00", "repo": "dotnetcore/Natasha", "stars": 1586, "tags": ["roslyn", "csharp", "dynamic-compilation", "runtime-code-generation", "scripting", "assembly-building", "hot-reload", "assembly-unloading", "domain-isolation", "chain-api", "plugins", "linux", "macos"], "topics": ["il", "csharp", "roslyn", "script", "dynamic", "dotnetcore", "hacktoberfest"], "urls": [], "use_cases": ["compile and run C# code dynamically at runtime", "build a plugin system with hot-swappable C# modules", "isolate and unload dynamically loaded assemblies", "generate classes and methods from C# source strings on the fly", "implement scripting support inside a .NET application", "load new features into a running program without restarting", "manage collectible AssemblyLoadContext domains in .NET"], "what_it_is": "Natasha is a Roslyn-based C# dynamic assembly building library that lets developers compile and load C# code at runtime, creating domains, assemblies, classes, structs, enums, interfaces, and methods on the fly. It includes domain and plugin management with domain isolation, unloading, and hot-swapping, plus a fluent chain API, automatic reference handling, and full compilation error reporting.", "when_to_avoid": ["you only need simple configuration-driven behavior that static code or dependency injection can handle", "your target is .NET Framework (pre-Core) rather than netstandard2.0 / netcoreapp3.0+", "you need dynamic compilation in a non-C# .NET language like F# or VB", "you cannot tolerate the overhead or security surface of compiling code at runtime"], "when_to_choose": ["you need runtime C# compilation with a clean fluent API on .NET Core / .NET Standard 2.0+", "you want plugin management with domain isolation, unloading, and hot-swapping", "you need automatic reference resolution and detailed compiler diagnostics for generated code", "you want a cross-platform, actively maintained alternative to raw Roslyn scripting"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/natasha", "repo": "dotnetcore/Natasha", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.715224+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:55:27.991497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e77c3f2f07e707181be75fba849ecdb2ca961e6d2b8a86f8cb3b74a2cf3ea49", "fetched_at": "2026-08-28T04:05:07.715224+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnetcore/Natasha"}, {"content_hash": "dd671d65153c7d5940a413e1cd5f358b30622e62878809e18c2b1951e6d05564", "fetched_at": "2026-08-29T11:25:57.567474+00:00", "kind": "homepage", "missing": false, "url": "https://natasha.dotnetcore.xyz/"}, {"content_hash": "3478709721528bbb98fdadaee65e90c5e40d45875e2edb17065c5457cca03e4d", "fetched_at": "2026-08-29T11:25:57.569806+00:00", "kind": "site_page", "missing": false, "url": "https://natasha.dotnetcore.xyz/docs"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.715224+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:55:27.991497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e77c3f2f07e707181be75fba849ecdb2ca961e6d2b8a86f8cb3b74a2cf3ea49", "fetched_at": "2026-08-28T04:05:07.715224+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnetcore/Natasha"}, {"content_hash": "dd671d65153c7d5940a413e1cd5f358b30622e62878809e18c2b1951e6d05564", "fetched_at": "2026-08-29T11:25:57.567474+00:00", "kind": "homepage", "missing": false, "url": "https://natasha.dotnetcore.xyz/"}, {"content_hash": "3478709721528bbb98fdadaee65e90c5e40d45875e2edb17065c5457cca03e4d", "fetched_at": "2026-08-29T11:25:57.569806+00:00", "kind": "site_page", "missing": false, "url": "https://natasha.dotnetcore.xyz/docs"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:55:27.991497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e77c3f2f07e707181be75fba849ecdb2ca961e6d2b8a86f8cb3b74a2cf3ea49", "fetched_at": "2026-08-28T04:05:07.715224+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnetcore/Natasha"}, {"content_hash": "dd671d65153c7d5940a413e1cd5f358b30622e62878809e18c2b1951e6d05564", "fetched_at": "2026-08-29T11:25:57.567474+00:00", "kind": "homepage", "missing": false, "url": "https://natasha.dotnetcore.xyz/"}, {"content_hash": "3478709721528bbb98fdadaee65e90c5e40d45875e2edb17065c5457cca03e4d", "fetched_at": "2026-08-29T11:25:57.569806+00:00", "kind": "site_page", "missing": false, "url": "https://natasha.dotnetcore.xyz/docs"}], "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:07.715224+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.715224+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.715224+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:55:27.991497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e77c3f2f07e707181be75fba849ecdb2ca961e6d2b8a86f8cb3b74a2cf3ea49", "fetched_at": "2026-08-28T04:05:07.715224+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnetcore/Natasha"}, {"content_hash": "dd671d65153c7d5940a413e1cd5f358b30622e62878809e18c2b1951e6d05564", "fetched_at": "2026-08-29T11:25:57.567474+00:00", "kind": "homepage", "missing": false, "url": "https://natasha.dotnetcore.xyz/"}, {"content_hash": "3478709721528bbb98fdadaee65e90c5e40d45875e2edb17065c5457cca03e4d", "fetched_at": "2026-08-29T11:25:57.569806+00:00", "kind": "site_page", "missing": false, "url": "https://natasha.dotnetcore.xyz/docs"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.715224+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.715224+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:55:27.991497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e77c3f2f07e707181be75fba849ecdb2ca961e6d2b8a86f8cb3b74a2cf3ea49", "fetched_at": "2026-08-28T04:05:07.715224+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnetcore/Natasha"}, {"content_hash": "dd671d65153c7d5940a413e1cd5f358b30622e62878809e18c2b1951e6d05564", "fetched_at": "2026-08-29T11:25:57.567474+00:00", "kind": "homepage", "missing": false, "url": "https://natasha.dotnetcore.xyz/"}, {"content_hash": "3478709721528bbb98fdadaee65e90c5e40d45875e2edb17065c5457cca03e4d", "fetched_at": "2026-08-29T11:25:57.569806+00:00", "kind": "site_page", "missing": false, "url": "https://natasha.dotnetcore.xyz/docs"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.715224+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.715224+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.715224+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:55:27.991497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e77c3f2f07e707181be75fba849ecdb2ca961e6d2b8a86f8cb3b74a2cf3ea49", "fetched_at": "2026-08-28T04:05:07.715224+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnetcore/Natasha"}, {"content_hash": "dd671d65153c7d5940a413e1cd5f358b30622e62878809e18c2b1951e6d05564", "fetched_at": "2026-08-29T11:25:57.567474+00:00", "kind": "homepage", "missing": false, "url": "https://natasha.dotnetcore.xyz/"}, {"content_hash": "3478709721528bbb98fdadaee65e90c5e40d45875e2edb17065c5457cca03e4d", "fetched_at": "2026-08-29T11:25:57.569806+00:00", "kind": "site_page", "missing": false, "url": "https://natasha.dotnetcore.xyz/docs"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.715224+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.715224+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:55:27.991497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e77c3f2f07e707181be75fba849ecdb2ca961e6d2b8a86f8cb3b74a2cf3ea49", "fetched_at": "2026-08-28T04:05:07.715224+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnetcore/Natasha"}, {"content_hash": "dd671d65153c7d5940a413e1cd5f358b30622e62878809e18c2b1951e6d05564", "fetched_at": "2026-08-29T11:25:57.567474+00:00", "kind": "homepage", "missing": false, "url": "https://natasha.dotnetcore.xyz/"}, {"content_hash": "3478709721528bbb98fdadaee65e90c5e40d45875e2edb17065c5457cca03e4d", "fetched_at": "2026-08-29T11:25:57.569806+00:00", "kind": "site_page", "missing": false, "url": "https://natasha.dotnetcore.xyz/docs"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:55:27.991497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e77c3f2f07e707181be75fba849ecdb2ca961e6d2b8a86f8cb3b74a2cf3ea49", "fetched_at": "2026-08-28T04:05:07.715224+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnetcore/Natasha"}, {"content_hash": "dd671d65153c7d5940a413e1cd5f358b30622e62878809e18c2b1951e6d05564", "fetched_at": "2026-08-29T11:25:57.567474+00:00", "kind": "homepage", "missing": false, "url": "https://natasha.dotnetcore.xyz/"}, {"content_hash": "3478709721528bbb98fdadaee65e90c5e40d45875e2edb17065c5457cca03e4d", "fetched_at": "2026-08-29T11:25:57.569806+00:00", "kind": "site_page", "missing": false, "url": "https://natasha.dotnetcore.xyz/docs"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:55:27.991497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e77c3f2f07e707181be75fba849ecdb2ca961e6d2b8a86f8cb3b74a2cf3ea49", "fetched_at": "2026-08-28T04:05:07.715224+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnetcore/Natasha"}, {"content_hash": "dd671d65153c7d5940a413e1cd5f358b30622e62878809e18c2b1951e6d05564", "fetched_at": "2026-08-29T11:25:57.567474+00:00", "kind": "homepage", "missing": false, "url": "https://natasha.dotnetcore.xyz/"}, {"content_hash": "3478709721528bbb98fdadaee65e90c5e40d45875e2edb17065c5457cca03e4d", "fetched_at": "2026-08-29T11:25:57.569806+00:00", "kind": "site_page", "missing": false, "url": "https://natasha.dotnetcore.xyz/docs"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:55:27.991497+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e77c3f2f07e707181be75fba849ecdb2ca961e6d2b8a86f8cb3b74a2cf3ea49", "fetched_at": "2026-08-28T04:05:07.715224+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnetcore/Natasha"}, {"content_hash": "dd671d65153c7d5940a413e1cd5f358b30622e62878809e18c2b1951e6d05564", "fetched_at": "2026-08-29T11:25:57.567474+00:00", "kind": "homepage", "missing": false, "url": "https://natasha.dotnetcore.xyz/"}, {"content_hash": "3478709721528bbb98fdadaee65e90c5e40d45875e2edb17065c5457cca03e4d", "fetched_at": "2026-08-29T11:25:57.569806+00:00", "kind": "site_page", "missing": false, "url": "https://natasha.dotnetcore.xyz/docs"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 74, "longevity": 100, "rhythm": 40}, "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": 3471, "days_push": 156, "days_rel": 658, "gap_med": 0.0, "n_releases_24m": 3}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}