gpt-repl

0.1.5 • Public • Published

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.

Dependents (0)

Package Sidebar

Install

npm i gpt-repl

Weekly Downloads

0

Version

0.1.5

License

MIT

Unpacked Size

10.2 kB

Total Files

11

Last publish

Collaborators

  • blackmarket