Jint
CefSharp
Jint | CefSharp | |
---|---|---|
24 | 22 | |
3,921 | 9,684 | |
- | 0.5% | |
9.1 | 8.3 | |
6 days ago | 8 days ago | |
C# | C# | |
BSD 2-clause "Simplified" License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Jint
- Jint – A JavaScript Interpreter for .NET
-
Is there a way to dynamically interpret a string as javascript within a C# winforms program?
Jint https://github.com/sebastienros/jint
- Any framework/library for validating arbitrary code?
-
Scripting inside Rimworld with Unity: Impossible? With java it is a 3 liner.
There are quite a lot of ways to run scripting languages in C#. I've no idea what JSR223 is but .NET has DLR for example. There are also multiple libraries: IronPython, NLua, Jint and Jurassic for Javascript. There's also older version of CS-Script working with .NET Framework.
-
Is there any way to use Javascript to code in Unity anymore?
You can. Embeding lua is a trivial task, and I'm reasonably sure there even are plug-and-play solutions for that, and for JS there's JINT.
-
Running custom code from users
I personally use Jint (a multi-platform Javascript interpreter) since Roslyn is not available on mobile. It basically has the same kind of functionality as Roslyn, but it's JS. JS is well-known and accessible to everybody, but Roslyn might be faster since there's no double indirection when interpreting the script. It also depends on what language your users are comfortable with or could learn easily.
-
Classic BBS (code in comments)
Ah yeah, I looked into it more and decompiled the game to find that it appears they're using Jint to interpret the Javascript, and from testing with someone's REPL BBS server I can find that it's a pretty well isolated environment. Only ways around it I can think of are by exploiting some vulnerability in the sandbox to do external requests, modding the game itself to update the api, or running a parallel server to do some janky communication through the save state data.
-
.NET-compatible scripting languages for users to write their own scripts to query/manipulate objects/properties in the app
We used https://github.com/sebastienros/jint for scripting, it's ES5 JS implementation.
-
The experience of creating my own JavaScript runtime - #2
Jint is a JS interpreter with an integrated engine built in C#, like V8, he is responsible for all the base code execution as well as EcmaScript implementations such as default constructors, syntax, Promises... I studied its features in depth to start and it was a bit hard (in the beginning).
-
The experience of creating my own JavaScript runtime - #1
MelonRuntime is based on Jint, a JavaScript interpreter created by Sébastien Ros, software developer in the ASP.NET team at Microsoft. Melon works from bindings and functionalities injected into this interpreter together with external typing (provided by another package that comes with the default project generated by the command npx melon new) and built-in tools.
CefSharp
-
Head-up-Display Stream Deck Plugin
The Fullscreen Chromium (cefsharp) based Web-Browser ignores optionally user input like Mouse clicks, and is optionally always in the foreground (Force-Top-Most), so it can be used for any situation.
-
Why use AppDomains when we have processes?
Just as a background: I'm working on a façade for the CefSharp utility. This utility requires the programmer to initialize and terminate it in the same thread, once-per-process. My current implementation uses a lazy initialization algorithm requiring inter-thread communication. But the possibility of AppDomains arising or passing away complicates the algorithm by requiring threads to potentially signal one another across AppDomain boundaries. It would be easier to just let the threads communicate without worrying about which AppDomain they belonged to.
-
Is there a way to dynamically interpret a string as javascript within a C# winforms program?
I dont want to state the obvious but of course there is CefSharp .. But of course thats pretty heavy duty as you end shipping a headless version of Chrome in your app, but it can do anything a browser can do (of course it can, its Chrome), including exectuting a JavaScript string on the fly and getting a response. Because its Chrome you evenn have access the the dev tool and everything like that. But the other suggestions might be better suited as they might be more lightweight.
-
How do control a browser?
Two options: Either use an embedded browser you can control programmatically like CefSharp (https://cefsharp.github.io/) or spawn a real browser and use sendkeys() to control the browser by emulating user input.
-
Chrome extensions in .NET web view controls
Chrome Runtime discussion in CefSharp repository.
- Anyone know why when i go to task manager and look at lively wallpaper this virus is hiding there cefsharp.browsersubprocess?
-
[Connectwise] Hey Connectwise, why is duo telling me the Chromium Version in Automate is over a year out of date?
https://github.com/cefsharp/CefSharp/ if i spiked your intrigue
-
How to programmatically log onto a website
CefSharp
-
Is there something like Electron or Tauri for dotnet?
I always use https://cefsharp.github.io/
- Synapse always Errors on Downloading CefSharp
What are some alternatives?
Jurassic - A .NET library to parse and execute JavaScript code.
PuppeteerSharp - Headless Chrome .NET API
Jering.Javascript.NodeJS - Invoke Javascript in NodeJS, from C#
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
Edge.js - Run .NET and Node.js code in-process on Windows, MacOS, and Linux
CppSharp - Tools and libraries to glue C/C++ APIs to high-level languages
ReactJS.NET - .NET library for JSX compilation and server-side rendering of React components
PythonNet - Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers.
Enums.NET - Enums.NET is a high-performance type-safe .NET enum utility library
LegacyWrapper - LegacyWrapper uses a x86 wrapper to call legacy dlls from a 64 bit process (or vice versa).
Outcome.NET - Never write a result wrapper again! Outcome.NET is a simple, powerful helper for methods that return a value, but sometimes also need to return validation messages, warnings, or a success bit.
Sharpen - Sharpen is an Eclipse plugin created by db4o that allows you to convert your Java project into c#