Skip to content

yahalloe/openai-cli.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A cli for openai api in JS

cli.js.-.Made.with.Clipchamp.mp4

🛠️ Installation

  1. clone the repo.
git clone https://github.com/yahalloe/openai-cli.js.git
  1. Add your api key in a .env file in the directory. (name the file '.env' and follow the syntac below)
API_KEY=your_actual_api_key
  1. Install the dependencies.
npm i
  1. Run the program!
npm run dev

if you don't have bun yet, change the bun dev script in the package.json file to node.

"scripts": {
    "dev": "node main.js"
  },

About

a cli program for openai api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published