You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.5 KiB
Markdown

1 year ago
# Awesome ChatGPT Prompts CLI
This is a command line tool that allows you to select a prompt to use with
ChatGPT from the [Awesome ChatGPT
1 year ago
Prompts](https://raw.githubusercontent.com/f/awesome-chatgpt-prompts) or define
your own custom prompts.
1 year ago
1 year ago
<img src="https://i.imgur.com/hSgIZHp.jpeg" width="600">
1 year ago
## Installation
To install the dependencies needed to run this program, run:
`pip install -r requirements.txt`
1 year ago
The remote and custom prompts are installed under
`$XDG_DATA_HOME/chatgpt-prompts`
You will also need to have `fzf` locally installed. If you
don't have it already, you can install it by running:
### Debian, Ubuntu, etc
`sudo apt install fzf`
### CentOS, Fedora, etc
`sudo yum install fzf`
### macOS
TODO
1 year ago
## Usage
To use this program, run:
`cgpt.py [COMMAND]`
1 year ago
If no command is provided, it will present you with a list
of prompts that you can choose from. Use the up and down
arrow keys to navigate the list and the Enter key to
select a prompt.
1 year ago
You can also use the following commands:
- `update`: Update the list of prompts from the remote repository.
1 year ago
- `add`: Add a custom prompt to the list.
## Features
1 year ago
- [x] Update the list of prompts from the remote repository.
1 year ago
- [x] Add your own custom prompts
1 year ago
- [ ] Create a pull request to add custom prompts to the
remote repository.
1 year ago
- [ ] Delete a custom prompt.
- [ ] macOS and Windows support
1 year ago
## Credits
The prompts in this tool are taken from the [awesome-chatgpt-prompts](https://github.com/f/awesome-chatgpt-prompts) repository.