[go: nahoru, domu]

Skip to content

Lightweight, asynchronous server library for Lua and LuaJIT

License

Notifications You must be signed in to change notification settings

davidhollander/ox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ox is a lightweight, asynchronous, callback-based server library for developing fast servers, web applications, or data services using LuaJIT.

Status

The Ox1 branch is a functional event based server and client for both Lua and LuaJIT. Requires nixio, json4lua, luazlib, luahttp-parser. The current branch reduced dependencies to nixio, but body parsing remained incomplete. Other branches moved the server to the LuaJIT FFI and eliminated intermediate dependencies. A new LuaJIT only repository or master branch should be released on November 3rd, with an altered API and body parsing. Event sources should include tcp, udp, unix datagrams, inotify.

Install

  • luarocks install nixio
  • make install

Getting started

luajit examples/helloworld.lua
http://localhost:8080/

About

Lightweight, asynchronous server library for Lua and LuaJIT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages