An AI powered tool that'll help you prepare for your Lab Exams - currently incorporated only for S4 Operating Systems Lab.
- Generates detailed documentation for OS lab programs
- Provides proper output formats required in lab exams
- Creates downloadable PDFs for exam preparation
- Analyzes and explains C code implementations
- Overview: Core OS concept explanation
- Algorithm: Both short and detailed steps
- Code: Complete C implementation with comments
- Explanation: Detailed logic and implementation details
- Enter your OS lab question (e.g., "Implement FCFS scheduling")
- (Optional) Add your C code if you have an implementation
- Click "Generate Documentation"
- Select sections to include in PDF
- Download and use for exam preparation!
- Frontend: React + Vite, TailwindCSS
- Backend: FastAPI, Python
- AI: Google Gemini
- Documentation: PDF Generation
Requirements:
- Node.js v14+
- Python 3.8+
- Google Gemini API key
- Clone & Install
git clone https://github.com/yourusername/code4LabExam.git
cd code4LabExam- Set up Backend
cd server
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
# Create .env file with your Gemini API key
echo GEMINI_API_KEY=your_key_here > .env- Set up Frontend
cd client
npm install- Run the Application
# Terminal 1: Start Backend
cd server
venv\Scripts\activate
uvicorn main:app --reload
# Terminal 2: Start Frontend
cd client
npm run dev- Open
http://localhost:5173in your browser
MIT License - See LICENSE file
⭐ Star this repo if it helped with your OS Lab exam preparation!