Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT Command Generation

一个利用 ChatGPT 生成命令行的小工具

A small tool that uses ChatGPT to generate a command line

Enviroment

  1. OPENAI_API_KEY :OpenAI API KEY
  2. HTTPS_PROXY: A ChatGPT available proxy (optional)

Install

cargo build --release --locked

cargo install --locked --path . 

zsh Plugin

  1. put /plugins/ under $ZSH_CUSTOM (by default: ~/.oh-my-zsh/custom/plugins/cg/cg.plugin.zsh),
  2. Add the plugin to the list of plugins for Oh My Zsh to load (inside .zshrc)
plugins=( 
    # other plugins...
    cg
)

Screenshots

Screenshot 1

Screenshot 2

Screenshot 3

Screenshot 4

About

一个用 ChatGPT 生成命令行的小玩具

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages