neutralinojs

Portable and lightweight cross-platform desktop application development framework

OTHER License

Stars
7.2K
Committers
75

Bot releases are visible (Hide)

neutralinojs - Neutralinojs v2.2.0 released!

Published by shalithasuranga over 3 years ago

Milestone v2.2.0 was closed with 3 issues.

What's new

  • Added new command-line arguments: --path=<path> and --mode=<mode>
  • Refactored multiple platform-specific codebases into one codebase.

Get started: https://neutralino.js.org/docs

Download Neutralinojs

neutralinojs - Neutralinojs v2.1.1 released!

Published by shalithasuranga over 3 years ago

A patch version to replace c++ filesystem API with platform-specific code.

What's new?

  • Removed experimental C++ file system module usage (Replaced with platform-specific implementation).

Get started: https://neutralino.js.org/docs

Download Neutralinojs

neutralinojs - Neutralinojs v2.1.0 released!

Published by shalithasuranga over 3 years ago

The v2.1.0 milestone was closed with 1 issue.

What's new?

  • Improve performance of the HTTP server (Replaced legacy code with a fast HTTP library).
  • Code refactoring and minor improvements.
  • Licensing was changed from GPL v3 to MIT (We no longer use GPL v3 licensed dependencies).

Get started: https://neutralino.js.org/docs

Download Neutralinojs

neutralinojs - Neutralinojs v2.0.0 released!

Published by shalithasuranga over 3 years ago

Implementation of v2 spec on Linux, Windows, and macOS.

What's new?

  • macOS support
  • Asynchronous JavaScript API
  • Config file improvements
  • Static file server
  • EdgeHTML/EdgeChromium renderers on Windows.

Get started: https://neutralino.js.org/docs

neutralinojs - Neutralinojs v1.9.0 released!

Published by shalithasuranga over 3 years ago

Milestone v1.9.0 was closed with 8 issues.

What's new

Highlights

  • Native message boxes API was added.
  • Resolved path issues. Now users can launch Neutralinojs apps from any working directory.
  • Improvements are done in the source code. Refactored the codebase by moving platform-independent code to a directory.
  • Bug fixes.

Native message boxes API

Now developers can have native message boxes in their Neutralinojs applications via the Neutralino.os.showMessageBox(Object options) method. The options object should contain the following properties.

  • string title: Title of the message box.
  • string content: Message box's content.
  • string type: Type of the message box. Accepted values are INFO, WARN, ERROR, and QUESTION.

Neutralinojs server will include the boolean yesClicked property into the response only for the question-type message boxes.

Example:

const options = {title: "Hello", content: "This is an example", type: "INFO"};
Neutralino.os.showMessageBox(options, function() { }, function() { });

Please notice that the macOS version of Neutralino is not having the most features. We will try to bring it to the same level soon.

Download Neutralinojs

neutralinojs - Neutralinojs v1.8.0 released!

Published by shalithasuranga over 3 years ago

Milestone v1.8.0 was closed with 5 issues.

What's new

Highlights

  • Resources loading from res.neu archive.
  • --load-dir-res pre-defined command line argument
  • Bugfixes and improvements were done to the Windows and Linux versions.

res.neu

When you release your application with the neu release command, all application resources will be bundled into the res. neu file. Therefore, now your final application bundle has platform-specific binaries and one resource file. If you need to load resources from the app directory, you can provide the --load-dir-res command-line argument.

Please notice that the macOS version of Neutralino is not having the most features. We will try to bring it to the same level soon.

neutralinojs - Neutralinojs v1.7.0 released!

Published by shalithasuranga almost 4 years ago

Milestone v1.7.0 was closed with 7 issues.

What's new

Highlights

  • Command-line arguments support.
  • Open a directory using the file-open dialog.
  • Adding support for the neu listen command.
  • Maximize-window option on the Windows platform.
  • Bugfixes and improvements were done to the Windows and Linux versions of Neutralinojs.

Command-line arguments

Now you can access an array of command-line arguments of the binary via NL_ARGS. --debug-mode is an in-built option for every Neutralinojs application. For now, it enables live reloading for developers.

Directory selection dialog

Now Neutralino.os.dialogOpen(options) will accept an object as the parameter. See the following example.

