New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

coderat

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coderat

Generate code changes in your local code by talking to AI (using [openai Assistant API](https://platform.openai.com/docs/assistants/overview)).

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

coderat

Generate code changes in your local code by talking to AI (using openai Assistant API).

Usage

Install:

npm i -g coderat

You need OPENAI_API_KEY enviroment variable set. At the moment, you must have access to gpt-4-1106-preview model. This is not guaranteed even for a pro users. Buy more credits (10$ will do) if that's the case.

Then from a project you're working on (let's assume it's a ruby project):

coderat push **/*.rb

This will pop open a browser window with the assistant playground. Your code is in there attached.

Now there is a bug in the assistant UI at the moment where the page won't show you the assistant details on the left. If that's the case, you can choose it manually from the dropdown at top left of the page.

Explain what changes you want. Once done, the assistant will generate a zip with updated files. At that point:

coderat pull

Resume local development (e.g. git diff, run tests, etc.)

FAQs

Package last updated on 28 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc