Skip to content

elringus/bootsharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

181 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Use C# in web apps with comfort

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors