11 个仓库
Integration of JavaScript runtimes into native applications to provide programmable logic with a small memory footprint.
Distinct from JavaScript Scripting Environments: None of the candidates cover the general domain of embedding JS for application scripting in C/C++ without targeting specific platforms like Android.
Explore 11 awesome GitHub repositories matching programming languages & runtimes · Embedded JavaScript Scripting. Refine with filters or upvote what's useful.
Duktape 是一个可嵌入的 JavaScript 引擎和便携式脚本运行时,专为集成到 C 和 C++ 应用程序中而设计。它作为一个轻量级的 ECMAScript 运行时,提供了一个 C-JavaScript 桥接器,用于在原生代码和脚本执行环境之间交换数据和调用函数。 该引擎包含一个 ECMAScript 字节码编译器,允许将编译后的函数序列化并缓存到磁盘,以减少应用程序启动时间。它使用符合 CommonJS 标准的模块加载器来组织脚本依赖项。 该运行时涵盖了多种功能,包括用于异步执行的协作式协程调度,以及结合了引用计数与标记清除收集的混合垃圾回收系统。它还通过 JSON 代理提供调试协议,并支持针对受限硬件的自定义调试传输。 构建配置通过 YAML 驱动的设置进行管理,以生成特定于平台的 C 头文件。
Adds JavaScript logic to C or C++ applications to enable flexible scripting and automation.
Bruce 是专为 ESP32 硬件设计的进攻性安全固件,用于网络攻击、无线电分析和基于硬件的身份欺骗。它提供了一个专门的工具包,用于执行红队操作,包括 WiFi 渗透测试工具、多协议无线电工具包,以及用于模拟 USB 键盘和鼠标以注入载荷的系统。 该固件的独特之处在于其广泛的信号操纵能力,允许克隆和写入 RFID 标签,并向蓝牙设备发送破坏性的配对请求。它还包括一个多协议无线电系统,能够分析、干扰和传输跨 Sub-GHz、FM 和红外频率的信号。 该项目涵盖了广泛的安全测试功能,包括用于取消认证和信标垃圾邮件的无线网络攻击套件,以及用于流量拦截的强制门户部署。它进一步集成了用于自动按键和鼠标输入的 USB HID 模拟、GPS 位置跟踪,以及用于设备管理的基于 Web 的远程管理界面。 该系统包括一个用于执行自定义自动化脚本的嵌入式 JavaScript 解释器,并利用对闪存友好的文件系统来管理内部闪存和外部 SD 卡上的文件和脚本。
Includes an embedded JavaScript runtime for executing custom programmable logic and automation tasks.
linuxpdf 是一个虚拟机和系统模拟器,可以在便携式文档格式 (PDF) 文件中引导并执行完整的 Linux 内核和根文件系统。它利用 PDF 嵌入的 JavaScript 运行时来提供一个自包含、可移植的计算环境。 该项目使用 asm.js 实现了一个 RISC-V 处理器模拟器,从而在文档查看器内实现硬件无关的执行。它通过更新 ASCII 字符的文本字段网格来模拟可视化屏幕,并通过文档输入元素捕获用户按键,将其转换为虚拟机中断。 该系统涵盖了完整的虚拟化范围,包括 RISC-V 指令虚拟化、虚拟显示渲染和键盘输入捕获。Linux 内核和文件系统作为静态二进制数据数组直接嵌入在文档结构中。
Leverages the PDF document's internal JavaScript runtime to drive the virtual machine's logic.
Jint is a JavaScript interpreter for the .NET ecosystem that executes code without requiring a browser or Node.js environment. It is an ECMAScript compliant engine that provides a sandboxed scripting runtime with configurable limits on memory and time to run untrusted code. The engine features a native object bridge that exposes .NET classes and methods to JavaScript scripts for bidirectional data exchange. To reduce overhead during repeated executions, it utilizes a precompiled script cache to store parsed JavaScript in memory. The project covers asynchronous script execution and promise ha
Integrates a JavaScript engine into .NET applications to provide programmable custom logic.
Phoenix 是一个 macOS 工作区自动化工具和窗口管理器,使用 JavaScript 脚本引擎来控制系统级行为。它作为一个 AppleScript 自动化桥梁,允许用户以编程方式操作应用程序状态、窗口几何形状和桌面交互。 该项目支持通过将键盘快捷键绑定到 JavaScript 函数来创建自定义工作流。这允许自动化复杂的系统操作,例如跨多个屏幕组织应用程序布局和管理虚拟空间。 其功能范围涵盖窗口和应用程序管理、异步 Shell 命令执行和系统级自动化。它还包括用于管理 2D 屏幕坐标、调度循环任务以及通过系统通知和模态窗口与用户交互的实用程序。 该应用支持后台运行的守护进程模式,并监控文件系统以在无需重启的情况下重新加载配置文件。
Provides a JavaScript scripting engine to control system-level window and application behaviors.
PaperWM 是一个作为 GNOME Shell 扩展实现的平铺窗口管理器和多显示器工作空间管理器。它将应用窗口组织成非重叠、可滚动的水平平铺布局,允许用户管理比单个屏幕所能容纳更多的应用。 该系统的特点是其可滚动视口平铺,允许通过键盘快捷键和触摸板手势浏览一系列窗口。它还具有多显示器工作空间组织模型,为每个物理显示器分配独立的平铺实例,同时将它们同步到全局工作空间栈。 该项目为使用正则表达式分配布局属性和层提供了广泛的窗口自动化功能。它包括用于工具窗口的专用浮动暂存层、用于同时移动窗口的批处理操作,以及用于自定义布局脚本和 CSS 界面样式的内部 API。
Provides an internal API allowing users to define custom window handlers and shortcuts via external scripts.
这是一个 Java 运行时诊断工具和字节码插桩框架。它提供了一个远程故障排查界面,用于检查运行中的 Java 系统、分析执行轨迹并监控方法性能,而无需重启应用程序。 该系统的特色在于其能够在运行时修改 Java 类以捕获参数和返回值,并结合了基于 JavaScript 的脚本引擎来实现自定义诊断逻辑。它还支持协作式实时调试,允许多个用户同时连接到同一个远程进程以共享诊断会话。 该工具的更广泛功能包括方法级性能指标、执行历史记录和实时状态分析。它提供了用于调用栈捕获、运行时环境检查以及条件方法拦截的实用程序,以便在运行环境中评估动态表达式。
Integrates a JavaScript runtime into the Java application to provide programmable diagnostic logic and dynamic expressions.
Warzone 2100 is an open-source real-time strategy game engine focused on tactical combat and base building. It operates as a real-time strategy game engine utilizing a data-driven asset pipeline and providing cross-platform support. The project features a modular unit design system that uses a technology tree to construct combat entities by combining chassis, propulsion, and weapon components. It includes a lockstep multiplayer network engine to synchronize game state across distributed clients for competitive matches, as well as a JavaScript game scripting framework for implementing custom l
Embeds a JavaScript runtime to allow modification of game rules and AI behaviors without recompiling source code.
Just is a JavaScript runtime environment designed for system-level programming and high-performance execution. It provides a direct interface to kernel functions and hardware resources, allowing developers to interact with operating system features that are typically inaccessible through standard high-level programming environments. The runtime distinguishes itself by offering a streamlined execution model that minimizes startup latency and provides the ability to compile scripts into standalone, dependency-free binaries. By leveraging the V8 engine and a specialized module loading system, it
Acts as a system-level scripting engine with direct access to kernel functions and hardware.
Unreal.js is a JavaScript runtime and scripting layer for Unreal Engine that embeds the V8 engine to implement game logic and manage application state. It provides a bridge for writing high-level application behavior and actor control without modifying the core engine source code, as well as a framework for extending the Unreal Engine editor with custom interface elements. The project distinguishes itself through a V8-based integration that supports real-time code reloading and live iteration, allowing scripts to be updated without restarting the application. It includes a bidirectional commu
Integrates a JavaScript runtime into a native C++ application to provide programmable game logic.
Gosub-engine is an HTML5 browser engine and web rendering pipeline that parses HTML5 and CSS3 to compute layout and render web content to pixels. It functions as a JavaScript runtime environment with a virtual machine and event loop for handling dynamic logic and asynchronous tasks. The system also includes a web storage manager for persisting cookies, local storage, and session storage. The project features a headless browser renderer capable of generating page images or extracting plain text without a visible window. It supports cross-platform graphics rendering through pluggable CPU and GP
Embeds a JavaScript runtime with an event loop and native API bindings to handle dynamic web logic.