Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tom-doerr/codex.fish
Supercharge your command line with OpenAI Codex integration. Get AI-powered coding assistance right in your fish shell.
https://github.com/tom-doerr/codex.fish
Last synced: 4 days ago
JSON representation
Supercharge your command line with OpenAI Codex integration. Get AI-powered coding assistance right in your fish shell.
- Host: GitHub
- URL: https://github.com/tom-doerr/codex.fish
- Owner: tom-doerr
- License: mit
- Created: 2022-03-27T11:27:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T20:08:25.000Z (7 months ago)
- Last Synced: 2024-04-22T00:06:37.497Z (7 months ago)
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 75
- Watchers: 6
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
⌨️ 🦾 codex.fish 🐟
AI in the command line.## What is it?
This is a fish plugin that enables you to use OpenAI's powerful Codex AI in the command line. OpenAI Codex is the AI that also powers GitHub Copilot.
To use this plugin you need to get access to OpenAI's [Codex API](https://openai.com/blog/openai-codex/).## Improved Version
There's a fork of this repo called [fish-ai](https://github.com/Realiserad/fish-ai). It has many more features and supports more language models, so you should probably use [fish-ai](https://github.com/Realiserad/fish-ai) instead of the version in this repo.## How do I install it?
1. Install the OpenAI package.
```
pip3 install openai
```2. Install the plugin itself.
You can install it using [fisher](https://github.com/jorgebucaran/fisher):
```
fisher install tom-doerr/codex.fish
```3. Create a file called `openaiapirc` in `~/.config` with your ORGANIZATION_ID and SECRET_KEY.
```
[openai]
organization_id = ...
secret_key = ...
```4. Run `fish`, start typing and complete it using `^X`!
---
[ZSH version](https://github.com/tom-doerr/zsh_codex)