DWN.BRIDGE โ€“ Open-source MIT License. C# client for secure database querying and sandboxed AI execution

Hy,

I wanted to share a desktop client I've been building and recently open-sourced under the GPL-3.0 license: DWN.BRIDGE (C# WPF, targeting .NET 10). It is designed to solve the data privacy issue when using web LLMs (like Gemini) to analyze files or query local databases. It exposes a local orchestration bridge to your browser session via WebView2 automation, bypassing developer API paywalls while keeping your raw data offline. Key Features:

  • Zero-Knowledge Schema Mapping: It extracts table headers and column metadata locally. It sends only this structure to the web LLM. The LLM acts purely as a logic generator, and the client runs the SQL query locally using native providers (Dapper/SqlClient). Raw data rows never leave your hard drive.
  • Process Sandboxing & Consent: Every shell script execution, SQL write, or file modification requested by the agent is paused. The client prompts you with a WPF modal showing a git-style diff of the command/file for manual approval.
  • Coder Compilation Loop: If the agent generates scripts, it compiles and runs unit tests locally, feeding error logs (stderr) back to the context window until it builds successfully. The codebase is completely audit-friendly. I'd love to get feedback on the security consent model or contributions on expanding local DB support! ๐Ÿ“บ Demo Video: https://www.youtube.com/watch?v=dCtOsXAuPgc ๐Ÿ”— GitHub: https://github.com/MarckDWN/DWN.BRIDGE
-4 points · 4 comments · view on lemmy.world

4 Comments

zer0squar3d@lemmy.dbzer0.com · 1 pts · 56d (3 replies)

Says MIT license on github. May want to fix that.

MarckDWN@programming.dev · 1 pts · 56d (2 replies)

good catch! it is indeed licensed under the MIT license. i made a mistake in the post title/description writing GPL-3.0, but the repo is correct. thanks for pointing it out!

Says MIT license on github. May want to fix that.

Contenuto

Kissaki@programming.dev · 1 pts · 56d (1 reply)

You can edit titles here on Lemmy. You can fix the title.

MarckDWN@programming.dev · 2 pts · 56d

Just did it, thanks again... quite new user here didn't know it's possible๐Ÿ˜