You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Cheng Zhao de30507c85 0.4.2 3 years ago
deps Update to Node 10.14.2 3 years ago
node@a3a9e31c32 win: Disable LTCG and incremental linking 3 years ago
src 0.4.2 3 years ago
.gitignore Make it build on mac 4 years ago
.gitmodules Make it build on mac 4 years ago
LICENSE Add Node submodule 4 years ago Mention yackage 4 years ago
azure-pipelines-template.yml Set releaseNotesSource field in job 3 years ago
azure-pipelines.yml Use ia32 instead of x86 3 years ago
build.js linux: Strip binary 3 years ago
common.gypi win: Disable LTCG and incremental linking 3 years ago
test.js Update mocha dep 4 years ago
yode.gyp Fix building on Linux 3 years ago


Yode is a fork of Node.js that replaces its event loop with GUI message loop, it is designed to be used together with the Yue library.

Changes to Node.js

  • The event loop is replaced with native GUI message loops:
    • On Linux it is GTK+ event loop;
    • On macOS it is Cocoa run loop;
    • On Windows it is Win32 message loop.
  • When the executable is appended with ASAR archive, Yode will try to start with with app inside the archive.
  • The process will not automatically quit when there is no work, you have to call the native APIs to quit the GUI message loop.
  • The process will quit when BOTH the GUI message loop and Node.js event loop have quit. So if there are still Node.js requests pending, the process will wait until all of them have finished.
  • There is a new process.versions.yode property added.
  • The process.stdin is not supposed to work.
  • On Windows the executable uses WINDOWS subsystem instead of CONSOLE subsystem, so unlike Node.js there is no console attached and REPL won't work.


The prebuilt binaries can be found in the Releases page, modules installed by npm can be used directly in Yode.

To package your Node.js project with Yode, you should use yackage.

Note that it is strong recommended to install the official Node.js with the same version of Yode, otherwise native modules installed by npm may not work correctly in Yode.


$ node ./build.js [x64|ia32]


The MIT license.