0.6.1 • Published 5 months ago

grumpy-ai v0.6.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
5 months ago

grumpy

Openai client I use on cli.

Install

npm install grumpy-ai

This installs a executable called ai, and requires OPENAI_API_KEY in your shell environment, then you can do things like this:

  • ai as: list predefined prompts, to edit the library, edit $HOME/ai.json.
  • ai as dict: Assume you have dict prompt in ai.json, this will use dict prompt to answer your questions.
  • ai ask: ask openai in an interactive way.
  • cat question.md | ai frompipe | bat -l markdown: read question from a markdown file and render answer with bat
  • cat question.md | ai frompipe | pbcopy: read question from markdown and copy the answer to clipboard, I find difficult to copy long answer in chatgpt web or other GUI, this makes it easier.
0.6.1

5 months ago

0.3.0

5 months ago

0.2.1

5 months ago

0.5.0

5 months ago

0.4.1

5 months ago

0.4.0

5 months ago

0.3.1

5 months ago

0.6.0

5 months ago

0.2.0

5 months ago

0.1.0

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago