Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ivangabriele/openai-forge-vsce

Automate your communication between Visual Studio Code and ChatGPT 🤖
https://github.com/ivangabriele/openai-forge-vsce

automation chatgpt extension openai plugin visual-studio-code vscode vscode-extension

Last synced: 11 days ago
JSON representation

Automate your communication between Visual Studio Code and ChatGPT 🤖

Awesome Lists containing this project

README

        


OpenAI Forge Logo

OpenAI Forge



AGPL License


Visual Studio Marketplace


Check Workflow Status

Automate your communication between Visual Studio Code and ChatGPT 🤖.

---

## Screencast

## Getting Started

Check the [WELCOME](docs/WELCOME.md) document to get started.

## How it works?

OpenAI Forge VSCode extension runs a WebSocket server while the OpenAI Forge browser extension runs a WebSocket client
when you have `https://chat.openai.com` open in your browser. That's how VSCode can communicate with ChatGPT web
application to automatically fill the prompt and submit it.

As for the errors, OpenAI Forge VSCode extension runs an **Evaluator**_**, that is a CLI command able to output errors
while attempting to compile or lint your code. This _evaluator_ command is run in a child process, its `stderr` output
is extracted and embedded along your selected documents source code, before being sent to ChatGPT prompt, along with
your document source code.

## Features

Directly from Visual Studio Code, you can:

- [x] Send all the source code of one or multiple documents at once
- [x] Send evaluation errors to ask ChatGPT for fixes
- [x] Add a custom message to the generated prompt request (or don't)

### ChatGPT Prompt Contextualization

OpenAI Forge add some contextual information to the automated prompt message in order to help improve ChatGPT accuracy:

- [x] Source code documents paths
- [x] Some workspace information "guessed" from you files path and extensions _(can be disabled in settings)_

## Current limitations

_In progress..._

## Known issues

_In progress..._