cligpt

Command line interface for ChatGPT

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.1.1
License GPL-3.0
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:26

Authors

  • Thiago Navarro

Installation

nimble install cligpt
choosenim install cligpt
git clone https://github.com/thisago/cligpt

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
cligpt - - - - - - -

Dependencies

Package Version Optional
nim >= 1.6.0 No
cligen - No
dirtygpt >= 0.1.0 No

Source

Repository https://github.com/thisago/cligpt
Homepage https://github.com/thisago/cligpt
Registry Source nimble_official

README

# cligpt #### Command line interface for ChatGPT **[About](#about) - [Setup](#setup) - [Usage](#usage)** - [License](#license)

About

See this app in action here: - Youtube video - cligpt chat - cligpt prompt

This is a Free ChatGPT CLI application interface.

Core libs used

  • DirtyGPT - Free and dirty ChatGPT web implementation

Setup

You can install using nimble, the Nim package manager:

nimble install cligpt

In order to DirtyGPT work, you need to install the userscript client in your browser, in a userscript manager. See the tutorial at DirtyGPT repository

Then keep open a logged tab at ChatGPT in your browser

Usage

Help

$ cligpt --help

ChatGPT CLI
Usage:
  cligpt {SUBCMD}  [sub-command options & parameters]
where {SUBCMD} is one of:
  help    print comprehensive or per-cmd help
  prompt  Prompts to ChatGPT
  chat    Start chat with ChatGPT

The usage is very simple:

Single prompt

cligpt prompt "what is ram memory?"

Chat

cligpt chat

License

This CLI application is FOSS, licensed over GPL-3! Enjoy!