Skip to main content
0
C

Chatgpt Code Assistant

ChatGPT Plugin for retrieving external API documentation and reading and writing to local files.

Rating

0.0

Votes

0

score

Downloads

0

total

Price

Free

No login needed

Works With

Claude CodeCursorWindsurfVS CodeDeveloper tool

About

ChatGPT Code Assistant Plugin

As an avid coder, I embarked on a personal experiment to enhance my coding experience and boost my productivity. I found ChatGPT to be a valuable tool, but copying and pasting generated code into my editor often proved inconvenient and disrupted my creative flow.

I also faced challenges due to ChatGPT's inability to access my local file system and external documentation, as it couldn't utilize my current project's code as context. This meant I had to manually copy my code to the website for further generation.

To overcome these limitations, I decided to create the ChatGPT Code Assistant Plugin. By granting ChatGPT access to both my local file system and the internet, it can now effortlessly:

  • Reference online documentation to provide accurate API calls and avoid guesswork.
  • Incorporate the code from my current project as context, generating more relevant and coherent suggestions.
  • Read and utilize files within my project to improve overall code integration.
  • Directly write to files in my project, streamlining the coding process and eliminating the need for manual copy-pasting.

Through this personal experiment, I have experienced the enhanced capabilities of the ChatGPT Code Assistant Plugin and revolutionized the way I code. I hope others can also benefit from this solution and transform their coding journeys.

Installation

bash
pip install -r requirements.txt

Usage

Run the following command to start the server:

bash
uvicorn main:app --reload

Now, use ngrok to expose the server to the internet. Ngrok is needed because the chatgpt plugins requires an https url to work.

bash
ngrok http 8000

Use the ngrok url to set the server url in the plugin settings.

Here is a demo of the plugin in action:

Auto-refresh Setup

This section provides instructions for setting up your text editor to automatically refresh when a file is updated by the Plugin. You can either use the provided scripts, or follow the manual configuration steps for your platform and editor.

Quick Setup Scripts

Run the appropriate script for your platform and editor:

##### Neovim and Vim

  • Linux and macOS: ./scripts/setup_auto_refresh/unix/setup_nvim_vim.sh
  • Windows: ./scripts/windows/setup_auto_refresh/setup_nvim_vim.bat

##### Emacs

  • Linux and macOS: ./scripts/setup_auto_refresh/unix/setup_emacs.sh
  • Windows: ./scripts/setup_auto_refresh/windows/setup_emacs.bat

#### Visual Studio Code

  • Linux and macOS: ./scripts/setup_auto_refresh/setup_vscode.sh
  • Windows: ./scripts/setup_auto_refresh/setup_vscode.bat

These scripts will automatically configure your text editor for auto-refresh functionality when the ChatGPT Plugin "Code Assistant" updates a file.

Manual Configuration

#### Neovim

Don't lose this

Three weeks from now, you'll want Chatgpt Code Assistant again. Will you remember where to find it?

Save it to your library and the next time you need Chatgpt Code Assistant, it’s one tap away — from any AI app you use. Group it into a bench with the rest of the team for that kind of task and you can pull the whole stack at once.

⚡ Pro tip for geeks: add a-gnt 🤵🏻‍♂️ as a custom connector in Claude or a custom GPT in ChatGPT — one click and your library is right there in the chat. Or, if you’re in an editor, install the a-gnt MCP server and say “use my [bench name]” in Claude Code, Cursor, VS Code, or Windsurf.

🤵🏻‍♂️

a-gnt's Take

Our honest review

ChatGPT Plugin for retrieving external API documentation and reading and writing to local files. Best for anyone looking to make their AI assistant more capable in communication. It's completely free and works across most major AI apps. This one just landed in the catalog — worth trying while it's fresh.

Tips for getting started

1

Tap "Get" above, pick your AI app, and follow the steps. Most installs take under 30 seconds.

What's New

Version 1.0.06 days ago

Imported from GitHub

Ratings & Reviews

0.0

out of 5

0 ratings

No reviews yet. Be the first to share your experience.