<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Masham</title>
    <description>The latest articles on DEV Community by Masham (@masham_).</description>
    <link>https://dev.to/masham_</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4155137%2F39df6a68-3ccb-4ec0-8eaf-6ed03f582ee5.png</url>
      <title>DEV Community: Masham</title>
      <link>https://dev.to/masham_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/masham_"/>
    <language>en</language>
    <item>
      <title>Deadline Guardian : Built for my All-Nighter friend</title>
      <dc:creator>Masham</dc:creator>
      <pubDate>Mon, 05 Oct 2026 07:33:53 +0000</pubDate>
      <link>https://dev.to/masham_/deadline-guardian-built-for-my-all-nighter-friend-3cha</link>
      <guid>https://dev.to/masham_/deadline-guardian-built-for-my-all-nighter-friend-3cha</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;When 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.&lt;/p&gt;

&lt;p&gt;That's why I built &lt;strong&gt;Deadline Guardian&lt;/strong&gt;, a RAG-based project for the &lt;strong&gt;DEV Hacktoberfest Weekend Challenge — "Build for a Friend"!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We can all work together on this project to improve this small Deadline Guardian for all of us!&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 Key Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;❓ &lt;strong&gt;Ask Anything (Grounded RAG with Citations):&lt;/strong&gt; Answers questions strictly using your uploaded notes, complete with exact inline file and page citations such as &lt;code&gt;[ch4.pptx p.11]&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;📝 &lt;strong&gt;High-Yield Cheat Sheets:&lt;/strong&gt; Condenses dense chapters into quick, digestible revision cheat sheets.&lt;/li&gt;
&lt;li&gt;⏱️ &lt;strong&gt;Deadline Panic Plan:&lt;/strong&gt; Tell it how many hours you have left before the exam. It automatically prioritizes topics into tiers — 🔴 High-Yield, 🟡 Medium, and 🟢 Low — and generates an hour-by-hour actionable timetable.&lt;/li&gt;
&lt;li&gt;📂 &lt;strong&gt;Multi-Format Support:&lt;/strong&gt; Parses digital PDFs, PPT/PPTX slide decks, plain text notes, Markdown files, and photos of handwritten pages or diagrams.&lt;/li&gt;
&lt;li&gt;🧮 &lt;strong&gt;LaTeX Math &amp;amp; Compilable Code:&lt;/strong&gt; Renders mathematical equations using KaTeX and formats programming algorithms such as Peterson's Solution and CPU scheduling as compilable C/C++ code blocks.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq4ghr6bohvp9hgjruk7w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq4ghr6bohvp9hgjruk7w.png" alt="Deadline Guardian UI" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foxmz1chp27rwoybs598e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foxmz1chp27rwoybs598e.png" alt="Deadline Guardian RAG Interface" width="800" height="394"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🔗 Links
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;a href="https://github.com/Masham-0/deadline-guardian" rel="noopener noreferrer"&gt;https://github.com/Masham-0/deadline-guardian&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Live Demo:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;a href="https://deadline-guardian-3195.onrender.com/" rel="noopener noreferrer"&gt;https://deadline-guardian-3195.onrender.com/&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  🧠 Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;LLM:&lt;/strong&gt; Gemma 2B&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embeddings:&lt;/strong&gt; BGE-small&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Architecture:&lt;/strong&gt; Retrieval-Augmented Generation (RAG)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  ⚙️ Steps to Run Locally
&lt;/h2&gt;
&lt;h3&gt;
  
  
  1. Clone the Repository
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/Masham-0/deadline-guardian.git
&lt;span class="nb"&gt;cd &lt;/span&gt;deadline-guardian
python3 &lt;span class="nt"&gt;-m&lt;/span&gt; venv .venv
&lt;span class="nb"&gt;source&lt;/span&gt; .venv/bin/activate
pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  2. Configure Environment
&lt;/h3&gt;

&lt;p&gt;Create a &lt;code&gt;.env&lt;/code&gt; file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;LLM_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai/
LLM_API_KEY=your_api_key_here
LLM_MODEL=gemma-2-9b-it
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  3. Start the Server
&lt;/h3&gt;

&lt;p&gt;For the Google API setup:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;uvicorn main:app &lt;span class="nt"&gt;--reload&lt;/span&gt; &lt;span class="nt"&gt;--host&lt;/span&gt; 127.0.0.1 &lt;span class="nt"&gt;--port&lt;/span&gt; 8000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a local Ollama setup:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ollama pull gemma:2b
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then start the server with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;LLM_BASE_URL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;http://localhost:11434/v1 &lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="nv"&gt;LLM_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;ollama &lt;span class="se"&gt;\&lt;/span&gt;
&lt;span class="nv"&gt;LLM_MODEL&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;gemma:2b &lt;span class="se"&gt;\&lt;/span&gt;
uvicorn main:app &lt;span class="nt"&gt;--reload&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  👨‍💻 Author &amp;amp; Credits
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Developer:&lt;/strong&gt; Mohammad Masham&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Email:&lt;/strong&gt; &lt;a href="mailto:mohd.masham@gmail.com"&gt;mohd.masham@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Institution:&lt;/strong&gt; Netaji Subhas University of Technology (NSUT)&lt;br&gt;&lt;br&gt;
&lt;strong&gt;Hackathon:&lt;/strong&gt; DEV Hacktoberfest Weekend Challenge 2026 — Build for a Friend&lt;/p&gt;

&lt;p&gt;If you find &lt;strong&gt;Deadline Guardian&lt;/strong&gt; helpful for your exam prep, feel free to drop a ⭐ on the GitHub repository!&lt;/p&gt;

&lt;p&gt;Happy studying! 📚&lt;/p&gt;

</description>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>programming</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
