Matt Mc
Matt Mc
@terminar it's probably pretty easy to set up a PR if you want. Basically [copy this function](https://github.com/xyproto/algernon/blob/e02814e9bdab23f5c19e78cad0341bf8079c8c92/engine/basic.go#L192) and pull out `req.RemoteAddr` or whatnot.
Seems like https://github.com/xyproto/algernon/issues/95 is a better handling for this? (No pun intended.)
> How about added the libs? Not a bad idea actually. But I wouldn't want all those things, maybe: - base64 - crypto - filepath - humanize? - inspect -...
> This might be controversial, but I even think that exposing a graphics library like https://github.com/fogleman/fauxgl, for being able to render 3D graphics to a buffer, would be cool. Interesting,...
My concept here is to make `require()` act somewhat like the Node module resolution algorithm, in my limited understanding of it, in that it can check in the active script...
Alright, I can get most of the way there using this: ```lua -- loadscriptdir.lua local r = require local pp = package.path require = function(m) package.path = scriptdir() .. "/?.lua;"...
Well, esbuild is for JS, whereas this is related to Lua modules. My little script (to import other Lua files relative to the active script dir rather than Algernon's base...
Stepping back: 1. Lua's system of code modularization is *modules* via the `require()` function. 2. Things in the Lua ecosystem operate off of the `require()` convention. 3. Teal is an...
> Maybe the init of Algernon is too complex without a lua script? > What about added a init.lua for the init of Algernon? You [already proposed init.lua](https://github.com/xyproto/algernon/issues/103) and that...
@xyproto in this vein, one thing I discovered while adding Teal support is that it seems like new Lua states are spun up without having `serverconf.lua` run on them. I.e.,...