2 ms·
Show HN: Run your Browser on GitHub Actions by forking this repo
- keepamovin 3y agoHi HN, I've recently worked on a fun project called Puppetromium - a single file, simple web browser built on Puppeteer and served entirely with no client-side scripting, leveraging technologies such as MJPEG, HTML, and CSS. The goal was to see how simple I could make a remote browser that is still minimally usable. But also, this is an exercise to exemplify why Puppeteer might not be the perfect fit for remote browsing, hence why I created a whole other browser driving protocol atop the DevTools protocol. This is not only a tech experiment, but also a way to spark creativity within the community. I released Puppetromium with a permissive license, in hopes it might ignite people's imagination and encourage them to explore the possibilities of custom browser UIs for cloud browsers and hack on top of it. Even more interesting, the project now incorporates a GitHub Action that allows running a remote browser right from GitHub's CI runner using Puppeteer and ngrok, giving a unique way to remotely control a web browser. You can fork the repo, run the workflow and be able to interact with a web browser running on a GitHub Action runner. The integration is done using GitHub Actions with a basic workflow and an Ngrok tunnel. With a bit of configuration, your server and ngrok tunnel start, providing you a public URL to your instance running on GitHub's infrastructure. Feel free to explore the project, and of course, contributions are welcome!