codex.fish
codex.fish copied to clipboard
Supercharge your command line with OpenAI Codex integration. Get AI-powered coding assistance right in your fish shell.
⌨️ 🦾 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.
How do I install it?
- Install the OpenAI package.
pip3 install openai
- Install the plugin itself. You can install it using fisher:
fisher install tom-doerr/codex.fish
- Create a file called
openaiapircin~/.configwith your ORGANIZATION_ID and SECRET_KEY.
[openai]
organization_id = ...
secret_key = ...
- Run
fish, start typing and complete it using^X!