3 ms·
Hold my beer! ... https://donohoe.dev/project/jspng-encoder/ https://donohoe.dev/project/jspng-encoder/ Life is too short to do something useful so why not e
by donohoe 7y ago
Hold my beer!
...
https://donohoe.dev/project/jspng-encoder/ https://donohoe.dev/project/jspng-encoder/
Life is too short to do something useful so why not encode all your site's Javascript code into a PNG image and then decode it on demand.
(This is a terrible idea. Don’t do it. Just for fun)
- KilledByAPixel 7y agoAwesome project.
- santa_boy 7y agothis is quite cool. how do you convert the file to a png? Why is this a terrible idea? I'm thinking I can Whatsapp friends a huge letter as an image and they could use my toy app to decode it ;-)
- donohoe 7y agoA PHP script does the conversion, basically takes the code converts to a base64 png.