A GUI typesetting display engine and cross platform GUI application development framework based on NodeJS/OpenGL
Goal: developing GUI applications on this basis can take into account both the simplicity and speed of developing WEB applications, as well as the performance and experience of Native applications.
Androidsystems are supported for the time being, this does not include
TVapplications are very different from mobile applications
Go API Indexcan go to
API Documents Index
This is a simple program to display Hello world on the screen
import GUIApplication Root from 'ngui'
You can get a more detailed
If you've never used Ngui before, you can start from here and build your Ngui program step by step.
First, you need to install the toolkit provided by
Terminaland execute the following command：
# shell$ sudo npm install -g ngui-tools
ngui-toolsrequires dependency on
And now do not support the
windowssystem, you need to use it under
Create new project
Create a new
Ngui project using the following
# shell$ mkdir myproject$ cd myproject$ ngui init
# shell$ ngui build
# shell#$ ngui#$ ngui
Ngui test http server
ngui-tools provides a test http server, each time you change the
jsx code, you don't have to reinstall every time.
Execute the following code to start it：
# shell$ ngui