Neutralino.os.dialogOpen({title: "My dialog", isDirectoryMode:true});

Live-reload

The neu listen command will enable the live reload feature for developers. When the application is launched via either neu listen command or --debug-mode option, a modification on the app directory will automatically reload your application. Make sure your port 8080 is free before trying this feature.

Please notice that the macOS version of Neutralino is not having the most features. We will try to bring it to the same level soon.

Download Neutralinojs

neutralinojs - Neutralinojs v1.6.0 released!

Published by shalithasuranga almost 4 years ago

Milestone v1.6.0 was closed with 5 issues.

What's new

Highlights

  • Native notifications
  • Support asset paths with spaces and other special characters.
  • Made window.iconfile property as an optional property.
  • Maximize option for the main window on Linux.

Native notifications

Each operating system has an option to display notifications. Neutralino.os.showNotification(properties, s, e) will show a notification on the current operating system.

parameters

properties accepts a JSON object with the options for displaying a notification.

{
  "summary": "Title of the message",
  "body": "Content of the message"
}

s and e are usual callbacks for a generic Neutralinojs API function.

Maximize option for the window mode

window.maximize: <boolean> in settings.json

If this option has true, the main window will be maximized at the startup of the application. Otherwise, it will use the given height and width. The default value is false.

Example:

{
    "appname": "myapp",
    "appport": "5006",
    "mode": "window",
    "url": "/",
    "window": {
        "title": "My app",
        "width": "1000",
        "height": "700",
        "maximize": true
    }
}

Please notice that the macOS version of Neutralino is not having the most features. We will try to bring it to the same level soon.

Download Neutralinojs

neutralinojs - Neutralinojs v1.5.0 released!

Published by shalithasuranga over 4 years ago

Milestone v1.5.0 was closed with 10 issues.

What's new

  • window.iconfile feature was added to macOs
  • Improvements done to Neutralino.filesystem.readFile for handling non-existent files.
  • Router module's MIME type handling code was refactored and .mp3 file support was added to all platforms.
  • Binary file serving issue was fixed on Windows
  • Custom URL navigation feature is introduced.

Custom URL nagivation

url: <path> in settings.json

url setting value can be either / or a custom URL. This will be the entry point of Neutralino application. If / is provided, index.html will be served otherwise custom URL content will be served. Default value is /.

Example:

{
    "appname": "myapp",
    "appport": "5006",
    "mode": "window",
    "url": "/",
    "window": {
        "title": "My app",
        "width": "1000",
        "height": "700",
        "iconfile": "neutralino.png"
    }
}

Download Neutralinojs

neutralinojs - Neutralinojs v1.4.0 released!

Published by shalithasuranga over 4 years ago

Milestone v1.4.0 was closed with 11 issues.

