Skip to content

Portable and lightweight cross-platform desktop application development framework

License

Notifications You must be signed in to change notification settings

fchen99/neutralinojs

 
 

Repository files navigation

GitHub (pre-)release GitHub last commit FOSSA Status Twitter OpenCollective Support us

Neutralinojs is a lightweight and portable desktop application development framework. It lets you develop lightweight cross-platform desktop applications using JavaScript, HTML and CSS. Apps built with Neutralinojs can run on Linux, macOS, Windows, and Web.

Neutralinojs vs Electron vs NW.js

Get started with the neu CLI.

 $ npm i -g @neutralinojs/neu
 $ neu create hello-world
 $ cd hello-world
 $ neu run

This documentation is for contributors. If you would like to learn Neutralinojs application development, please check this documentation.

Why Neutralinojs?

In Electron and NWjs, you have to install NodeJs and hundreds of dependency libraries. Embedded Chromium and Node make simple apps bloaty. Neutralinojs offers a lightweight and portable SDK which is an alternative for Electron and NW.js also with many advantages.

Ask questions on StackOverflow using tag neutralinojs

Contribution

  • Select existing issues or create a new issue. Send us a pull request with your code changes. We are happy to review it ❤️
  • Refer to this guide for contribution guidelines.

Collaboration and communication

Framework Developer Guide

Setup and compilation

Linux

No need for separate compilers because Linux distributions usually have GNU C/C++ compilers installed already.

Install GTk and webkit libraries

If you are using a newer version of Ubuntu, there is no need to run the following commands.

$ sudo apt-get install libgtk-3-dev
$ sudo add-apt-repository ppa:webkit-team/ppa
$ sudo apt-get update
$ sudo apt-get install libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev

Compiling Neutralino server on Linux

$ bash build_linux.sh

Windows

Install the latest Visual Studio IDE. Neutralinojs compilation on Windows will use MSVC (aka cl.exe) C++ compiler.

Compiling Neutralino server on Windows

$ ./build_windows.bat

macOS

Install Xcode Command Line Tools.

Compiling Neutralino server on MacOS

$ bash build_macos.sh

Sponsors and Donators

Organizations and individuals support Neutralinojs. See: https://codezri.org/sponsors

If you like to support our work, you can donate to Neutralinojs via Patreon.

Become a Patreon

Licenses and Copyrights

  • Neutralinojs core: MIT. Copyright (c) 2021 Neutralinojs and contributors.
  • HTTP server library: MIT from yhirose/cpp-httplib. Copyright (c) 2017 Yuji Hirose.
  • JSON parser library: MIT from nlohmann/json. Copyright (c) 2013-2021 Niels Lohmann.
  • Cross-platform webview library: MIT from webview/webview. Copyright (c) 2017 Serge Zaitsev.
  • Cross-platform tray library: MIT from zserge/tray. Copyright (c) 2017 Serge Zaitsev.
  • Cross-platform message box library: MIT from aaronmjacobs/Boxer. Copyright (c) 2014 Aaron Jacobs.

Please check all licenses from this link.

FOSSA Status

Contributors

The above image was generated with contributors-img.

About

Portable and lightweight cross-platform desktop application development framework

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.0%
  • C 0.5%
  • Objective-C++ 0.2%
  • Shell 0.2%
  • Batchfile 0.1%
  • HTML 0.0%