Skip to main content

I have multiple working pages and CSS for my statically linked website working

Soon my terrible idea will bear fruit
Just gotta deal with
1) putting some HTML in a rust binary will probably end up with a 2TB file
2) figure out how to easily serialize an image into a rust binary
I was just making fun of Rust's binary file sizes
Yeah, basically a makefile that runs markdown on the file, makes HTML, then objcopies the html and images into a rust file, and then populates the valid pages header with the list.
so firstly - right now it's just me doing:
pub static {
 index: &str = "<html>...

The next step is all the objcopy shit - mostly because I don't have a sense of how to do what I want to do in rust yet, since I've probably written a total of like... 2 hours of rust.

And right now the code just sits on my laptop, sorry. I'll probably open it once it's in a reasonably acceptable place.