HNHacker News
TopNewBestAskShowJobs

gxy5202

5 karma · joined February 27, 2025

submissionscomments
gxy5202··on Addfox: A new open-source browser extension framework
Thanks for the reply. I must mention that I am the author of the browser extension Video Roll (https://videoroll.app). Therefore, I've incorporated all my experience developing browser extensions into this framework. I initially used Parcel, then Plasmo and WXT; each has its advantages, but I created AddFox based on my own development habits. Regarding the name AddFox, I initially considered Extenzo(extension + enzo) and Addmo(Addon), but similar names already existed on NPM, and NPM no longer allows registration. So I chose AddFox(Addon + fox). I know it's somewhat similar to Firefox, but they are definitely not the same.
gxy5202··on Addfox: A new open-source browser extension framework
Yes, the overall framework design is different. This isn't just a superficial Vibe coding project (although AI was used in its development), but rather the result of my long-term experience developing browser plugins. Incidentally, I'm also the author of the browser extension Video Roll (https://videoroll.app). The main differences are as follows: 1. First, it's based on Rsbuild. If you install it via `pnpm create addfox-app`, you can quickly integrate unit tests (Rstest) and analytics reports (Rsdoctor), and use it simply with `addfox test` and `addfox dev --report`. 2. The extension supports three paradigms for entry point identification: first, automatic file-based identification (which needs to follow AddFox rules); second, it supports directly writing the source file address in various fields of the manifest (e.g., `background.service_worker: 'myBackground.ts'`); and third, it supports custom entries. 3. For automatic browser startup, a default address is set for most Chromium-based browsers (if no custom address was selected during browser installation), so you don't need to configure it to start automatically (supports Vivaldi, Opera, Arc, Yandex, etc.). 4. Using the Rsbuild plugin, if --debug is enabled, error monitoring code will be injected in dev mode, which will output errors such as content_script and background to the terminal, making it easy to directly copy and tell the AI without having to open the browser's devtools. 5. llms.txt/meta.md/error.md were generated, containing basic source information for the project, including the entry file, version used, framework, etc. These files will be useful if you are using Agent in conjunction with Skills for development.

I agree that Vite and Rsbuild are just choices of build tools, and the difference in development experience may not be significant.

AddFox is not a perfect framework and is still in a very early stage. WXT and Plasmo are both excellent; you just need to find the one that suits your needs. Thank you very much for trying it and providing feedback.

gxy5202··on Supercharge Your Bun Workflow with bun-tasks
bun-tasks is a parallel task runner for the Bun runtime inspired by concurrently. It understands the ::: command separator, merges global and per-command environment variables, and automatically expands package scripts to bun run <script> when needed. The CLI is exposed as the binary bun-tasks; it is exported for programmatic usage but never auto-executes when imported.