GithubHelp home page GithubHelp logo

anthrax3 / websharp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xamarin/websharp

0.0 0.0 0.0 102.7 MB

Support for running C# on the web browser.

License: MIT License

C 0.03% C++ 11.56% C# 60.07% HTML 0.18% JavaScript 3.94% Python 23.45% Makefile 0.23% PowerShell 0.04% Batchfile 0.45% Visual Basic 0.05%

websharp's Introduction

WebSharp

This project is intended to support running .NET code as an Electron Plugin, running code using the Mono runtime, side-by-side the V8 engine and to provide both C# API bindings to Electron's plugin API as well as the Web browser API.

This will be made up of a few components:

  • The plugin that launches the Mono process and runs code on behalf of the user.
  • The Xamarin.PepperSharp.dll API bindings that will provide access to the APIs surfaced to Chromium plugins to C# code.
  • Xamarin.W3C.dll API bindings that will provide access to the browser APIs, built on top of Xamarin.PepperSharp.dll
  • System.Windows.Browser this API surfaces the DOM tree to C# as a strongly typed set of objects. An MIT licensed implementation of this is part of Moonlight that could be refactored.

For the Xamarin.W3C APIs, we intend to use the TypeScript type definitions to generate a strongly typed .NET API.

Current Work

This is a work in progress, and we are only getting started. This means that the activation workflow for .NET code is not finalized, nor is the API that is exposed to .NET code running on Electron.

With that being said, check the GettingStarted documents for the basics.

Future Work

We hope that the Xamarin.W3C API would be used in the future when we compile .NET code to WebAssembly.

websharp's People

Contributors

kjpou1 avatar migueldeicaza avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.