0.0
The project is in a healthy, maintained state
Provides a small command line chat helper for AI-backed conversations.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 1.2.3, < 2
 Project Readme

dorian-chat

Send a prompt to the OpenAI chat completions API from the command line.

Install

gem install dorian-chat

Also included in the aggregate gem:

gem install dorian

Usage

chat [prompt ...] [file ...]

Run chat -h for generated option details and chat -v for the installed version.

Notes

  • Reads the prompt from arguments, files, or stdin.
  • Uses a token from ~/.chat; if that file is missing, it prompts once and writes it.

Examples

Ask a question

chat "Summarize this repository in one paragraph"

Ask about a file

chat "Summarize" README.md