<?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: Muhammad Monam Majeed</title>
    <description>The latest articles on DEV Community by Muhammad Monam Majeed (@monam1083).</description>
    <link>https://dev.to/monam1083</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%2F4172901%2F7cbfa1f6-c15f-4320-ab34-31c68391843b.jpg</url>
      <title>DEV Community: Muhammad Monam Majeed</title>
      <link>https://dev.to/monam1083</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/monam1083"/>
    <language>en</language>
    <item>
      <title>Study Buddy: Snap a Textbook Page, Get a Tutor, Powered by Gemma</title>
      <dc:creator>Muhammad Monam Majeed</dc:creator>
      <pubDate>Tue, 27 Oct 2026 14:03:24 +0000</pubDate>
      <link>https://dev.to/monam1083/study-buddy-snap-a-textbook-page-get-a-tutor-powered-by-gemma-2h3</link>
      <guid>https://dev.to/monam1083/study-buddy-snap-a-textbook-page-get-a-tutor-powered-by-gemma-2h3</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;Study Buddy is a Flutter app for students who are stuck on a page. You snap a photo of a textbook page, handwritten notes or a diagram, and the app:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Explains it step by step&lt;/strong&gt; in plain language&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generates quiz questions&lt;/strong&gt; from the same material&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Saves them as flashcards&lt;/strong&gt; for later revision&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I built it with Pakistani university students in mind: [add your real reason, e.g. exam-heavy semesters, notes shared as photos, limited data].&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The theme:&lt;/strong&gt; [Your interpretation, e.g. every notebook is a ghost of the student who wrote it, and Study Buddy lets those old pages speak again.]&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://github.com/Monam1083/study-buddy" rel="noopener noreferrer"&gt;https://github.com/Monam1083/study-buddy&lt;/a&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; Flutter / Dart&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; Gemma ([variant], served [locally / via Google AI / other provider])&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flow:&lt;/strong&gt; photo → Gemma explains step by step → second prompt returns quiz questions as structured output → saved as flashcards&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Storage:&lt;/strong&gt; [what you actually used]&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hardest part:&lt;/strong&gt; [one honest challenge, e.g. messy handwriting or diagrams]&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;[Your real answer. Open-weight Gemma lets you choose the model size, control the prompts and not depend on one closed API. Add what mattered for students: cost, privacy of their notes, patchy connectivity. Say where it beat a closed option.]&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Best Use of Gemma&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>BayanAI: Talk to Your Khata Instead of Writing It</title>
      <dc:creator>Muhammad Monam Majeed</dc:creator>
      <pubDate>Sun, 25 Oct 2026 08:13:46 +0000</pubDate>
      <link>https://dev.to/monam1083/bayanai-talk-to-your-khata-instead-of-writing-it-32dl</link>
      <guid>https://dev.to/monam1083/bayanai-talk-to-your-khata-instead-of-writing-it-32dl</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;p&gt;Every Karyana (small grocery) shop in Pakistan runs on a paper khata: a notebook of who took what on credit, who paid back, and what's left on the shelf. It works, but it costs the shopkeeper time at the busiest moment, when there's a queue at the counter and a pen in one hand.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;BayanAI&lt;/strong&gt; is a voice-controlled khata and stock app. The owner taps one button and speaks, in English, Urdu or Roman Urdu:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Ahmad took 500 rupees of sugar on credit"&lt;br&gt;
"احمد نے پانچ سو روپے کی چینی ادھار لی"&lt;br&gt;
"Ahmad ne 200 rupay wapas diye"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The app shows what it understood. The owner taps &lt;strong&gt;Save&lt;/strong&gt;, and the customer's balance and the stock update instantly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The lazy payoff:&lt;/strong&gt; the bookkeeping becomes one spoken sentence, said while the shopkeeper is still serving the customer. One sentence can even contain several commands.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Command&lt;/th&gt;
&lt;th&gt;Example&lt;/th&gt;
&lt;th&gt;Effect&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;credit&lt;/td&gt;
&lt;td&gt;"Bilal took 2 kilo rice on credit, 600 rupees"&lt;/td&gt;
&lt;td&gt;Bilal's balance +600, rice stock −2 kg&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;payment&lt;/td&gt;
&lt;td&gt;"Ahmad paid back 200 rupees"&lt;/td&gt;
&lt;td&gt;Ahmad's balance −200&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;sale&lt;/td&gt;
&lt;td&gt;"Sold 10 kilo flour"&lt;/td&gt;
&lt;td&gt;flour stock −10 kg&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;restock&lt;/td&gt;
&lt;td&gt;"Add 50 packets of tea to stock"&lt;/td&gt;
&lt;td&gt;tea stock +50 packets&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Code (MIT licensed): &lt;a href="https://github.com/Monam1083/BayanAI-" rel="noopener noreferrer"&gt;https://github.com/Monam1083/BayanAI-&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Flutter app ──WAV──► AI service (local laptop)
                     1. faster-whisper: speech → text
                     2. Ollama (open LLM): text → JSON
                        {action, customer, item, qty, amount}
