TriangleSnake/TriGemini — reverse-engineered prompt

Reverse engineered prompt

Build me a simple Chrome extension called TriGemini that lets me chat with the Gemini Nano model built into Chrome. I want it to feel fast and lightweight, with a small popup chat window where I can type a prompt and get an answer right away. It should work offline when Gemini Nano is available, and it should open either from the toolbar icon or with the shortcut Command or Ctrl plus Shift plus Y.

Please keep the setup practical for a normal user. Make sure it only relies on Chrome’s built in Gemini Nano support, and that it’s clear this needs Chrome 127 or newer with the Prompt API flag turned on. I also want the extension to feel clean and easy to use, with basic chat behavior and no unnecessary clutter.

If anything about the browser API has changed, look up the current docs online and wire it up the right way. Include anything needed so it can be loaded and tested as a working extension.

Want more depth? Deep Reverse