<?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: Aswathy</title>
    <description>The latest articles on DEV Community by Aswathy (@aswathy_4793040ca024945e3).</description>
    <link>https://dev.to/aswathy_4793040ca024945e3</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%2F4156923%2F37bb614d-d5c8-4db2-ae9e-51b84ff1223a.jpg</url>
      <title>DEV Community: Aswathy</title>
      <link>https://dev.to/aswathy_4793040ca024945e3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aswathy_4793040ca024945e3"/>
    <language>en</language>
    <item>
      <title>I Built an Offline AI Accounts Book for My Father's Business</title>
      <dc:creator>Aswathy</dc:creator>
      <pubDate>Mon, 05 Oct 2026 05:06:40 +0000</pubDate>
      <link>https://dev.to/aswathy_4793040ca024945e3/i-built-an-offline-ai-accounts-book-for-my-fathers-business-2695</link>
      <guid>https://dev.to/aswathy_4793040ca024945e3/i-built-an-offline-ai-accounts-book-for-my-fathers-business-2695</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;My father runs a small local bakery and snack shop, and for years his accounts have lived in a notebook. Every day he writes down what he bought for the shop (snacks, milk, drinks, samosa and more), how much cash he received, how much came in online, and how much he set aside for tomorrow. At the end of the month, he adds it all up by hand.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;Bakery Daily Helper&lt;/strong&gt; to make that routine easier. He types the day's note the way he already writes it, for example:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;snacks 3456, milk 800, samosa 500, cash 6100, online 2000, kept 2000&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The app reads the note, fills in a table, and lets him check and correct it before saving. From there, he gets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A monthly report&lt;/strong&gt; with total credited (cash + online), total spent on stock, and the difference&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Charts&lt;/strong&gt; showing spending by category and money in and out, day by day&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask your notebook&lt;/strong&gt;, where he can ask questions like "How much did I spend on milk last week?"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What to load next&lt;/strong&gt;, with simple suggestions based on the last seven days&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Daily Book:&lt;br&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%2Fuo7spamfuevq0uliffdl.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%2Fuo7spamfuevq0uliffdl.png" alt="Daily Book page where a typed note is turned into a table of purchases, with cash, online and kept-for-tomorrow amounts" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Month report:&lt;br&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%2Frosaopogpq87ybenqz9o.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%2Frosaopogpq87ybenqz9o.png" alt="Month report page showing credited, debited and difference amounts with a bar chart of spending by category" width="799" height="402"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ask your notebook: &lt;br&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%2F8k4vdkkkhsd7f3h9ljhq.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%2F8k4vdkkkhsd7f3h9ljhq.png" alt="Ask your notebook page answering a question about spending, with a box showing how the question was understood" width="799" height="532"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What to load next:&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%2Fl1c2zk58urrnby1pfjtn.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%2Fl1c2zk58urrnby1pfjtn.png" alt="Suggestions on ivesting and managing money and what to load next so the sales increases" width="800" height="424"&gt;&lt;/a&gt;&lt;br&gt;
All screenshots and the video use fake sample data, not real numbers from the business.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/_hRRXC_8TLI" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

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


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Aswathykrishnanr" rel="noopener noreferrer"&gt;
        Aswathykrishnanr
      &lt;/a&gt; / &lt;a href="https://github.com/Aswathykrishnanr/Bakery-daily-helper" rel="noopener noreferrer"&gt;
        Bakery-daily-helper
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Local AI accounts helper for a small bakery, built with Gemma, Ollama and Streamlit.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Bakery Daily Helper&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;A tool I built for my father's small local bakery. He keeps a daily notebook of what he buys for the shop, the cash and online money he receives, and what he keeps for tomorrow. He types the day's note in plain English, and Gemma fills in the table. He can also ask questions like "how much did I spend on milk last week?"&lt;/p&gt;
&lt;p&gt;Built for Hacktoberfest Weekend DEV Challenge: Build for a Friend  -
Build something with open-source AI at its core&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;How the AI is used&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Gemma (open-weight, by Google) runs locally through Ollama.&lt;/li&gt;
&lt;li&gt;It reads the daily note into a table, and turns questions into queries.&lt;/li&gt;
&lt;li&gt;Python (pandas) does all the maths, so numbers are always exact.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Why open-weight&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Private (shop data never leaves the laptop), free, and works offline.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Run it&lt;/h2&gt;

