{"slug": "deadline-guardian-built-for-my-all-nighter-friend", "title": "Deadline Guardian : Built for my All-Nighter friend", "summary": "Mohammad Masham, a developer at Netaji Subhas University of Technology, built Deadline Guardian, a retrieval-augmented generation (RAG) tool that answers exam-prep questions from a student's own slides, notes, and past papers with cited sources such as '[ch4.pptx p.11]'. The project, created for the DEV Hacktoberfest Weekend Challenge 'Build for a Friend', runs on a FastAPI/uvicorn server and supports either Google's gemma-2-9b-it API or a local Ollama gemma:2b model, with code available on GitHub and a live demo hosted on Render.", "body_md": "Every semester, my college friend and I face the exact same chaos before our exams: piles of slides and notes, scanned PDFs, previous-year papers, syllabi, and only a few hours left.\n\nWhen you're pulling a deadline all-nighter, reading through hundreds of slides line-by-line is impossible. Asking a standard LLM often leads to generic fluff or hallucinated answers with zero references.\n\nThat's why I built **Deadline Guardian**, a RAG-based project for the **DEV Hacktoberfest Weekend Challenge — \"Build for a Friend\"!**\n\n**We can all work together on this project to improve this small Deadline Guardian for all of us!**\n\n`[ch4.pptx p.11]`.\n**GitHub Repository:**\n\n[https://github.com/Masham-0/deadline-guardian](https://github.com/Masham-0/deadline-guardian)\n\n**Live Demo:**\n\n[https://deadline-guardian-3195.onrender.com/](https://deadline-guardian-3195.onrender.com/)\n\n```\ngit clone https://github.com/Masham-0/deadline-guardian.git\ncd deadline-guardian\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\n```\n\nCreate a `.env` file:\n\n```\nLLM_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai/\nLLM_API_KEY=your_api_key_here\nLLM_MODEL=gemma-2-9b-it\n```\n\nFor the Google API setup:\n\n```\nuvicorn main:app --reload --host 127.0.0.1 --port 8000\n```\n\nFor a local Ollama setup:\n\n```\nollama pull gemma:2b\n```\n\nThen start the server with:\n\n```\nLLM_BASE_URL=http://localhost:11434/v1 \\\nLLM_API_KEY=ollama \\\nLLM_MODEL=gemma:2b \\\nuvicorn main:app --reload\n```\n\n**Developer:** Mohammad Masham\n\n**Email:** [mohd.masham@gmail.com](mailto:mohd.masham@gmail.com)\n\n**Institution:** Netaji Subhas University of Technology (NSUT)\n\n**Hackathon:** DEV Hacktoberfest Weekend Challenge 2026 — Build for a Friend\n\nIf you find **Deadline Guardian** helpful for your exam prep, feel free to drop a ⭐ on the GitHub repository!\n\nHappy studying! 📚", "url": "https://wpnews.pro/news/deadline-guardian-built-for-my-all-nighter-friend", "canonical_source": "https://dev.to/masham_/deadline-guardian-built-for-my-all-nighter-friend-3cha", "published_at": "2026-10-05 07:33:53+00:00", "updated_at": "2026-10-05 07:48:32.709235+00:00", "lang": "en", "topics": ["generative-ai", "large-language-models", "ai-tools", "ai-products"], "entities": ["Mohammad Masham", "Deadline Guardian", "Netaji Subhas University of Technology", "DEV Hacktoberfest Weekend Challenge", "GitHub", "Ollama", "Gemma", "Render"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/deadline-guardian-built-for-my-all-nighter-friend", "markdown": "https://wpnews.pro/news/deadline-guardian-built-for-my-all-nighter-friend.md", "text": "https://wpnews.pro/news/deadline-guardian-built-for-my-all-nighter-friend.txt", "jsonld": "https://wpnews.pro/news/deadline-guardian-built-for-my-all-nighter-friend.jsonld"}}