Bogdan Dragomir
/
Projects

Bluejay

AI CLI converts language to commands

Typing out complex terminal commands from memory gets old fast. Bluejay is a CLI tool that takes plain English and turns it into the right command.

How it works

Install globally via npm install -g @bvdr/bluejay, then use the j command. Tell it what you want — j "find all JavaScript files in this directory" — and it figures out the actual command, shows it to you for confirmation, then runs it.

It handles both interactive commands like vim and ssh (passes full terminal control) and non-interactive ones (captures and displays output). Configuration lives in ~/.j/ with a .j-preferences file for things like model choice, command confirmation, and history.

Tech

Built on Node.js with the OpenAI API doing the heavy lifting. Default model is gpt-4o. API key gets stored locally in ~/.j/.env — nothing leaves your machine except the prompt itself.

GitHubLiveNode.js