Skip to content

vscode-reborn-ai/vscode-reborn-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSCode Reborn AI

Write, refactor, and improve your code in VSCode using ai. With VSCode Reborn AI, you decide what AI you want to use.

Code offline with ai using a local LLM.

Enhanced support for: OpenRouter.ai (API), and ollama (local).

Get for VSCode

Search for "VSCode Reborn AI" in the VSCode extension search.

Or install directly:

Or build this extension yourself (scroll further down).

Local LLMs and Proxies

Any tool that is "compatible" with the OpenAI API should work with this extension. The tools listed below are the ones I've personally tested.

Local LLMs tested to work with this extension

Alternative APIs tested to work with this extension

Proxies

I've set up a proxy for anyone that needs it at https://openai-proxy.dev/v1. It's running x-dr/chatgptProxyAPI code on CloudFlare Workers. This is mainly for anyone who wants to use OpenAI, but cannot due to api.openai.com being blocked.

Internationalization

Translated to: 🇩🇪 🇪🇸 🇫🇷 🇮🇹 🇯🇵 🇰🇷 🇳🇱 🇵🇱 🇵🇹 🇹🇷 🇺🇦 🇨🇳 🇹🇼

Most of this extension has been translated to about a dozen languages. The translations are not perfect and may not be correct in some places. If you'd like to help with translations, please see the i18n discussion.

Development

Clone this repo

git clone https://github.com/vscode-chatgpt-reborn/vscode-chatgpt-reborn.git

Setup

yarn

Build the extension

yarn run build

Test new features in VS Code

To test the vscode-chatgpt-reborn extension in VS Code, follow these steps:

  1. Open the project directory in Visual Studio Code.

  2. Press F5 or click Run > Start Debugging in the menu to start a new Extension Development Host instance with the extension loaded.

  3. In the Extension Development Host instance, test the extension's functionality.

  4. Use the Debug Console in the main Visual Studio Code window to view any output or errors.

  5. To make changes to the extension, update the code, vscode will automatically be running the yarn run watch script. But, for testing you'll need to reload the extension, do that by pressing Ctrl + Shift + F5/Cmd + Shift + F5 (or click Run > Restart Debugging).

Package for VS Code

yarn run package # Runs `vsce package`

Changelog

See the CHANGELOG for a list of past updates, and upcoming unreleased features.

Tech

Yarn - TypeScript - VSCode Extension API - React - Redux - React Router - Tailwind CSS

  • This extension has a custom UI with React + TailwindCSS, but theme support and remaining consistnet with VSCode's UI components is still a priority.

License

This project is licensed under the ISC License - see the LICENSE file for details.