3 ms·
It would be interesting to generate HTML as an output. This way it could inline text files, images (data URI), videos, audio and other files as <a href="data:ap
by hawski 6y ago
It would be interesting to generate HTML as an output. This way it could inline text files, images (data URI), videos, audio and other files as <a href="data:application/octet-stream;base64,... download="filename.ext" ... You could get mime types from file(1) not to put octet-stream everywhere.
Basic version wouldn't even need a single JS line.
Sounds like a good little weekend project.
- breck 6y agoThis is a really cool idea! If you make it let us know. Would be cool to check out.