DEV Community

Cover image for Speedrun your AI coding workflow.⚡️
rx76d
rx76d

Posted on

Speedrun your AI coding workflow.⚡️

I got tired of the copy-paste chaos.

You know the drill: Copy index.ts, paste to ChatGPT. Copy utils.ts, paste to AI. Write prompt. Copy code back. Paste into VS Code. Realize you pasted it in the wrong place.

I wanted the speed of those expensive "AI IDEs" without the monthly subscription. So I built a bridge for my terminal.

Meet aidx

It’s a zero-config CLI that handles the transport layer between your code and the AI.

🚀 Try it out (No install needed)

npx aidx
Enter fullscreen mode Exit fullscreen mode

🔄 How it works

  1. Grab Context

npx aidx copy

  • Scans your folder (ignores node_modules, .git, .env).
  • Lets you pick files interactively.
  • Copies them to your clipboard with a strict XML prompt for the AI.
  1. Apply Changes

npx aidx apply

  • Reads the AI's XML response from your clipboard.
  • Shows you a Git-style diff (Green + / Red -).
  • Writes the changes to disk only after you confirm Y

💡 Why I use it daily

  • ⚡️ Fast: No more Alt-Tabbing five times for one bug fix.
  • 🛡️ Safe: It scans for secrets (API keys) and blocks them before copying.
  • 💾 Backups: It automatically creates .bak files before overwriting anything.
  • 💸 Free: No API keys required. It uses your existing ChatGPT/Claude web session.

🔗 Links
I'm really excited about this tool and how it streamlines my AI coding workflow. I'd love to hear your thoughts, suggestions for new features, or any bugs you might find!

GitHub: aidx-repo

Let's make AI coding more accessible for everyone.
Happy coding!

rx76d

Top comments (0)