elringus/bootsharp

Use C# in web apps with comfort

C#

800

200 commits

updated Jun 11, 2026

See the code

See what people are saying

README

Bootsharp


nuget codefactor codecov codeql


Use C# in web apps with comfort

Bootsharp streamlines the integration of .NET C# apps and libraries into web projects. It's ideal for building applications where the domain (backend) is authored in .NET C#, while the UI (frontend) is a standalone TypeScript or JavaScript project. Think of it as Embind for C++ or wasm-bindgen for Rust.

Facilitating high-level interoperation between C# and TypeScript, Bootsharp lets you build the UI layer within its natural ecosystem using industry-standard tooling and frameworks, such as React and Svelte. The project can then be published to the web or bundled as a native desktop or mobile application with Electron or Tauri.

Features

✨ High-level C# <-> TypeScript interop

📦 Produces modern ES package with modules and types

🗺️ Works in browsers and JS runtimes (Node, Deno, Bun)

🧩 Generates bindings over abstract C# API surfaces

🧬 Intelligently handles any type on the interop surface

🛠️ Allows customizing emitted interop API patterns

⚡ Compiles optimized WASM with NativeAOT-LLVM and Binaryen

🎬 Get Started

https://bootsharp.com/guide


Bootsharp is used in Naninovel: Visual Novel, Dialogue & Cutscene Storytelling Engine. Check it out!

naninovel banner

codegen
csharp
interop
js
node
ts
typescript
wasm

elringus/bootsharp

Use C# in web apps with comfort

C#

800

200 commits

updated Jun 11, 2026

See the code

See what people are saying

README

Bootsharp


nuget codefactor codecov codeql


Use C# in web apps with comfort

Bootsharp streamlines the integration of .NET C# apps and libraries into web projects. It's ideal for building applications where the domain (backend) is authored in .NET C#, while the UI (frontend) is a standalone TypeScript or JavaScript project. Think of it as Embind for C++ or wasm-bindgen for Rust.

Facilitating high-level interoperation between C# and TypeScript, Bootsharp lets you build the UI layer within its natural ecosystem using industry-standard tooling and frameworks, such as React and Svelte. The project can then be published to the web or bundled as a native desktop or mobile application with Electron or Tauri.

Features

✨ High-level C# <-> TypeScript interop

📦 Produces modern ES package with modules and types

🗺️ Works in browsers and JS runtimes (Node, Deno, Bun)

🧩 Generates bindings over abstract C# API surfaces

🧬 Intelligently handles any type on the interop surface

🛠️ Allows customizing emitted interop API patterns

⚡ Compiles optimized WASM with NativeAOT-LLVM and Binaryen

🎬 Get Started

https://bootsharp.com/guide


Bootsharp is used in Naninovel: Visual Novel, Dialogue & Cutscene Storytelling Engine. Check it out!

naninovel banner

codegen
csharp
interop
js
node
ts
typescript
wasm

Project health

Latest release

0.9.0 · Jun 9, 2026

Releases this year

3

Significant stargazers

Jonathan Dick

1,600 followers · starred Mar 2022

Aaron Stannard

982 followers · starred Apr 2025

TrumpMcDonaldz

26 followers · starred Jun 2026

Charles Chen

161 followers · starred Jun 2026