Skip to content

imaustink/gpt-repl

Repository files navigation

Node.js REPL Integrated with GPT

Automated Tests NPM version

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.

Demo

asciicast

Prerequisites

  1. An OpenAI API key
  2. Node.js and npm

Getting Started

  • 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

REPL Features

This tool is built on top of Node's built-in repl module.

For more information about it's features, see the official documentation.

About

A Node.js REPL with GPT integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published