3 ms·
The technology stack of the site is pretty interesting. I wrote a little about it here: http://leafo.net/posts/introducing_itchio.html#technology http://leafo.
by leafo 14y ago
The technology stack of the site is pretty interesting. I wrote a little about it here:
http://leafo.net/posts/introducing_itchio.html#technology http://leafo.net/posts/introducing_itchio.html#technology
Essentially the web app runs directly inside of nginx (but a special build of nginx from the project OpenResty[0]). The entire site is coded in MoonScript[1], which is my language that compiles to Lua.
I developed a web framework called Lapis while making this site, it doesn't have documentation yet but you can find the source here: https://github.com/leafo/lapis https://github.com/leafo/lapis
I you want to see another sample Lapis webapp you can check out my MoonRocks project. The source is here: https://github.com/leafo/moonrocks-site https://github.com/leafo/moonrocks-site
[0]: http://openresty.org/ http://openresty.org/
[1]: http://moonscript.org http://moonscript.org
- goldfeld 14y agoCongratulations on launching leafo, this is a great endeavor. And thanks for moonscript, I have some plans for it myself. The striking similarity to CoffeeScript allows for easy translation, which enables some nifty things if you think about it (in the same way Clojure leverages the Java ecosystem, I would say.)