Alternatives To Moonmint
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Masonite1,99747286 months ago309June 26, 202240mitPython
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 Ssl55
22 days agomitPython
A simple web page using BottlePy and SSL
Moonmint30
4 years agootherLua
A Web Framework for Lua
Ltrainnotwork14
12 years agoJavaScript
Mobile web framework for serving content on the New York L Train
Alternatives To Moonmint
Select To Compare


Alternative Project Comparisons
Readme

moonmint

Travis

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.

Features

  • Simple and flexible express-like routing
  • Middleware
  • Static file server
  • Nonblocking operations with coroutines and libuv
  • Supports Lua 5.2, 5.3, LuaJIT 2.0, LuaJIT 2.1
  • Powerful asynchronous agent for making HTTP requests
  • Templating engine

Quick Install

In order to install moonmint, the following dependencies are needed.

  • Luarocks (the package manager)
  • OpenSSL (for the bkopenssl dependecy)
  • CMake (for the luv libuv binding)

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.

Example

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()

Credits

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.

License

MIT

Popular Web Application Framework Projects
Popular Openssl Projects
Popular Frameworks Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Lua
Openssl
Web Application Framework
Libuv