<?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: MANAV mishra</title>
    <description>The latest articles on DEV Community by MANAV mishra (@manav_mishra_108).</description>
    <link>https://dev.to/manav_mishra_108</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%2F3310132%2F84e522cb-44bc-42a0-95f2-fd105a632f3d.jpg</url>
      <title>DEV Community: MANAV mishra</title>
      <link>https://dev.to/manav_mishra_108</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/manav_mishra_108"/>
    <language>en</language>
    <item>
      <title>I Built a Local AI Study Organizer for My Friend's Messy PDF Library</title>
      <dc:creator>MANAV mishra</dc:creator>
      <pubDate>Sun, 04 Oct 2026 16:25:20 +0000</pubDate>
      <link>https://dev.to/manav_mishra_108/i-built-a-local-ai-study-organizer-for-my-friends-messy-pdf-library-3p6m</link>
      <guid>https://dev.to/manav_mishra_108/i-built-a-local-ai-study-organizer-for-my-friends-messy-pdf-library-3p6m</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;A friend of mine has a large collection of study PDFs spread across different folders. The problem wasn't a lack of study material. The problem was finding the right material quickly and knowing what each document actually contained.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;StudyShelf AI&lt;/strong&gt;, a local-first study organizer that uses an open-weight AI model to turn a messy collection of study PDFs into an organized, searchable study shelf.&lt;/p&gt;

&lt;p&gt;The idea is simple:&lt;/p&gt;

&lt;p&gt;Instead of manually opening dozens of PDFs to figure out what they contain, upload them to StudyShelf AI and let local AI organize them.&lt;/p&gt;

