BSD Ports

ai/chatgpt-shell-cli g20230516 MidnightBSD

Shell script to use OpenAI's ChatGPT and DALL-E from the terminal

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
dee1e47e52
License
mit
Categories
ai

Description

A simple, lightweight shell script to use OpenAI's chatGPT and DALL-E from the terminal without installing python or node.js. The script uses the official ChatGPT model gpt-3.5-turbo with the OpenAI API endpoint /chat/completions. You can also use the new gpt-4 model, if you have access.

The script supports the use of all other OpenAI models with the completions endpoint and the images/generations endpoint for generating images.

In the other systems

SystemPortVersion
MidnightBSDai/chatgpt-shell-clig20230516
FreeBSDmisc/chatgpt-shell-clig20230516
NetBSDmisc/chatgpt-shell-cli0.0.20230516
DragonFlymisc/chatgpt-shell-clig20230516
HardenedBSDmisc/chatgpt-shell-clig20230516
GhostBSDmisc/chatgpt-shell-clig20230516

Install

Binary package:

mport install chatgpt-shell-cli

From mports:

cd /usr/mports/ai/chatgpt-shell-cli && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	chatgpt-shell-cli>0:ai/chatgpt-shell-cli

Dependencies

As this port's Makefile names them.

Runtime 4

Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

USES
magick:${FLAVORS:[1]},run shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
0xacx-chatGPT-shell-cli-g20230516-926587a_GH0.tar.gz115830d86a7b6e7ea1074e8c2be2760fabc041c3b89d223a4de75932bdc4b6481efe7

Commit history 1

DateCommitCreditsLog message
dee1e47e52 Lucas Holt ai: add new category and move AI/ML ports from misc
Create the ai category (Artificial intelligence and machine learning) and relocate 42 AI/ML ports from misc into it. - Register ai in Mk/bsd.mport.mk VALID_CATEGORIES and the top-level Makefile - Add ai/Makefile; drop the moved entries from misc/Makefile (also removes the stale linux-claude SUBDIR left over from the claude-code rename) - git mv 42 ports and set their primary CATEGORIES to ai - Rewrite misc/<port> dependency origins to ai/<port> in external dependents (devel/py-beartype, math/py-faiss, multimedia/py-torchcodec, textproc/py-tokenizers) and among the moved ports themselves - Record the origin migrations in MOVED Ports moved: chatgpt-shell-cli, claude-code, claude-code-legacy, clawhub, codex, gemini-cli, github-copilot-cli, grok-cli, lean-ctx, llama-cpp, ollama, …