Inject VSCode code, errors, and definitions into your ChatGPT prompt
Inject VSCode code, errors, and definitions into your ChatGPT prompt
I made this project for myself over the past two days. It's a web app that lets you build a ChatGPT prompt where you can add code, errors, and symbol definitions from VSCode in one click. 1. Run the web app from docker 2. Download the VSCode extension and run the connect command 3. Construct prompt 4. Paste into ChatGPT/some other tool Why it's useful: - LLM neutral: paste prompts into ChatGPT, Claude, Bing Chat, Bard, etc. - No need to fiddle with copy/pasting code snippets or error messages - Free Software under AGPLv3 - Fully local, no telemetry or tracking. The architecture is in three parts: 1. VSCode extension that sends symbols, diagnostics, and open files to the server over both REST and Websockets. 2. Haskell Server that talks with the VSCode extension and serves the static frontend. 3. Static frontend in SvelteKit. For production, the backend and frontend are packaged together with nix (see `flake.nix`) and turned into a Docker image, though they can also be run separately. The extension is packaged the normal way with `vsce`. Please let me know what you think!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Acmeish for Vscode
CodeSandbox for VSCode
Edamagit – Magit for VSCode
Syntax Highlighting for Markdoc in VSCode
I added prompt chaining to ChatGPT
I made a GPT4 VSCode extension for detecting and fixing insecure code
I made a GPT4 VSCode extension for detecting and fixing insecure code
I made a GPT4 VSCode extension for detecting and fixing insecure code
Streamed ChatGPT Responses in VSCode
A VSCode Extension to Automate Putting Your Code Files in a GPT Prompt