A local runner turns Gemini web chat into a coding agent

dwn.bridge is a small Windows app that connects Gemini’s free web chat to a local computer. It does not use API calls; it controls the with Playwright and WebView2. The setup lets Gemini read and write local files, run , and receive command output back in the chat so it can fix errors and try again.

In a direct test, Gemini was asked to build a Space Invaders-style game from scratch with no hand-written code added. The app wrote the code, compiled it, opened the executable file, found , and kept revising. After 8 rounds, the game had animated 8x8 pixel aliens, PCM audio made in memory, color-matched particle explosions for different alien types, and bunkers that broke down pixel by pixel.

The project is available under the MIT license and is still in early active development.

Key points

  • dwn.bridge connects Gemini web chat to a local Windows machine.
  • It uses Playwright and WebView2 instead of direct API calls.
  • Gemini can edit files, run , and use command output to correct mistakes.
  • A Space Invaders-style game was built through 8 automated revision rounds.
  • The project is under the MIT license, but it is still early.
Read original