4 ms·
Redbean – Single-file distributable web server (with embedded Lua and SQLite)
- sgammon 3y agoRedbean is awesome
- sgammon 3y agoBut then again, so is everything Justine builds.
- bomewish 3y agoSome examples of deployment in the wild would have helped?
- ihateolives 3y agoYep, for some reason my imagination is just not kicking in here. What can I do with embedded Lua in backend? I'm not familiar with Lua at all so I have no idea.
- sgammon 3y agoWell, couldn't the same question be asked about using Python or Ruby within a server? It's scriptable, easier and faster to iterate with. Dynamic. You can execute Lua scripts in Redis. LuaJIT and other implementations can be incredibly fast and pretty fun to code in.
- rlawson 3y agoYou can use the excellent fullmoon framework that takes care of a lot for you https://github.com/pkulchenko/fullmoon https://github.com/pkulchenko/fullmoon Then using lua is not much different than python/flask
- rlawson 3y agoWell except a lot faster at runtime
- ollybee 3y agoIn case it's not clear it's the same single file that runs on all supported operating systems. One file, run anywhere.
- imtringued 3y agoI can already imagine people telling you to install certbot and putting Apache in front of this...
- widdershins 3y agoI made the website for my wedding with Redbean, just for a bit of fun. It was a delightful experience. Deployment was just: upload one file, restart a process. I developed on my Mac, and deployed the executable, unchanged, to a Linux server. It just worked. Nice.
- handyj 3y agoLove this software. Can't say I understand how it works in depth but as something to tinker with it's amazing. So clever.
- JodieBenitez 3y agoNot to be confused with https://www.redbeanphp.com/ https://www.redbeanphp.com/