Use GPT to write code directly into a Node.js REPL.
Proceed with caution!
Yes, this could totally be dangerous. So don't give it root privileges and then ask it to destroy your system or it might oblige you.
- Install with
npm i -g gpt-repl
- Setup
OPENAI_API_KEY
environment variable - Start the REPL with
gpt-repl
- Ask GPT for help with
.gpt sum an array of numbers
This tool is built on top of Node's built-in repl
module.
For more information about it's features, see the official documentation.