Skip to content
/ nodelj Public

Webkit framework that allows development of standalone applications using Lua via Luajit.

License

Notifications You must be signed in to change notification settings

kakutai/nodelj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodelj

Nodelj is intended to be a luajit version of Nodejs.

Development supported by Kakutai Pty Ltd: https://www.kakutai.com

Notes:

The above is an aspiration, and not the current status of the project.

A server installation of Linux may have no gtk installed. For nodelj to work on linux, please install gtk. Desktops appear to be fine.

The current implementation is a base framework with some simple examples.

Current features:

  • Webkit ffi library (currently Linux build - Win and OSX to be added).
  • Interface to files for the Webkit engine.
  • JavaScript interface for calling into Luajit.
  • Luajit eval for accessing variables in JavaScript.
  • Twig compatible templating (local and remote) using the Aspect framework.

Standalone Luajit implementation which means:

  • Access to a huge number of ffi libraries
  • Use of standard Lua libraries
  • Easy to add your own interfaces with ffi

Usage

Linux

Running a sample:

  1. Set the project you wish to execute in the project/main.lua file.
  2. Open terminal and cd to the root folder of the git project.
  3. Run the following: ./bin/linux/luajit project/main.lua

Various forms of execution are available:

  • Local or combined Webkit pages using the "custom://" scheme. Then scheme identifier can be modified as needed.
  • Remote links or a web browser styled application. Use the google config to see this in action.
  • Twig based templates combining the above. Make sure the twig template ends in the .twig extension. This can be modified if needed.

Misc

The framework is being used in the creation of 3D tools for the web. Some example screenshots are shown below.

Scenarist Tool - Kakutai Pty Ltd Image

Sample use as a browser Image

Materialism running in nodelj - https://github.com/Keavon/Materialism Image

Full Window WebGL Shader test Image

This work is based on the brilliant libraries and tools of:

Similar projects:

License

The license is MIT. Please feel free to use personally or commercially. Refer to the license file for details.

About

Webkit framework that allows development of standalone applications using Lua via Luajit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published