2 ms·
ello Humans of HN, This is not noscript as in 'no-code' it is noscript as in <noscript> as in no JavaScript on the client. Why? I wanted a distillation/simpli
by graderjs 5y ago
ello Humans of HN,
This is not noscript as in 'no-code' it is noscript as in <noscript> as in no JavaScript on the client.
Why? I wanted a distillation/simplification/essence of my super complex and big remote browser product (open-source and Enterprise versions[0]), and I wanted to play with MJPEG.
One day I discovered the venerable <input type=image> tag and how it can transmit the click X,Y positions on form submission, and I was sold on the idea. I knew then...or sometime later, that it was possible to build a very simple browser UI using only HTML and CSS on the client.
After expending thousands of lines of client-side and server-side code for my RBI products I knew this was amazing and incredible. Plus it was going to be fun to rebuild "roughly equivalent" (emphasis on rough) functionality in as minimal code as possible.
So with those motivations properly elucidated, I give you: puppetromium. An unholy mixture of puppeteer and chromium to form an extremely simply browser UI that you can use to "browse the web" using the headless browser started by puppeteer.
Feel free to check out the code, star the repo download the npm package and give it a try. This is the only comment I'll make on this thread. Any questions feel free to email me cris@dosycorp.com have a good one! :p :) xx
[0]: https://github.com/i5ik/ViewFinder https://github.com/i5ik/ViewFinder