Flutter app ◄── confirm card ── tap Save ──► Firebase (Auth + Firestore)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Speech to text:&lt;/strong&gt; Whisper through &lt;code&gt;faster-whisper&lt;/code&gt;, set to Urdu by default. It can be switched to English or auto-detect.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Understanding:&lt;/strong&gt; an open LLM served by Ollama turns the transcript into structured commands. I ran &lt;code&gt;qwen2.5:3b&lt;/code&gt; on my laptop; the default in the repo is &lt;code&gt;qwen2.5:7b&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;App and storage:&lt;/strong&gt; Flutter, with Firebase Auth and Cloud Firestore. Balances and stock use atomic increments, and each command is saved as one batch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security:&lt;/strong&gt; Firestore rules limit each user to their own &lt;code&gt;shops/{uid}&lt;/code&gt; data.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A few details that mattered in practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Mixed languages:&lt;/strong&gt; shopkeepers switch between English, Urdu and Roman Urdu mid-sentence. Roman Urdu product names are mapped to one English name (cheeni → sugar, chawal → rice), so stock stays in one line per product.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Loose name matching:&lt;/strong&gt; "Ahmed" finds "Ahmad", and a new name creates a new customer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Confirm before save:&lt;/strong&gt; nothing is written until the owner taps Save. Noisy shops and mixed Urdu/English will sometimes produce wrong transcriptions, so the confirm card is the safety net. The owner can fix the text and re-run it, remove a wrong card, or type the command instead.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Open Innovation Matters Here
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The voice and the model stay on the shop's own machine.&lt;/strong&gt; A khata records who owes whom, which is sensitive in a small community. Speech recognition and understanding run locally, so no audio goes to a paid AI API. To be precise, the ledger itself is stored in Firebase. What stays local is the voice and the model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No per-request cost.&lt;/strong&gt; Whisper and the LLM run on a laptop, so a shopkeeper isn't paying every time they speak.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Models can be swapped to fit the hardware.&lt;/strong&gt; The LLM is one environment variable (&lt;code&gt;OLLAMA_MODEL&lt;/code&gt;) and the Whisper size is another (&lt;code&gt;WHISPER_MODEL&lt;/code&gt;). On a weak laptop I could drop to a smaller model, and a stronger machine can use a bigger one for better Urdu. A closed API wouldn't let me make that trade-off.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Urdu is supported.&lt;/strong&gt; Whisper handles Urdu, and an open LLM can be prompted to understand Roman Urdu, a messy mix of languages that many products ignore.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Limitations and What's Next
&lt;/h2&gt;

&lt;p&gt;BayanAI is a hackathon prototype, and I want to be upfront about its limits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Login is anonymous, so a shop's data is tied to one app install.&lt;/li&gt;
&lt;li&gt;The AI service has no password and is meant for a trusted local network.&lt;/li&gt;
&lt;li&gt;Saved entries can't be edited or undone yet.&lt;/li&gt;
&lt;li&gt;Speech recognition on noisy shop audio and mixed Urdu/English can be wrong.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Next steps are phone or email login, edit and undo, and running everything on-device so the laptop isn't needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Team
&lt;/h2&gt;

&lt;p&gt;Built at Hacktoberfest Hack Day Lahore 2026 by [Muhammad Monam Majeed ].&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Hello Every One</title>
      <dc:creator>Muhammad Monam Majeed</dc:creator>
      <pubDate>Fri, 09 Oct 2026 09:15:17 +0000</pubDate>
      <link>https://dev.to/monam1083/hello-every-one-g2b</link>
      <guid>https://dev.to/monam1083/hello-every-one-g2b</guid>
      <description></description>
    </item>
  </channel>
</rss>
