redbean – single-file distributable web server

submited by
Style Pass
2021-07-18 15:30:05

redbean makes it possible to share web applications that run offline as a single-file αcτµαlly pδrταblε εxεcµταblε zip archive which contains your assets. All you need to do is download the redbean.com program below, change the filename to .zip, add your content in a zip editing tool, and then change the extension back to .com.

redbean can serve 1 million+ gzip encoded responses per second on a cheap personal computer. That performance is thanks to zip and gzip using the same compression format, which enables kernelspace copies. Another reason redbean goes fast is that it's a tiny static binary, which makes fork memory paging nearly free.

redbean is also easy to modify to suit your own needs. The program itself is written as a single .c file. It embeds the Lua programming language and SQLite which let you write dynamic pages.

redbean-1.4.com.dbg 11mb - ELF debugger data (optional) 1bc1798beff71be9b099a2a92f2d74b058cfe8936376ac1a78a09380d0dca000

Leave a Comment