&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Install Ollama (&lt;a href="https://ollama.com" rel="nofollow noopener noreferrer"&gt;https://ollama.com&lt;/a&gt;), then run: ollama pull gemma3:4b&lt;/li&gt;
&lt;li&gt;pip install…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Aswathykrishnanr/Bakery-daily-helper" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


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

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gemma&lt;/strong&gt;, Google's open-weight model, running locally through &lt;strong&gt;Ollama&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Streamlit&lt;/strong&gt; for the interface and &lt;strong&gt;pandas&lt;/strong&gt; for the calculations&lt;/li&gt;
&lt;li&gt;Two small CSV files on the laptop to store the data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Gemma has two jobs in this project. First, it reads the daily note and turns it into a structured table. Second, it turns a question such as "Which category did I spend the most on this month?" into a small query. Python then runs that query on the saved data and finds the exact number, and Gemma explains the result in a friendly sentence.&lt;/p&gt;

&lt;p&gt;I let Python handle all the maths on purpose. Small models are not reliable with arithmetic, and a shopkeeper's totals have to be exactly right.&lt;/p&gt;

&lt;p&gt;A few things I learned along the way:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model size matters.&lt;/strong&gt; With the smallest model (Gemma 1B), the app sometimes skipped items in a note and filed a whole amount under "Other spendings". Switching to Gemma 4B on my 8 GB laptop and tightening the prompt fixed this. The app also shows a table before saving, so any mistake can be corrected by hand.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I had the data model wrong at first.&lt;/strong&gt; I assumed cash and online money were recorded for each category. My father pointed out that they are whole-day totals, and only purchases are per category. I rebuilt the app around that, and it became far more realistic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I used an AI assistant&lt;/strong&gt; to help write and debug parts of the code, then tested and adjusted everything myself.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;My father's notebook is his business. It shows what he buys, what he earns, and how his shop is doing. With a closed AI service, all of that would travel to someone else's server, and it would need an internet connection and probably a subscription. With Gemma running on the laptop, nothing leaves the machine, it costs nothing to run, and it works with no internet. For a small shop, that matters.&lt;/p&gt;

&lt;p&gt;Being open also gave me control. I could swap Gemma 1B for 4B, rewrite the prompt, and match the categories to his real shop without asking anyone for permission.&lt;/p&gt;

&lt;p&gt;To be honest, a closed model would probably be smarter and misread fewer notes. Here, privacy, zero cost and offline use were worth more than raw intelligence. And because Python does the calculations, the totals are always exact, and the table he checks before saving lets him catch any note the model misreads.&lt;/p&gt;

&lt;h2&gt;
  
  
  What My Father Said
&lt;/h2&gt;

&lt;p&gt;I showed him the app, and he liked it. He told me it is now much easier to understand how the shop is doing through the charts and graphs: he can quickly see what is going up or down, from his spending by category to the money coming in each day, and he can check the monthly credited money without any effort. Before, he had to keep records manually in a notebook. Now every entry is saved automatically. He also liked that the app can show patterns in the middle of the month, such as where to look more closely and where to invest.&lt;/p&gt;

&lt;p&gt;He gave me honest feedback as well. Some of the tips on the "What to load next" page weren't realistic for a shop like his. They sounded like financial plans that, from his experience, would never work in practice. He still found the app useful, but his comment taught me something important: AI suggestions are only a starting point, and a shopkeeper's experience matters more. Making those suggestions more realistic is the first thing I want to improve.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Reading a photo of the notebook page instead of typing&lt;/li&gt;
&lt;li&gt;Suggestions that reflect real shop conditions, using my father's own corrections&lt;/li&gt;
&lt;li&gt;Voice entry, so he can simply speak the day's note &lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Gemma (partner technology) &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thank you for reading, and thanks to the Hacktoberfest team for the live streams that helped me get started. &lt;/p&gt;

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