Need to inline images or sound clips in a .html file? I vibe-coded a #Ruby script that Base64-encodes multiple files in JSON. https://gist.github.com/jaymcgavren/c8f5824bf1dc90aad0c5e12f58ea9179

A Ruby script that accepts multiple files as command line arguments. It outputs an array of JSON objects, one for each input file. The result can be embedded in an all-in-one .html file.
A Ruby script that accepts multiple files as command line arguments. It outputs an array of JSON objects, one for each input file. The result can be embedded in an all-in-one .html file. - base64_j...