News for hackers. Stuff that matters.
Re:Redbean – Single-file distributable web server (with embe... by sgammon on Sunday October 29, 2023 @01:06AM (#38055929)
Redbean is awesome
Re:Redbean – Single-file distributable web server (with embe... by sgammon on Sunday October 29, 2023 @01:06AM (#38055932)
But then again, so is everything Justine builds.
Re:Redbean – Single-file distributable web server (with embe... by bomewish on Sunday October 29, 2023 @03:39AM (#38056539)
Some examples of deployment in the wild would have helped?
Re:Redbean – Single-file distributable web server (with embe... by ihateolives on Sunday October 29, 2023 @07:53AM (#38057659)
Yep, 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.
Re:Redbean – Single-file distributable web server (with embe... by sgammon on Sunday October 29, 2023 @06:57PM (#38063691)
Well, 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.
Re:Redbean – Single-file distributable web server (with embe... by rlawson on Sunday October 29, 2023 @07:05PM (#38063753)
You can use the excellent fullmoon framework that takes care of a lot for you

https://github.com/pkulchenko/fullmoon

Then using lua is not much different than python/flask

Re:Redbean – Single-file distributable web server (with embe... by rlawson on Sunday October 29, 2023 @07:12PM (#38063794)
Well except a lot faster at runtime
Re:Redbean – Single-file distributable web server (with embe... by ollybee on Sunday October 29, 2023 @04:26AM (#38056743)
In case it's not clear it's the same single file that runs on all supported operating systems. One file, run anywhere.
Re:Redbean – Single-file distributable web server (with embe... by imtringued on Sunday October 29, 2023 @06:12AM (#38057175)
I can already imagine people telling you to install certbot and putting Apache in front of this...
Re:Redbean – Single-file distributable web server (with embe... by widdershins on Sunday October 29, 2023 @07:47AM (#38057624)
I 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.
Re:Redbean – Single-file distributable web server (with embe... by handyj on Sunday October 29, 2023 @10:26AM (#38058931)
Love this software.

Can't say I understand how it works in depth but as something to tinker with it's amazing. So clever.

Re:Redbean – Single-file distributable web server (with embe... by JodieBenitez on Sunday October 29, 2023 @10:56AM (#38059175)
Not to be confused with https://www.redbeanphp.com/