• Stars
    star
    147
  • Rank 250,045 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 1 year ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

AiShell: A Natural Language Shell like GitHub Copilot X, Powered by ChatGPT

AiShell πŸ€–

codecov Release Package to PyPI PyPI version Downloads

A simple Python code that connects to OpenAI's ChatGPT and executes the returned results.

If you are interested in these projects, please checkout AiShell's brother project: YGK-a. YGK-a is a client for the ChatGPT from your terminal, and also supports unix/linux pipelines.

Demo

Demo

Key Features πŸ’‘

  • Interact with your computer using natural language
  • Automatically executes the command from the response of ChatGPT
  • Good for complex tasks like handling Git and extracting tar files
  • No need to search StackOverflow for commands, AiShell has got you covered
  • AiShell simplifies the process of setting up and retrieving tokens or API keys.
    • With AiShell, you don't have to worry about the technical details.
    • Simply install AiShell, execute it, and you're ready to go!

Prerequisites πŸ“š

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

Getting Started πŸš€

To begin using AiShell, start by installing it with pip:

pip install aishell

Or you can use pipx:

pipx install aishell

Once you've installed AiShell, you can start using it right away. For example, to print "Hello World" using AiShell, enter the following command:

aishell 'print Hello World'

Advanced Settings πŸ› 

By default, AiShell 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 AiShell. However, for those who want to use different models with an OpenAI API Key, you can configure it as follows:

  1. Create an account on OpenAI.
  2. Go to https://platform.openai.com/account/api-keys and copy your API key.
  3. Modify or create the ~/.ygka_openai_config.json file as follows:
{
    ...
    "language_model": "official_chatgpt",
    "openai_api_key": "<your OpenAI API key>"
}

Here, you can add your OpenAI API key. This will enable AiShell to use the official chatgpt api and the API key when executing commands.

Contributions πŸ’¬

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

More Repositories

1

YGK-a

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

TrackPurchase

단 λͺ‡μ€„μ˜ μ½”λ“œλ‘œ λ‹€μ–‘ν•œ μ‡Όν•‘ ν”Œλž«νΌμ—μ„œ 결제 내역을 κΈμ–΄μ˜€μž!
TypeScript
21
star
3

fastdj

FASTDJ - fast django restful api app creator or scaffolder
Python
17
star
4

brew-updates

Get Brew Packages to update, just like you've experienced from Ubuntu
Go
12
star
5

TwitterVideoTools

A multi-processing supported twitter video downloader
Python
10
star
6

Radeon-On-Charging

Automatically switch to faster gpu mode while your MacBook is charging!
Python
8
star
7

twitter_video_tools_v2

An all in one Twitter video downloader
Python
8
star
8

gin-psql-microservice-template

Ginκ³Ό PostgreSQL을 ν™œμš©ν•œ λ§ˆμ΄ν¬λ‘œμ„œλΉ„μŠ€λ₯Ό 개발 ν•  λ•Œ ν™œμš© ν•  수 μžˆλŠ” ν…œν”Œλ¦Ώμž…λ‹ˆλ‹€.
Go
8
star
9

YouEye

YouEye - An AI-powered, problem breaker for blind individuals, providing accessibility to no-voice supported kiosks
Python
5
star
10

moragi

λͺ¨λ½μ΄: CJ ν”„λ ˆμ‹œλ°€ 메뉴 μŠ¬λž™λ΄‡
Python
3
star
11

threads-api-openapi

The unofficial API for Threads. The openapi yaml of the currently available reverse-engineered APIs.
3
star
12

words_memorizer

A Python project to help memorizing words for freshmen in Sunrin Internet HighSchool
Python
2
star
13

code-yeongyu

1
star
14

revChatGPTAuth

Authenticate using your browser's cookies - no need to inconveniently copy and paste from your browser!
Python
1
star
15

swm11th-servience-overall

JavaScript
1
star
16

phone_code_pc

An Android app that lets you programming with your Android Devices
Java
1
star
17

ts-express-mongoose-app-based-boilerplate

TypeScript
1
star
18

girogi-workday

기둜기: μ›Œν¬λ°μ΄ κ·Όλ¬΄μ‹œκ°„ 기둝이
1
star
19

Python-Poetry-Template

All-configured python project template
Python
1
star