# ClearFoundry/ClearScript

A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).

Repository: https://github.com/ClearFoundry/ClearScript
Canonical: https://ross.abutalabs.com/products/clearscript
Homepage: https://clearscript.clearfoundry.net/
Language: C#
License: MIT
License Family: permissive
Topics: dotnet, javascript, vbscript, v8
Last push: 2026-06-23T17:48:34+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 51, longevity 100
- inputs: {"age_days": 3408, "days_push": 71, "days_rel": 115, "gap_med": 429, "n_releases_24m": 2}
- flags: no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2030, forks 167 (observed 2026-08-28T04:06:07.222433+00:00)

## What it is
ClearScript is a .NET library for embedding script engines into applications, supporting Google's V8, Microsoft JScript, and VBScript. It exposes .NET objects and types to scripts with full interop, debugging, module support, and cross-platform builds.

## Use cases
- add JavaScript scripting to a .NET application
- run user-provided scripts safely inside a C# app
- expose .NET objects and types to JavaScript code
- embed V8 in a .NET Core or .NET Framework app
- support legacy VBScript or JScript automation on Windows
- enable plugin or macro scripting in a desktop application

## When to choose
- you need a mature, actively maintained scripting host for .NET
- you want deep bidirectional interop between .NET and JavaScript
- you must support multiple engines including legacy JScript/VBScript
- you need cross-platform V8 support on Windows, Linux, and macOS

## When to avoid
- you only need to execute standalone JavaScript files without host interop
- you want sandboxed untrusted-code isolation, which requires extra work beyond ClearScript
- your project is not on the .NET platform

## Facets
- artifact type: library
- maturity: active
- function: interpreter, sdk, developer-tools
- domain: developer-tools, programming-languages, cross-platform
- platform: windows, dotnet, cross-platform
- tags: scripting, javascript-engine, v8, vbscript, jscript, csharp, interop, linux, macos

## Member repositories
- ClearFoundry/ClearScript (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:07.222433+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:59:33.880779+00:00, confidence not recorded.
  - homepage: https://clearscript.clearfoundry.net/ (fetched 2026-08-29T10:39:22.147590+00:00, sha eca6fe49038f)
  - site_page: https://clearscript.clearfoundry.net/about (fetched 2026-08-29T10:39:22.157088+00:00, sha 2ece2e39dc67)
- Data as of 2026-08-30T08:39:29.467469+00:00.
