ChefMate is a CLI tool for automating CodeChef tasks via an interactive menu-driven interface. It streamlines the workflow of logging in, opening contests, solving problems, running demo test cases, submitting solutions, and tracking problem statuses in real time.
- Interactive Mode: User-friendly, arrow-key-driven menu
- Automated Login: Seamlessly sign into CodeChef
- Contest Management: Open contests by ID directly in browser
- Problem Solving Support: Scaffold and open solution files locally
- Demo Test Case Checking: Run and verify sample tests before submission
- Automated Submission: Submit solutions without leaving the terminal
- Problem Tracker: View status (✅ done | 🟡 pending | ❌ wrong)
- Configuration Management: Easily reconfigure user preferences
- Clear Terminal: Wipe the screen for a fresh view
You don’t need to clone any repository — just install via pip:
pip install chefmateThat’s it!
Run ChefMate in interactive mode:
chefmatepython3 -m chefmate.cliYes, it's that easy, just use 'chefmate' and you're ready to go.
On first run, ChefMate will prompt you to configure key settings:
- Username: Your CodeChef username
- Password: Your CodeChef password (input hidden)
- Default Solution Path: Local directory or file path pattern for solutions
- Chrome User Data Directory (optional): Path to Chrome profile data
- Chrome Profile (optional): Profile name within Chrome
- Preferred Language: Language for submissions (C++, Python 3, Java, etc.)
- Preferred Editor: Editor to open solution files (default, VS Code, Sublime, etc.)
When you launch interactive mode, you’ll see a menu:
==================================================
ChefMate Interactive Mode
==================================================
Use arrow keys to navigate and Enter to select any of the following:
This project is released under the MIT License. See LICENSE for details.