&lt;p&gt;For each document, the application generates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Subject/category&lt;/li&gt;
&lt;li&gt;Relevant tags&lt;/li&gt;
&lt;li&gt;Priority&lt;/li&gt;
&lt;li&gt;Short summary&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The result is a much easier way to understand and search through a large study library.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Video demo:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;a href="https://drive.google.com/file/d/1q64ynhZF2pMHWX_bANhDKShb16rIvD0h/view?usp=sharing" rel="noopener noreferrer"&gt;Watch the StudyShelf AI demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The demo shows the complete workflow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Running the Qwen model locally through LM Studio&lt;/li&gt;
&lt;li&gt;Opening the StudyShelf AI application&lt;/li&gt;
&lt;li&gt;Uploading a study PDF&lt;/li&gt;
&lt;li&gt;Extracting the PDF text locally&lt;/li&gt;
&lt;li&gt;Sending the extracted text to the local AI model&lt;/li&gt;
&lt;li&gt;Generating the category, tags, priority and summary&lt;/li&gt;
&lt;li&gt;Adding the document to the searchable study shelf&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;GitHub repository:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;strong&gt;MANAV-MISHRA-BYTES/StudyShelf-AI&lt;/strong&gt;&lt;br&gt;
(&lt;a href="https://github.com/MANAV-MISHRA-BYTES/StudyShelf-AI" rel="noopener noreferrer"&gt;https://github.com/MANAV-MISHRA-BYTES/StudyShelf-AI&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;The complete source code, requirements, setup instructions and project documentation are available in the repository.&lt;/p&gt;
&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;StudyShelf AI is built with Python and Streamlit.&lt;/p&gt;

&lt;p&gt;The core pipeline is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Study PDF
   ↓
PyMuPDF
   ↓
Local text extraction
   ↓
LM Studio
   ↓
Qwen3.8 9B
   ↓
Category + Tags + Priority + Summary
   ↓
Searchable Study Shelf
   ↓
CSV Export
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Tech Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;Streamlit&lt;/li&gt;
&lt;li&gt;PyMuPDF&lt;/li&gt;
&lt;li&gt;Pandas&lt;/li&gt;
&lt;li&gt;Requests&lt;/li&gt;
&lt;li&gt;LM Studio&lt;/li&gt;
&lt;li&gt;Qwen3.8 9B Q5_K_M&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;PyMuPDF&lt;/strong&gt; handles local text extraction from PDF files.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Streamlit&lt;/strong&gt; provides the user interface.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Requests&lt;/strong&gt; communicates with the local LM Studio API.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pandas&lt;/strong&gt; is used to organize and export the generated document index.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;LM Studio&lt;/strong&gt; runs the open-weight model locally and provides the local API used by the application.&lt;/p&gt;

&lt;p&gt;For this project, I used &lt;strong&gt;Qwen3.8 9B Q5_K_M&lt;/strong&gt; through LM Studio.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open-weight AI was important to this project because the application deals with study documents that may contain private notes, assignments, personal annotations and other information that a student may not want to upload to a third-party AI service.&lt;/p&gt;

&lt;p&gt;With StudyShelf AI, the core document organization workflow can remain on the user's computer:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Study PDF
   ↓
Local text extraction
   ↓
Local LM Studio server
   ↓
Open-weight Qwen model
   ↓
Document organization
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There is no requirement for a cloud AI API for the core organization task.&lt;/p&gt;

&lt;p&gt;This gives the user more control over their study material and avoids sending the documents to an external AI service just to categorize and summarize them.&lt;/p&gt;

&lt;p&gt;It also means the model can be changed or upgraded without rebuilding the entire application around a proprietary API.&lt;/p&gt;

&lt;p&gt;For this project, open AI was not just a requirement of the challenge. Local inference directly supported the privacy goal of the application.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;One of the biggest lessons from this project was that a useful AI application does not necessarily need to be huge.&lt;/p&gt;

&lt;p&gt;I initially considered building a much larger study assistant with RAG, a database, authentication, question answering and several other features.&lt;/p&gt;

&lt;p&gt;But that would have added complexity without solving the immediate problem better.&lt;/p&gt;

&lt;p&gt;Instead, I focused on one useful workflow:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Take a messy collection of study PDFs and make it understandable.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That kept the application small enough to build during the challenge while keeping the AI component central to the solution.&lt;/p&gt;

&lt;h2&gt;
  
  
  Current Limitations
&lt;/h2&gt;

&lt;p&gt;StudyShelf AI is currently an MVP, so there are several things it does not do yet:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scanned or image-only PDFs are not currently OCR'd.&lt;/li&gt;
&lt;li&gt;It does not yet provide full RAG-based question answering.&lt;/li&gt;
&lt;li&gt;The organized library is not currently persisted in a database.&lt;/li&gt;
&lt;li&gt;The application expects a local LM Studio-compatible server.&lt;/li&gt;
&lt;li&gt;Search currently operates on generated document metadata rather than performing semantic search across the full document contents.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These limitations also provide a clear path for future versions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;Some improvements I would like to add in future versions are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OCR support for scanned documents&lt;/li&gt;
&lt;li&gt;Persistent document libraries&lt;/li&gt;
&lt;li&gt;Semantic search&lt;/li&gt;
&lt;li&gt;RAG-based question answering&lt;/li&gt;
&lt;li&gt;Flashcard generation&lt;/li&gt;
&lt;li&gt;Quiz generation&lt;/li&gt;
&lt;li&gt;Automatic revision scheduling&lt;/li&gt;
&lt;li&gt;Duplicate document detection&lt;/li&gt;
&lt;li&gt;Better document previews&lt;/li&gt;
&lt;li&gt;Support for additional local open-weight models&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Hacktoberfest
&lt;/h2&gt;

&lt;p&gt;StudyShelf AI was built for the &lt;strong&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The project addresses a real study-organization problem for a friend while using an open-weight AI model and local inference at the core of the solution.&lt;/p&gt;

&lt;p&gt;The challenge encouraged building something useful for a real person rather than simply building a large project for the sake of complexity.&lt;/p&gt;

&lt;p&gt;I therefore focused on one small but practical problem: making a large collection of study material easier to understand and navigate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;No partner category is being claimed for this submission.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;No agent session is being submitted.&lt;/p&gt;




&lt;p&gt;Thanks for checking out StudyShelf AI.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