What's new

  • window.title option added. Older setting was used as a shared identifier for url path and title whereas now appname is kind of app id (won't support spaces). Thus, window.title refers to the Native window title which supports spaces etc.

  • More native window properties/configuration added.

window.alwaysontop [bool] on all platforms

If true window will appear always on top.

window.borderless [bool] on all platforms

If true title bar will be hidden and allows developer to make their own title bar using CSS.

window.iconfile [string] on Windows and Linux

Sets an image/icon for Native window and it will appear on the task bar of the operating system. Transparent .png is recommended.

  • NL_CWD global variable was added to all platforms. it has the current working directory.

  • Binary file support was added to all platforms. Eg: .png like images will be served by the Neutralino file server.

  • Quick build script was added to the macos as well. (bash build.sh macos to build and copy all the things to dist)

Example settings.json structure for this version

{
    "appname" : "myapp",
    "appport" : "5006",
    "mode" : "window",
    "window" : {
        "title": "My app",
        "width" : "1000",
        "height" : "700",
        "fullscreen" : false,
        "alwaysontop": true,
        "borderless": false,
        "iconfile": "neutralino.png"
    }
}

Download Neutralinojs

neutralinojs - Neutralinojs v1.3.0 released!

Published by shalithasuranga almost 5 years ago

  • Fixed build errors on Windows (filesystem headers related)
  • Neutralino.debug.log() for all platforms
  • Developer guide for Neutralino-mac was added to the README
  • Neutralino.app.exit() for all platforms
  • Typescript starter app
  • Full screen mode for all platforms

Eg:-

{
    "appname" : "myapp",
    "appport" : "5006",
    "mode" : "window",
    "window" : {
        "width" : "1000",
        "height" : "700",
        "fullscreen" : true
    }
}

Milestone v1.3.0

Download Neutralinojs

neutralinojs - neutralinojs-v1.2.0 released!

Published by shalithasuranga about 5 years ago

  • Mac OS support
  • Neutralino.debug.log for Linux version (written to neutralinojs.log text file)
  • Neutralino developer logging from c++ code

Download Neutralinojs

neutralinojs - neutralinojs-v1.1.0 released!

Published by shalithasuranga over 5 years ago

What's new

  • File picker support #133 Neutralino.os.dialogOpen and Neutralino.os.dialogSave were added
  • Directory read feature added #124 via Neutralino.filesystem.readDirectory module
  • Binding to random port option #123
  • Multiple html layouts support #135

See Milestone #2

Download Neutralinojs

neutralinojs - neutralinojs-v1.0.8 released!

Published by shalithasuranga almost 6 years ago

This is a stable release of Neutralinojs

What's new

  • Default app was updated
  • NL_VERSION global variable added
  • Neutralino mode changes
    • window - Runs on a native window
    • browser - Debug using a web browser
    • cloud - Runs as a server in background
  • Automatic ping feature(self shutdown) with browser mode
  • Neutralino was compared with Electron and NW.js
  • window mode was selected as default
  • neutralino.exe was updated with an icon and publisher details (can be modified using a resource editing tool)

Bug fixes

  • There are several bug fixes and improvements
neutralinojs - Neutralinojs v1.0.7-alpha released!

Published by shalithasuranga about 6 years ago

Announcing Window mode - See wiki

  • desktop-window mode will render njs app in a native window.
{
    "appname" : "myapp",
    "appport" : "8080",
    "mode" : "desktop-window",
    "desktopwindow" : {
        "width" : "1000",
        "height" : "700"
    }
}
  • Single release for all three modes desktop, desktop-window and cloud
neutralinojs - Neutralinojs v1.0.6-alpha released!

Published by shalithasuranga about 6 years ago

What's new

  • Angularjs template for Neutralinojs
  • Reactjs template for Neutralinojs
  • Vuejs template for Neutralinojs
  • NL_MODE global constant - see docs
  • Custom global constants can be defined from settings.json - see docs
{ 
   "globals": {
      "AP" : "Njs",
      "FOO" : "Bar"
   }
}
  • See sample for Neutralino cloud here

Fixes #22 #46 #51 #61 #76 #77 #78

Thanks @99xt for openhack

neutralinojs - Neutralinojs v1.0.5 released!

Published by shalithasuranga about 6 years ago

  • Windows child process (Silent commands mode)
  • Bugfixes #40 #32 #26 #25
neutralinojs - Neutralinojs v1.0.4-alpha released!

Published by shalithasuranga about 6 years ago

What's new

Cloud preview version

  • cloud and desktop modes

Desktop mode

{
    "appname" : "myapp",
    "appport" : "8080",
    "mode" : "desktop"
}

Cloud mode

{
    "appname" : "myapp",
    "appport" : "8080",
    "mode" : "cloud",
    "cloud" : {
        "blacklist" : ["os.runCommand"]
    } 
}
  • Blacklist functions using settings.json
neutralinojs - Neutralinojs v1.0.3-alpha released!

Published by shalithasuranga about 6 years ago

What's new

  • Json based storage

  • Store

Neutralino.storage.putData({bucket : 'test', content : { item : 10 } },
() => {
    console.log('saved to storage/test.json');
},
() => {
    console.log('error');
}
);
  • Retrieve
Neutralino.storage.getData('test',
(content) => {
    console.log(content);
},
() => {
    console.log('error');
}
);
  • Error callback for server calls #21
neutralinojs - Neutralinojs v1.0.2-beta released!

Published by shalithasuranga over 6 years ago

What's new

  • Bug fixes #10 #12
Package Rankings
Top 6.69% on Proxy.golang.org
Badges
Extracted from project README
GitHub release (latest by date) GitHub last commit FOSSA Status Become a Patreon FOSSA Status