DEV Community

Jerry Satpathy
Jerry Satpathy

Posted on

I Built an AI-Powered Interview Simulator That Runs Entirely in Your Terminal

Interview prep is mostly passive.

You read through question lists, watch videos, or practice with a friend if you can find one. None of it feels particularly real.

So I built Interview Coach, a CLI tool that runs mock interviews, scores your answers, and gives you a breakdown of what you did well and where you fell short.

How it works

interview-coach start
Enter fullscreen mode Exit fullscreen mode

Pick a role, an experience level, and how many questions you want. The interview starts immediately.

★ Question 1/5

Category: React
Difficulty: Medium

How would you optimise a React application experiencing unnecessary re-renders?
Enter fullscreen mode Exit fullscreen mode

After each answer, you get:

  • A score
  • A verdict
  • Specific feedback
  • What a strong answer would have looked like

At the end, a full session report is generated.


It's not just for developers

The questions adapt to the role you choose. A few examples:

Content WriterHow would you rewrite a technical article for a non-technical audience?

Sales ExecutiveA prospect says your product is too expensive. How would you respond?

TeacherHow would you explain a difficult concept to students with different learning styles?

Same tool, any profession.


Under the hood

The stack is intentionally small: Node.js, Commander, Inquirer, Groq, Zod, Chalk, Ora, Boxen, Webpack.

Sessions are saved locally, so you can review past reports and track how you're improving over time. Nothing leaves your machine except the requests to generate questions and evaluate answers.


Try it

npm install -g interview-coach
Enter fullscreen mode Exit fullscreen mode

or

npx interview-coach
Enter fullscreen mode Exit fullscreen mode

Feedback, bug reports, and contributions are welcome.
And as always, happy coding!

Top comments (0)