Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Masonite | 1,997 | 47 | 28 | 6 months ago | 309 | June 26, 2022 | 40 | mit | Python | |
The Modern And Developer Centric Python Web Framework. Be sure to read the documentation and join the Discord channel for questions: https://discord.gg/TwKeFahmPZ | ||||||||||
Bottle Ssl | 55 | 22 days ago | mit | Python | ||||||
A simple web page using BottlePy and SSL | ||||||||||
Moonmint | 30 | 4 years ago | other | Lua | ||||||
A Web Framework for Lua | ||||||||||
Ltrainnotwork | 14 | 12 years ago | JavaScript | |||||||
Mobile web framework for serving content on the New York L Train |
moonmint is an HTTP web framework for Lua. Use complex routing, static file serving, and templating with a minimal code base. Harness the power of libuv to perform asynchronous operations.
Check out the wiki for more information.
In order to install moonmint, the following dependencies are needed.
Also, make sure that the Lua dev packages are installed on linux. On OSX using brew openssl, you may need to provide the openssl directory to luarocks to install bkopenssl.
Use luarocks to install
luarocks install --server=http://luarocks.org/dev moonmint
See the wiki for more information.
moonmint is really simple - probably the simplest way to get a running webserver in Lua out there! Install with luarocks, write your server script, and run it! The following example servers serve "Hello, World!" on the default port 8080.
local moonmint = require 'moonmint'
local app = moonmint()
app:get("/", 'Hello, World!')
app:start()
This can be even shorter if you use chaining.
require('moonmint')()
:get('/', 'Hello, World!')
:start()
A lot of code was modified from the Luvit project and from Tim Caswell, the main author. moonmint depends on the luv library, a Lua binding to libuv.
Another important dependency is lua-openssl, which is a very useful openssl binding for Lua created and maintained by George Zhao. Many thanks.
MIT