<?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: Aniket Manna</title>
    <description>The latest articles on DEV Community by Aniket Manna (@aniket_manna_b1eca63b1faa).</description>
    <link>https://dev.to/aniket_manna_b1eca63b1faa</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%2F4204130%2Fe2613e6e-5a8b-42c4-b765-7594581275a2.jpeg</url>
      <title>DEV Community: Aniket Manna</title>
      <link>https://dev.to/aniket_manna_b1eca63b1faa</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aniket_manna_b1eca63b1faa"/>
    <language>en</language>
    <item>
      <title>HF chaallenges</title>
      <dc:creator>Aniket Manna</dc:creator>
      <pubDate>Sat, 24 Oct 2026 07:58:19 +0000</pubDate>
      <link>https://dev.to/aniket_manna_b1eca63b1faa/hf-chaallenges-2mok</link>
      <guid>https://dev.to/aniket_manna_b1eca63b1faa/hf-chaallenges-2mok</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

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

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

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

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

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

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

&lt;p&gt;You are a senior Python engineer helping me build a hackathon project in 1-2 days.&lt;/p&gt;

&lt;h2&gt;
  
  
  Project: LazyLecture
&lt;/h2&gt;

&lt;p&gt;A local, offline tool that turns lecture files into study material automatically.&lt;br&gt;
I drop a PDF (or audio file) into an "inbox" folder. A watcher detects it, a local&lt;br&gt;
open-weight LLM processes it, and the output appears in an "output" folder:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;summary.md - a one-page summary with headings&lt;/li&gt;
&lt;li&gt;flashcards.md and flashcards.csv (Anki-importable: front,back)&lt;/li&gt;
&lt;li&gt;quiz.md - 5 multiple-choice questions with answers and one-line explanations&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Hard constraints
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Everything runs locally and offline. No paid or cloud APIs.&lt;/li&gt;
&lt;li&gt;LLM via Ollama (default model: qwen2.5:7b; model name must be a config setting
so I can swap in llama3.1:8b or a 3B model and compare).&lt;/li&gt;
&lt;li&gt;Python 3.11+, libraries: watchdog, pypdf, requests (or the ollama python client),
pyyaml. Optional: whisper.cpp for audio transcription.&lt;/li&gt;
&lt;li&gt;Must work on Windows, macOS and Linux (use pathlib, no shell-specific code).&lt;/li&gt;
&lt;li&gt;Keep it simple: no frameworks beyond what's listed, minimal files, readable code.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Architecture
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;config.yaml: model name, inbox/output paths, chunk size, number of flashcards/questions&lt;/li&gt;
&lt;li&gt;extract.py: PDF -&amp;gt; clean text (handle empty or scanned pages gracefully)&lt;/li&gt;
&lt;li&gt;chunk.py: split text into chunks that fit the model's context window&lt;/li&gt;
&lt;li&gt;llm.py: wrapper around Ollama with retries and timeouts&lt;/li&gt;
&lt;li&gt;pipeline.py: chunk -&amp;gt; summarize each chunk -&amp;gt; merge into final summary -&amp;gt;
generate flashcards -&amp;gt; generate quiz. Ask the model for JSON for flashcards/quiz,
validate it, and retry once if the JSON is malformed.&lt;/li&gt;
&lt;li&gt;watcher.py: watchdog loop that processes new files, waits until the file has
finished copying, and skips files already processed.&lt;/li&gt;
&lt;li&gt;main.py: CLI entry point (&lt;code&gt;python main.py watch&lt;/code&gt; and &lt;code&gt;python main.py run &amp;lt;file&amp;gt;&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Optional stretch: app.py, a small Streamlit page to take the quiz and track
wrong answers.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to work
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;First, show me the plan and file tree in under 15 lines. Wait for my OK.&lt;/li&gt;
&lt;li&gt;Build in small steps: (a) extract + chunk, (b) LLM wrapper, (c) pipeline,
(d) watcher, (e) outputs. After each step, tell me exactly how to run and test it.&lt;/li&gt;
&lt;li&gt;Write a few pytest tests for chunking and JSON validation, with the LLM mocked.&lt;/li&gt;
&lt;li&gt;Log clearly (which file, which stage, time taken per stage). I want timing data
for my write-up.&lt;/li&gt;
&lt;li&gt;Add a benchmark script that runs the same PDF through two different models and
prints time taken and output length, so I can compare speed vs. quality.&lt;/li&gt;
&lt;li&gt;Finish with a README: what it does, setup steps (install Ollama, pull model,
pip install), usage, a "why open-source/local matters" section, and troubleshooting.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Quality bar
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A new user can go from clone to working output in under 10 minutes.&lt;/li&gt;
&lt;li&gt;Errors never crash the watcher; they are logged and the file is moved to a "failed" folder.&lt;/li&gt;
&lt;li&gt;Explain any non-obvious decision in one sentence. Don't add features I didn't ask for.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Start with step 1 (the plan).&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>hfdone</title>
      <dc:creator>Aniket Manna</dc:creator>
      <pubDate>Sat, 24 Oct 2026 07:55:53 +0000</pubDate>
      <link>https://dev.to/aniket_manna_b1eca63b1faa/hfdone-3el</link>
      <guid>https://dev.to/aniket_manna_b1eca63b1faa/hfdone-3el</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

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

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

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

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

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

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

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>starts</title>
      <dc:creator>Aniket Manna</dc:creator>
      <pubDate>Sat, 24 Oct 2026 07:42:58 +0000</pubDate>
      <link>https://dev.to/aniket_manna_b1eca63b1faa/starts-2boc</link>
      <guid>https://dev.to/aniket_manna_b1eca63b1faa/starts-2boc</guid>
      <description></description>
    </item>
  </channel>
</rss>
