A desktop application to help with coding interviews.
- Make sure you have Node.js installed on your computer
- Git installed on your computer
- A Gemini API key (get it from Google AI Studio)
- Clone the repository:
git clone [repository-url]
cd interview-coder- Install dependencies:
npm install- Set up environment variables:
- Create a file named
.envin the root folder - Add your Gemini API key:
GEMINI_API_KEY=your_api_key_here- Save the file
- Create a file named
- Open a terminal and run:
npm run dev -- --port 5180- Open another terminal in the same folder and run:
NODE_ENV=development npm run electron:devnpm run app:buildThe built app will be in the release folder.
-
Closing the App:
- Press
Cmd + Q(Mac) orCtrl + Q(Windows/Linux) to quit - Or use Activity Monitor/Task Manager to close
Interview Coder - The X button currently doesn't work (known issue)
- Press
-
If the app doesn't start:
- Make sure no other app is using port 5180
- Try killing existing processes:
# Find processes using port 5180 lsof -i :5180 # Kill them (replace [PID] with the process ID) kill [PID]
-
Keyboard Shortcuts:
Cmd/Ctrl + B: Toggle window visibilityCmd/Ctrl + H: Take screenshotCmd/Ctrl + Arrow Keys: Move window
If you see errors:
- Delete the
node_modulesfolder - Delete
package-lock.json - Run
npm installagain - Try running the app again using Method 1