sizeoftheuniverse ( @sizeoftheuniverse@programming.dev ) Programming@programming.devEnglish • 1 year ago
You must log in or register to comment.
- bobbias ( @bobbias@lemmy.dbzer0.com ) English2•1 year ago
Well that’s certainly an idea.
- computertoucher5000 ( @computertoucher5000@programming.dev ) English2•1 year ago
Iirc Tiddlywiki works similarly in that you can run an entire “wiki” in a single html file.
- kool_newt ( @kool_newt@beehaw.org ) English1•1 year ago
You could do this easily with Crystal and Kemal.
- Lmaydev ( @Lmaydev@programming.dev ) English1•1 year ago
You could do this with c# and a self contained publish. Likely many other languages as well.
- TehPers ( @TehPers@beehaw.org ) English1•1 year ago
Yep, with Rust for example any content can just be
include_str!
/include_bytes!
'd into the binary, letting you create your content in their native formats (HTML/CSS/JS/etc). It’s pretty trivial to do, although definitely not a recommended way of making a website. In C# I believe you can use resources to accomplish something similar.