code-yeongyu
YGK-a
Python

YGK-a: Your Genius, Knowledgeable assistant, An advanced ChatGPT client from your shell.

Last updated Aug 1, 2026
88
Stars
9
Forks
1
Issues
0
Stars/day
Attention Score
22
Language breakdown
Python 100.0%
โ–ธ Files click to expand
README

YGKA ๐Ÿค–

codecov Release Package to PyPI PyPI version

YGKA is an advanced ChatGPT client for shell that acts as Your Genius Knowledgeable Assistant. YGKA supports Unix/Linux pipelines and requires no setting up of tokens or API keys. Furthermore, if you want to use an OpenAI API key, you can easily configure it.

demo

Key Features ๐Ÿ’ก

  • Supports Unix/Linux pipelines
  • Ready to use without setting up tokens or API keys

Prerequisites ๐Ÿ“š

  • Python 3.9+
  • ChatGPT Account (or OpenAI Account)

Getting Started ๐Ÿš€

To begin using YGKA, install it with pip:

pip install ygka

Once you've installed YGKA, you can start using it right away, like following.

demo

To execute a command, use the following syntax:

ygka "<your command here>"

For example, to ask "hello?" using YGKA, you can use the following command:

ygka "hello?"

You can also use YGKA with Unix pipeline. For example, to ask "what is this file?" while viewing the contents of a text file, you can use the following command:

cat textfile.txt | ygka "what is this file?"

Advanced Settings ๐Ÿ› 

By default, YGKA is configured to use the reverse-engineered ChatGPT client and retrieve login information from your browser, so you don't need to configure anything to use YGKA. However, for those who want to use different models with an OpenAI API Key, you can configure it as follows:

  • Create an account on OpenAI.
  • Go to and copy your API key.
  • Modify or create the ~/.ygka_config.json file as follows:
{
    ...
    "languagemodel": <language model of your preference>, //"officialchatgpt"
    "openaiapikey": <your OpenAI API key>
}

Here, you can specify the language model of your preference and add your OpenAI API key.

Inspired By ๐ŸŽจ

  • YeonGyu Kim: My name. The project is named after me.
  • AiShell: A Natural Language Shell Powered by ChatGPT, is a brother project of YGKA that provides a similar functionality.
  • loz: A nodejs version of a GPT3 client that does similar things as YGKA.

Contributions ๐Ÿ’ฌ

Feel free to contribute to YGKA by adding more functionality or fixing bugs.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท code-yeongyu/YGK-a ยท Updated daily from GitHub