<?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: Kashyap Patel</title>
    <description>The latest articles on DEV Community by Kashyap Patel (@kashyap_patel_64fd110a57c).</description>
    <link>https://dev.to/kashyap_patel_64fd110a57c</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%2F4155469%2F26424e12-3cd8-4fd4-b70e-da42aad73ce2.png</url>
      <title>DEV Community: Kashyap Patel</title>
      <link>https://dev.to/kashyap_patel_64fd110a57c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kashyap_patel_64fd110a57c"/>
    <language>en</language>
    <item>
      <title>ArthLedger — Smart Accounting. Stronger Businesses.</title>
      <dc:creator>Kashyap Patel</dc:creator>
      <pubDate>Fri, 16 Oct 2026 19:01:08 +0000</pubDate>
      <link>https://dev.to/kashyap_patel_64fd110a57c/arthledger-smart-accounting-stronger-businesses-530n</link>
      <guid>https://dev.to/kashyap_patel_64fd110a57c/arthledger-smart-accounting-stronger-businesses-530n</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  ArthLedger — Smart Accounting. Stronger Businesses.
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;A private, local-first AI accounting and business management platform designed for Indian freelancers, independent professionals, local retail shops, wholesalers, and small businesses.&lt;/p&gt;
&lt;/blockquote&gt;




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

&lt;p&gt;&lt;strong&gt;ArthLedger&lt;/strong&gt; (from the Sanskrit &lt;em&gt;Arth&lt;/em&gt;, meaning wealth, purpose, and finance) is a full-featured, local-first web application that bridges the gap between traditional double-entry bookkeeping and local artificial intelligence.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Problem It Solves
&lt;/h3&gt;

&lt;p&gt;Small business owners and freelancers face three major problems with existing accounting software:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Predatory Recurring Subscriptions:&lt;/strong&gt; Cloud SaaS platforms (QuickBooks, Zoho, FreshBooks) charge escalating monthly fees that disproportionately hurt early-stage side hustles, local merchants, and independent consultants.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Financial Privacy &amp;amp; Data Exposure:&lt;/strong&gt; Most "AI-powered" accounting tools silently transmit bank statements, vendor receipts, customer lists, and proprietary revenue numbers to third-party cloud AI APIs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flawed Multi-Currency Support:&lt;/strong&gt; Many tools either lack genuine multi-currency support, use inaccurate binary floating-point calculations, or silently overwrite historical transactions when exchange rates fluctuate.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Who Would Pay For It?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Indian Freelancers &amp;amp; Remote Contractors:&lt;/strong&gt; Exporting software, design, or writing services to global clients in USD, EUR, or GBP while filing taxes in INR.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local Retailers &amp;amp; Shop Owners:&lt;/strong&gt; Managing physical inventory, tracking low-stock thresholds, and recording domestic GST invoices with lakh/crore Indian number formatting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Independent Consultants &amp;amp; Agencies:&lt;/strong&gt; Wanting an automated receipt scanner and intelligent assistant that runs &lt;strong&gt;100% on their own laptop&lt;/strong&gt;, without an internet dependency or ongoing API bills.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Key Capabilities
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Genuine Multi-Currency Engine:&lt;/strong&gt; Built on Python's exact &lt;code&gt;Decimal&lt;/code&gt; arithmetic (no float rounding errors), with an ISO 4217 registry (INR, USD, EUR, GBP, AED, CAD, JPY with 0 decimals, etc.), manual exchange-rate history, and cross-currency settlement.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local AI Document Scanner:&lt;/strong&gt; Extracts structured JSON (merchant, document number, date, currency, line items, tax, total) from receipts and invoices locally using PyPDF and Ollama.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-in-the-Loop Verification:&lt;/strong&gt; Extracted data is presented in an editable review screen; no financial record is ever saved automatically without explicit user confirmation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Conversational Accounting Assistant:&lt;/strong&gt; Answers natural language questions (&lt;em&gt;"What were my largest expenses this month?"&lt;/em&gt;, &lt;em&gt;"Which invoices are still unpaid?"&lt;/em&gt;, &lt;em&gt;"Compare this month's sales with last month"&lt;/em&gt;) by executing controlled, validated SQLite queries rather than letting AI execute arbitrary SQL.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Professional PDF Generation:&lt;/strong&gt; Generates clean, print-ready A4 Tax Invoices and Monthly Financial Performance Reports with bank details, terms, and authorized signature boxes using ReportLab.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;100% Offline Usability:&lt;/strong&gt; If the AI model or internet is unavailable, every accounting workflow—invoicing, expenses, inventory, reports, and CSV exports—remains completely functional.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;h3&gt;
  
  
  Web Application Interface
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dashboard:&lt;/strong&gt; Real-time KPI cards (Invoiced Sales, Money Received, Outstanding Receivables, Total Expenses, Net Margin), monthly cash inflow vs expense SVG chart, pending invoice alerts, and recent transactions ledger.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sales &amp;amp; Invoices:&lt;/strong&gt; Interactive line-item editor with auto-calculating quantities, unit prices, discounts, GST/VAT rates, status lifecycle (&lt;code&gt;DRAFT&lt;/code&gt;, &lt;code&gt;ISSUED&lt;/code&gt;, &lt;code&gt;PARTIALLY_PAID&lt;/code&gt;, &lt;code&gt;PAID&lt;/code&gt;, &lt;code&gt;OVERDUE&lt;/code&gt;, &lt;code&gt;CANCELLED&lt;/code&gt;), and one-click PDF generation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Purchases &amp;amp; Expenses:&lt;/strong&gt; Category-based expense tracking, receipt attachment previews, and CSV exports.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customer &amp;amp; Supplier Portals:&lt;/strong&gt; Real-time calculated balances derived strictly from actual invoices, payments, and expenses, with safe archiving to protect financial history.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inventory Management:&lt;/strong&gt; Product catalog with SKU tracking, stock adjustments, low-stock reorder alerts, and inventory valuation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Assistant:&lt;/strong&gt; Local chat interface with instant query chips, connection status indicators, and deterministic fallbacks.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Running the Demo Locally
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Clone the repository&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;git&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;clone&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;https://github.com/Kashyap-Patel115/ArthLedger-Local-AI-Accounting.git&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;cd&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;arthledger&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="c"&gt;# Install lightweight dependencies&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;pip&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;install&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;flask&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;reportlab&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;pypdf&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;pytest&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;requests&lt;/span&gt;&lt;span class="w"&gt;

&lt;/span&gt;&lt;span class="c"&gt;# Launch ArthLedger&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="n"&gt;python&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;app.py&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Open &lt;strong&gt;&lt;a href="http://127.0.0.1:5000" rel="noopener noreferrer"&gt;http://127.0.0.1:5000&lt;/a&gt;&lt;/strong&gt; in any modern browser.&lt;/p&gt;

&lt;p&gt;Demo Video link:&lt;a href="https://drive.google.com/file/d/129opE3qH3_B9pQ9SaElSag3a_fKFgV04/view?usp=sharing" rel="noopener noreferrer"&gt;https://drive.google.com/file/d/129opE3qH3_B9pQ9SaElSag3a_fKFgV04/view?usp=sharing&lt;/a&gt;&lt;/p&gt;




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

&lt;p&gt;My github Repository Link:&lt;a href="https://github.com/Kashyap-Patel115/ArthLedger-Local-AI-Accounting.git" rel="noopener noreferrer"&gt;https://github.com/Kashyap-Patel115/ArthLedger-Local-AI-Accounting.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The code is designed to be modular, readable, beginner-friendly, and free of heavy front-end build pipelines or proprietary dependencies.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ArthLedger/
├── app.py                     # Flask application factory &amp;amp; context processors
├── config.py                  # Local directory paths, database, &amp;amp; upload safety rules
├── database.py                # SQLite schema, WAL mode, migrations, &amp;amp; audit trail
├── currency.py                # ISO 4217 registry, Decimal financial math, Indian number formatting
├── accounting.py              # Invoicing rules, payment allocation, KPIs, &amp;amp; stock movements
├── pdf_extractor.py           # Local text extraction (pypdf) &amp;amp; path traversal prevention
├── pdf_generator.py           # ReportLab professional PDF generation (A4 Invoices &amp;amp; Reports)
├── ai_service.py              # Ollama local HTTP client, JSON schema extraction, &amp;amp; controlled queries
├── reset_db.py                # Utility to cleanly zero all financial records
├── routes/                    # Clean modular Flask Blueprints
│   ├── dashboard.py           # KPIs and chart endpoints
│   ├── invoices.py            # Invoice creation, status updates, &amp;amp; payments
│   ├── expenses.py            # Expense recording, categorization, &amp;amp; CSV export
│   ├── contacts.py            # Customers and suppliers management
│   ├── inventory.py           # Stock movements and low-stock alerts
│   ├── transactions.py        # Unified ledger view
│   ├── documents.py           # Upload, local extraction, and review/confirm flow
│   ├── ai_assistant.py        # Conversational assistant endpoints
│   ├── reports.py             # Profit &amp;amp; Loss, Cash Flow, Multi-Currency position
│   └── settings.py            # Business details, exchange rates registry, &amp;amp; AI setup
├── static/
│   ├── css/styles.css         # Forest green &amp;amp; warm neutral responsive design system
│   └── js/
│       ├── app.js             # Sidebar toggle, modals, and toast alerts
│       ├── invoices.js        # Dynamic invoice line calculations
│       ├── charts.js          # Zero-dependency responsive SVG bar chart
│       └── ai_assistant.js    # Chat interface with suggestion chips
├── templates/                 # Accessible, semantic Jinja2 templates
└── tests/                     # 26 automated unit and integration tests (100% pass)
    ├── conftest.py
    ├── test_accounting.py
    ├── test_currency.py
    ├── test_invoices.py
    ├── test_inventory.py
    ├── test_documents.py
    ├── test_ai_service.py
    ├── test_pdf_and_exports.py
    └── test_persistence.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Automated Test Suite
&lt;/h3&gt;

&lt;p&gt;ArthLedger comes with a 26-test automated suite covering financial calculations, security, and offline resilience:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;python&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-m&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;pytest&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-v&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;============================= 26 passed in 27.04s =============================
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






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

&lt;h3&gt;
  
  
  1. Technology Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; Python 3.12 with Flask.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database:&lt;/strong&gt; SQLite with Write-Ahead Logging (&lt;code&gt;WAL&lt;/code&gt;), strict foreign keys (&lt;code&gt;PRAGMA foreign_keys = ON&lt;/code&gt;), parameterized queries, and an immutable audit trail.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; Vanilla HTML5, CSS3, and Vanilla JavaScript. No React, Next.js, or complex bundlers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visual Design:&lt;/strong&gt; Forest green (&lt;code&gt;#1b4332&lt;/code&gt;, &lt;code&gt;#2d6a4f&lt;/code&gt;) and emerald accents paired with warm neutral backgrounds (&lt;code&gt;#f9f8f5&lt;/code&gt;) and crisp charcoal typography.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document Processing:&lt;/strong&gt; &lt;code&gt;pypdf&lt;/code&gt; for local offline text extraction; &lt;code&gt;reportlab&lt;/code&gt; for generating A4 Tax Invoices and Financial Reports.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Financial Arithmetic:&lt;/strong&gt; Python &lt;code&gt;Decimal&lt;/code&gt; with &lt;code&gt;ROUND_HALF_UP&lt;/code&gt; precision to prevent binary floating-point discrepancies.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Local Open-Source AI Architecture
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model:&lt;/strong&gt; Evaluated and tested with &lt;code&gt;smollm2:latest&lt;/code&gt; (1.7B parameters, Q8_0, Apache 2.0 license by Hugging Face) and &lt;code&gt;qwen2.5:1.5b&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inference:&lt;/strong&gt; Communicates locally via Ollama's HTTP API (&lt;code&gt;http://127.0.0.1:11434/api/generate&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompt Isolation &amp;amp; Security:&lt;/strong&gt; Uploaded document text is treated strictly as &lt;strong&gt;untrusted user data&lt;/strong&gt; enclosed in delimited text blocks, preventing prompt injection.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Controlled Assistant Queries:&lt;/strong&gt; The AI model is &lt;strong&gt;never&lt;/strong&gt; permitted to execute arbitrary SQL or directly mutate the database. Instead, user queries are routed through controlled, validated Python functions that pull verified data from SQLite, perform calculations with &lt;code&gt;Decimal&lt;/code&gt;, and ask the model to explain the results in clear business terms.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Graceful Offline Fallback:&lt;/strong&gt; If Ollama is not installed or offline, the application automatically falls back to deterministic structured summaries and manual document entry without crashing or hanging.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Financial Privacy &amp;amp; Data Sovereignty:&lt;/strong&gt; Small businesses handle sensitive data: supplier pricing, client billing, personal phone numbers, and profit margins. Open innovation allows small businesses to deploy AI locally on their own hardware, ensuring their data is never harvested to train closed commercial models.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;True Affordability:&lt;/strong&gt; Closed AI APIs charge on a per-token basis. For a small Indian retailer or freelance consultant, unpredictable API bills make AI inaccessible. Small open-weight models (&lt;code&gt;smollm2&lt;/code&gt;, &lt;code&gt;qwen2.5&lt;/code&gt;) democratize intelligent software by running free of charge on everyday consumer PCs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No Vendor Lock-In:&lt;/strong&gt; Standardized local inference means the application is not married to any single proprietary provider. If a faster or more capable open-weight model is released, users can change the model name in &lt;strong&gt;Settings&lt;/strong&gt; with zero code changes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline Resilience:&lt;/strong&gt; In developing markets and regional hubs, internet connectivity can be intermittent. Open, self-contained software ensures that core accounting, invoicing, and inventory tracking never grind to a halt when the network drops.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;p&gt;As a second-year IT engineering student, I built ArthLedger through pair programming with &lt;strong&gt;Google DeepMind's Antigravity AI Agent&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The project was constructed across 8 structured milestones:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Foundation &amp;amp; Environment Verification:&lt;/strong&gt; Inspected the workspace, verified Python 3.12 and Ollama, and configured an isolated database architecture.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Core Accounting Logic:&lt;/strong&gt; Implemented &lt;code&gt;currency.py&lt;/code&gt; and &lt;code&gt;accounting.py&lt;/code&gt; using &lt;code&gt;Decimal&lt;/code&gt; arithmetic, avoiding floating-point rounding pitfalls and supporting Indian number grouping (&lt;code&gt;12,34,567.89&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-Currency System:&lt;/strong&gt; Constructed an ISO 4217 currency registry and exchange-rate tracking table that preserves historical conversion rates across invoice creation and cross-currency payments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Professional UI System:&lt;/strong&gt; Designed a forest green aesthetic with a collapsible sidebar, modal dialogs, status badges, and an SVG comparison chart.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document Processing &amp;amp; ReportLab PDFs:&lt;/strong&gt; Integrated &lt;code&gt;pypdf&lt;/code&gt; for text extraction and built A4 Tax Invoices and Financial Performance PDF generators.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local AI Integration &amp;amp; Fallback:&lt;/strong&gt; Connected Ollama for structured receipt parsing, added an editable review screen with Human-in-the-Loop confirmation, and built controlled query handlers for the conversational assistant.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inventory &amp;amp; Ledger Reporting:&lt;/strong&gt; Implemented stock movements, reorder alerts, inventory valuation, cash flow statements, and accounts receivable aging schedules.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated Testing &amp;amp; Data Zeroing:&lt;/strong&gt; Authored 26 automated pytest tests verifying every financial rule, path traversal protection, and persistence across reconnects, concluding with a clean zeroed database ready for real-world use.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  My First User
&lt;/h2&gt;

&lt;p&gt;My first user is &lt;strong&gt;my maternal uncle&lt;/strong&gt;, who runs a shop and manages its daily transactions. I shared an early build of ArthLedger with him to help simplify his shop's financial record-keeping.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Challenge:&lt;/strong&gt; He was managing his shop's daily sales, purchases, and other transactions manually, making it difficult to maintain organized financial records and track his business income and expenses efficiently. He needed a simple, reliable, and affordable solution to manage his shop's transactions in one place.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Their Feedback:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"ArthLedger makes it easier for me to record my shop's daily transactions and keep track of my income and expenses. Having all my financial records organized in one place saves time and makes managing my shop's accounts much simpler."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  - &lt;strong&gt;Outcome:&lt;/strong&gt; My maternal uncle started using ArthLedger to record and manage his shop's transactions. His experience as my first user helped me understand the practical needs of small shop owners and identify ways to make ArthLedger more useful, simple, and accessible for everyday business accounting.
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Future Development
&lt;/h3&gt;

&lt;p&gt;This is my first time developing and managing a project of this scale, and I have worked on ArthLedger within a limited time frame. Although the current version includes the core features, I understand that there is still room for improvement. As a student, I also need to balance my project work with my academic responsibilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ArthLedger is an ongoing project, not the final version.&lt;/strong&gt; Whenever I get more time, I will continue improving the software, fixing bugs, adding useful features, and making it more reliable and user-friendly based on real-world feedback. My goal is to keep learning through this project and gradually develop ArthLedger into a more complete accounting solution for small businesses.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Hacktoberfest Open-Source AI Challenge — Week 2: Side Hustle&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Local AI &amp;amp; Edge Computing&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Privacy-First &amp;amp; Open-Source Developer Tools&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Smart Accounting. Stronger Businesses.&lt;/em&gt; • Built with ❤️ for open-source innovation during Hacktoberfest 2026.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>PlantPal AI Assistant</title>
      <dc:creator>Kashyap Patel</dc:creator>
      <pubDate>Sun, 11 Oct 2026 08:27:28 +0000</pubDate>
      <link>https://dev.to/kashyap_patel_64fd110a57c/plantpal-ai-assistant-4mb6</link>
      <guid>https://dev.to/kashyap_patel_64fd110a57c/plantpal-ai-assistant-4mb6</guid>
      <description>&lt;p&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  🌱 PlantPal — AI Gardening Assistant
&lt;/h1&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;A local, privacy-first web companion that turns screen fatigue into mindful indoor gardening, powered by the open-weight SmolLM2 360M model and daily "Touch Grass" habits.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;




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

&lt;h3&gt;
  
  
  The Screen-Fatigue &amp;amp; "Touch Grass" Problem
&lt;/h3&gt;

&lt;p&gt;Developers, students, and tech professionals spend 8 to 14 hours every day glued to glowing screens—writing code, debugging, and scrolling through digital noise. To bring a breath of life into our desks and living rooms, many of us buy houseplants. But within a few weeks, those plants often wither and die due to &lt;strong&gt;overwatering, forgotten care routines, improper sunlight, or plain neglect&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;When plant troubles arise, existing solutions either demand scrolling through ad-bloated generic search results or relying on expensive cloud AI chatbots that keep users tethered to their browsers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PlantPal AI Assistant&lt;/strong&gt; was built to solve this exact problem: it bridges local open-weight artificial intelligence with the physical, tactile world to pull people away from their keyboards and guide them into rewarding, mindful plant care.&lt;/p&gt;

&lt;h3&gt;
  
  
  How It Gets People Off the Screen and Into the World
&lt;/h3&gt;

&lt;p&gt;PlantPal is intentionally designed so every digital interaction directly inspires a physical, real-world action:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;🏆 &lt;strong&gt;Daily "Touch Grass" Challenges:&lt;/strong&gt; A dedicated habits engine featuring 5 interactive physical activities that literally get users away from their monitors:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Soil Moisture Finger Test:&lt;/strong&gt; Encourages users to plunge an index finger 1–2 inches into the soil before watering to physically feel moisture levels.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Foliage &amp;amp; Leaf Inspection:&lt;/strong&gt; Step away from the desk to examine leaf undersides for dust or pests, and wipe them clean with a damp cloth.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;10-Minute Outdoor Mindfulness:&lt;/strong&gt; Step out onto a balcony, terrace, or garden to breathe fresh air and observe natural sunlight.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Learn a Botanical Fact:&lt;/strong&gt; Discover the native climate, humidity needs, and growth patterns of indoor species.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Water Propagation Habit:&lt;/strong&gt; Snip a stem cutting (from a money plant, pothos, or mint) and place it in a jar of water to sprout fresh roots.
A live progress bar and completion tracker celebrate these offline moments.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;💧 &lt;strong&gt;Smart Physical Watering Cycles:&lt;/strong&gt; Dynamic date math calculates exact biological intervals, organizing plants into &lt;strong&gt;Overdue&lt;/strong&gt;, &lt;strong&gt;Due Today&lt;/strong&gt;, and &lt;strong&gt;Upcoming&lt;/strong&gt;. Instead of abstract notifications, it prompts a physical check before hydrating, logging timestamps into a permanent SQLite history.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;📋 &lt;strong&gt;Hands-on Care Task Checklist:&lt;/strong&gt; Schedule and track physical maintenance like repotting, pruning dead leaves, applying organic fertilizer, or rotating pots 90° for balanced sun exposure.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;📚 &lt;strong&gt;Curated Plant Library:&lt;/strong&gt; Pre-configured botanical profiles for 7 indoor favorites (&lt;em&gt;Money Plant, Snake Plant, Aloe Vera, Spider Plant, Peace Lily, Tulsi, and Areca Palm&lt;/em&gt;) with instant 1-click import into personal gardens.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;🤖 &lt;strong&gt;Private AI Gardening Mentor:&lt;/strong&gt; Powered by the open-weight &lt;strong&gt;SmolLM2 360M&lt;/strong&gt; model running locally via Ollama. It answers urgent queries (&lt;em&gt;"Why are my snake plant leaves yellow?"&lt;/em&gt;, &lt;em&gt;"How much sun does aloe vera need?"&lt;/em&gt;) in 2–3 concise, encouraging sentences without creating digital rabbit holes.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Who Is It For?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Developers, Engineers &amp;amp; Students:&lt;/strong&gt; Anyone experiencing digital burnout who needs a healthy, tactile excuse to step away from the desk and nurture living plants.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;First-Time Plant Parents:&lt;/strong&gt; Beginners who want clear, jargon-free watering schedules, lighting tips, and quick troubleshooting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy &amp;amp; Open-Source Advocates:&lt;/strong&gt; Users who demand 100% data sovereignty and offline capability with zero telemetry, paywalls, or cloud dependencies.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;PlantPal runs locally with a nature-inspired design system featuring deep forest green (&lt;code&gt;#2D5A27&lt;/code&gt;), calming sage green (&lt;code&gt;#5B8A61&lt;/code&gt;), warm organic cream (&lt;code&gt;#FAF9F5&lt;/code&gt;), and crisp rounded cards.&lt;/p&gt;

&lt;h3&gt;
  
  
  Local URL
&lt;/h3&gt;

&lt;p&gt;Once started, the application is accessible in any desktop or mobile browser at:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;http://127.0.0.1:5000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Visual Walkthrough &amp;amp; Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Garden Dashboard:&lt;/strong&gt; Real-time metrics for total plants, urgent watering alerts, pending care tasks, rotating daily gardening wisdom, and a live Ollama connection status pill.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plant Profiles &amp;amp; Observation Notes:&lt;/strong&gt; Detailed records showing species, room location, sunlight requirements, watering intervals, and an interactive watering timeline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart Watering Scheduler:&lt;/strong&gt; Categorized views sorting plants into overdue, due today, and upcoming cycles with 1-click AJAX watering updates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interactive AI Assistant:&lt;/strong&gt; Fast suggestion chips (&lt;em&gt;"Why are leaves yellow?"&lt;/em&gt;, &lt;em&gt;"Best beginner plants"&lt;/em&gt;, &lt;em&gt;"Watering rule of thumb"&lt;/em&gt;), animated typing status, and transparent badges distinguishing live AI inferences from verified offline handbook tips.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Daily Habit Checklist:&lt;/strong&gt; Visual progress bar and checkboxes that reward physical, real-world plant care.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;The complete source code is available in this repository:&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/Kashyap-Patel115/PlantPal-AI-Assistant" rel="noopener noreferrer"&gt;https://github.com/Kashyap-Patel115/PlantPal-AI-Assistant&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Project Directory Structure
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;PlantPal AI Assistant/
├── app.py                  # Main Flask application, routing, and REST endpoints
├── database.py             # SQLite schema, parameterized queries, and date math engine
├── plant_library.py        # Curated botanical data for 7 indoor plant species
├── ai_service.py           # Ollama SmolLM2 integration &amp;amp; transparent offline fallback
├── test_app.py             # Automated 12-point unit and integration test suite
├── requirements.txt        # Minimal Python dependencies (Flask, requests)
├── instance/               # Local SQLite database storage
├── templates/              # Semantic HTML5 templates with responsive sidebar
│   ├── base.html           # Master layout with drawer nav and toast alerts
│   ├── dashboard.html      # Overview metrics, alerts, and daily tip
│   ├── plants.html         # Plant collection with search and sunlight filter
│   ├── plant_form.html     # Add/edit plant form
│   ├── plant_detail.html   # Detailed plant profile and watering history
│   ├── scheduler.html      # Categorized watering schedule
│   ├── tasks.html          # Care tasks checklist and status filter
│   ├── library.html        # Plant library reference cards
│   ├── challenges.html     # Daily gardening habit challenges
│   ├── ai_assistant.html   # Interactive chat interface with prompt chips
│   ├── 404.html            # Custom 404 error page
│   └── 500.html            # Custom 500 error page
└── static/
    ├── css/
    │   └── style.css       # Nature-inspired responsive CSS design system
    └── js/
        └── app.js          # AJAX updates, mobile navigation, and chat logic
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Quick Installation &amp;amp; Local Setup
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Clone the repository:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   git clone https://github.com/Kashyap-Patel115/PlantPal-AI-Assistant.git
   &lt;span class="nb"&gt;cd&lt;/span&gt; &lt;span class="s2"&gt;"PlantPal AI Assistant"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Pull the open-weight SmolLM2 360M model via Ollama:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   ollama pull smollm2:360m
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Install lightweight dependencies:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   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;ol&gt;
&lt;li&gt;
&lt;strong&gt;Run the application:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   python app.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Run the automated test suite:&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   python test_app.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






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

&lt;h3&gt;
  
  
  1. Open-Weight AI Architecture
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model Choice:&lt;/strong&gt; Hugging Face's &lt;strong&gt;SmolLM2 360M&lt;/strong&gt; (&lt;code&gt;smollm2:360m&lt;/code&gt;). At just ~725 MB, this ultra-compact open-weight model runs at lightning speed directly on consumer laptop CPUs without requiring dedicated GPUs or cloud APIs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inference Runtime:&lt;/strong&gt; &lt;strong&gt;Ollama&lt;/strong&gt; running locally on port 11434 (&lt;code&gt;http://127.0.0.1:11434/api/generate&lt;/code&gt;), providing a clean, self-contained REST API.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompt Engineering &amp;amp; Guardrails:&lt;/strong&gt; Tailored system instructions direct the model to answer concisely in 2 to 3 practical, friendly sentences. A low temperature (&lt;code&gt;0.4&lt;/code&gt;) and tight top-p (&lt;code&gt;0.9&lt;/code&gt;) ensure answers remain factual and grounded.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transparent Offline Fallback Architecture:&lt;/strong&gt; If Ollama is not installed or temporarily stopped, PlantPal gracefully matches keywords against a verified botanical knowledge handbook. It clearly labels the output source (&lt;code&gt;smollm2:360m&lt;/code&gt; vs &lt;code&gt;🌿 Offline Gardening Guide Fallback&lt;/code&gt;) and never masquerades canned answers as live AI.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Backend &amp;amp; Database
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Framework:&lt;/strong&gt; Python 3.12 with &lt;strong&gt;Flask 3.1&lt;/strong&gt;. Kept clean, modular, and beginner-friendly without unnecessary microservice overhead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Storage:&lt;/strong&gt; &lt;strong&gt;SQLite 3&lt;/strong&gt; with parameterized queries and foreign-key cascade protection, managing tables for &lt;code&gt;plants&lt;/code&gt;, &lt;code&gt;watering_history&lt;/code&gt;, &lt;code&gt;tasks&lt;/code&gt;, and &lt;code&gt;challenges&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Date Math Engine:&lt;/strong&gt; Custom datetime algorithms compute overdue days, due-today flags, and upcoming watering cycles based on actual biological intervals.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Frontend &amp;amp; Interactions
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vanilla Modern Web:&lt;/strong&gt; HTML5, CSS3, and vanilla JavaScript.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Build Step Bloat:&lt;/strong&gt; Eliminates heavy Node/Webpack build steps, resulting in near-instant page load times and zero dependency rot.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Asynchronous AJAX:&lt;/strong&gt; Dynamic watering updates, task completion toggles, challenge tracking, and AI chat run smoothly without disruptive full-page reloads.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;Open innovation is the core foundation of PlantPal's design and mission:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Zero Economic Barriers for Students and Global Learners:&lt;/strong&gt;&lt;br&gt;
Proprietary APIs (such as OpenAI GPT-4o or Anthropic Claude) lock intelligence behind credit card requirements, recurring subscriptions, and per-token pricing. For students, teenagers, and makers worldwide, these economic paywalls prevent everyday adoption. Open-weight models like SmolLM2 liberate AI, enabling anyone with a standard computer to build, learn, and experiment completely free of charge.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Absolute Privacy in Domestic &amp;amp; Living Spaces:&lt;/strong&gt;&lt;br&gt;
Gardening and personal living spaces are intimate. When users ask questions about their home environment, room lighting, and daily routines, that data shouldn't be funneled to corporate servers for ad targeting or model training. With open-weight AI running locally via Ollama, &lt;strong&gt;100% of data stays on the user's hard drive&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Resilience in Low-Connectivity &amp;amp; Outdoor Environments:&lt;/strong&gt;&lt;br&gt;
Plants grow on balconies, in greenhouses, on rooftops, and in rural gardens where internet connections are spotty or non-existent. A system tethered to closed cloud APIs breaks the second connection drops. Local open-weight models ensure that essential gardening assistance remains accessible anytime, anywhere, off-grid.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Demystifying AI for Emerging Engineers:&lt;/strong&gt;&lt;br&gt;
As a second-year engineering student, open innovation turns AI from an intimidating black box into an open, inspectable technology. I can examine model weights, inspect inference parameters, tune prompts, and understand resource utilization directly. Open innovation creates creators, not just passive consumers.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




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

&lt;p&gt;This project was developed and refined using &lt;strong&gt;Antigravity IDE&lt;/strong&gt; through an iterative agentic pair-programming workflow:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Agent Trajectory &amp;amp; Development:&lt;/strong&gt; The database schema, backend routing, Ollama integration, frontend templates, and test matrices were developed collaboratively with automated validation loops.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated Verification:&lt;/strong&gt; A 12-point automated test suite (&lt;code&gt;test_app.py&lt;/code&gt;) validates empty-database states, CRUD operations, watering date math, task toggles, library imports, Ollama connectivity, and offline fallback resilience.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reproducibility:&lt;/strong&gt; You can verify the entire test matrix locally in seconds by running &lt;code&gt;python test_app.py&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ul&gt;
&lt;li&gt;🌿 &lt;strong&gt;Touch Grass (Week 1 Primary Category):&lt;/strong&gt; Using AI to reconnect users with the physical world, build healthy tactile habits (soil moisture testing, leaf care, outdoor time), and nurture living houseplants.&lt;/li&gt;
&lt;li&gt;⚡ &lt;strong&gt;Best Use of Open-Source / Open-Weight AI:&lt;/strong&gt; Running Hugging Face's open-weight &lt;code&gt;SmolLM2 360M&lt;/code&gt; locally via Ollama with custom prompt tuning, transparent provenance tags, and an offline handbook fallback.&lt;/li&gt;
&lt;li&gt;💻 &lt;strong&gt;Best Student / First-Time Open-Source Submission:&lt;/strong&gt; Built with clean, accessible, well-documented code by a second-year Information Technology engineering student.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Author:&lt;/strong&gt; Kashyap Patel&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DEV Profile / GitHub:&lt;/strong&gt; &lt;a href="https://github.com/Kashyap-Patel115" rel="noopener noreferrer"&gt;@Kashyap-Patel115&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Role:&lt;/strong&gt; Second-year IT engineering student &amp;amp; open-source builder&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Happy Gardening, and don't forget to touch grass today!&lt;/em&gt; 🌿&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Daily Expense Tracker</title>
      <dc:creator>Kashyap Patel</dc:creator>
      <pubDate>Sat, 03 Oct 2026 19:54:43 +0000</pubDate>
      <link>https://dev.to/kashyap_patel_64fd110a57c/daily-expense-tracker-50nc</link>
      <guid>https://dev.to/kashyap_patel_64fd110a57c/daily-expense-tracker-50nc</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;h1&gt;
  
  
  💰 Daily Expense Tracker — Built for My College Roommate
&lt;/h1&gt;




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

&lt;p&gt;I built &lt;strong&gt;Daily Expense Tracker&lt;/strong&gt;, a sleek, zero-friction web application designed to help college students easily track their day-to-day spending in Indian Rupees (&lt;strong&gt;₹&lt;/strong&gt;) without dealing with bloated apps, sign-in walls, or intrusive ads.&lt;/p&gt;

&lt;h3&gt;
  
  
  Who I Built It For &amp;amp; The Problem It Solves
&lt;/h3&gt;

&lt;p&gt;As a second-year IT engineering student, moving into a college hostel comes with a sudden shock: &lt;strong&gt;budgeting&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;My roommate and close friend, &lt;strong&gt;Kaushal&lt;/strong&gt;, constantly struggled with his monthly allowance. Between canteen snacks, semester reference books, lab prints, and daily bus passes, he would find his wallet empty by the third week of every month, having no idea where all his money went.&lt;/p&gt;

&lt;p&gt;Most existing budgeting apps are overcomplicated: they demand phone numbers, require bank account linking, bombard you with credit card offers, or don't work offline.&lt;/p&gt;

&lt;p&gt;I built this app specifically for Kaushal so he could:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Log expenses in under 5 seconds&lt;/strong&gt; right from his phone or laptop browser.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Classify spending&lt;/strong&gt; across student-essential categories: &lt;strong&gt;Food&lt;/strong&gt;, &lt;strong&gt;Travel&lt;/strong&gt;, &lt;strong&gt;Shopping&lt;/strong&gt;, &lt;strong&gt;Education&lt;/strong&gt;, and &lt;strong&gt;Other&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;See his total expenses update in real time&lt;/strong&gt; with a live transaction counter.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enjoy 100% privacy&lt;/strong&gt; — all data stays strictly on his device using browser &lt;code&gt;localStorage&lt;/code&gt; with zero server tracking.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Demo Link:&lt;/strong&gt; &lt;a href="https://kashyap-patel115.github.io/Expense-Tracker/" rel="noopener noreferrer"&gt;https://kashyap-patel115.github.io/Expense-Tracker/&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline / Local Run:&lt;/strong&gt; Simply open &lt;code&gt;index.html&lt;/code&gt; in any browser — no web server or npm required!&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ✨ Key Interface Highlights
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hero Overview Card:&lt;/strong&gt; High-contrast emerald green gradient displaying the live total spent (&lt;code&gt;₹&lt;/code&gt;), transaction count, and current date.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Modern Inputs with SVG Icons:&lt;/strong&gt; Clean input fields for Expense Name, Amount in Rupees, Category picker, and Date picker.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Category Pill Badges:&lt;/strong&gt; Dynamic color-coded indicator dots (&lt;code&gt;● Food&lt;/code&gt;, &lt;code&gt;● Travel&lt;/code&gt;, &lt;code&gt;● Education&lt;/code&gt;, &lt;code&gt;● Shopping&lt;/code&gt;, &lt;code&gt;● Other&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-time Feedback:&lt;/strong&gt; Slide-down error validation banners and floating toast alerts for additions and deletions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Friendly Empty State:&lt;/strong&gt; Clean vector illustration greeting new users when no expenses are logged.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;The entire project is open-source and intentionally lightweight:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/Kashyap-Patel115/Expense-Tracker" rel="noopener noreferrer"&gt;https://github.com/Kashyap-Patel115/Expense-Tracker&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Project Architecture
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Expense tracker/
│
├── index.html     # Semantic HTML5 with accessible form &amp;amp; data table
├── style.css      # Vanilla CSS3 with custom properties, CSS Grid &amp;amp; Flexbox
├── script.js      # Clean Vanilla JS (ES6) state management &amp;amp; LocalStorage
├── README.md      # Comprehensive open-source onboarding guide

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






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

&lt;p&gt;To build this app quickly and cleanly without drowning in framework overhead, I used an &lt;strong&gt;agentic pair-programming workflow&lt;/strong&gt; powered by &lt;strong&gt;Google Antigravity IDE&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Architecture &amp;amp; Constraints First:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Constrained the stack strictly to &lt;strong&gt;pure HTML5, CSS3, and Vanilla JavaScript&lt;/strong&gt; to keep it accessible for first-year engineering students and first-time open-source contributors.&lt;/li&gt;
&lt;li&gt;Leveraged the browser's native &lt;strong&gt;Web Storage API (&lt;code&gt;localStorage&lt;/code&gt;)&lt;/strong&gt; to eliminate server dependencies, cloud bills, and latency.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Fintech Design Iteration:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Used modern typography pairings via Google Fonts: &lt;strong&gt;Plus Jakarta Sans&lt;/strong&gt; for crisp UI reading and &lt;strong&gt;Outfit&lt;/strong&gt; for bold, readable financial figures.&lt;/li&gt;
&lt;li&gt;Engineered a curated emerald green color palette (&lt;code&gt;#065f46&lt;/code&gt; to &lt;code&gt;#10b981&lt;/code&gt;) that evokes financial wellness and clarity.&lt;/li&gt;
&lt;li&gt;Built responsive layouts using CSS Grid and Flexbox with media queries tailored down to 360px mobile screens.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Defensive Logic &amp;amp; Edge Cases:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Built input sanitation preventing negative amounts, &lt;code&gt;₹0&lt;/code&gt; entries, or blank descriptions.&lt;/li&gt;
&lt;li&gt;Added Indian numbering currency formatting (&lt;code&gt;en-IN&lt;/code&gt;) so large student expenses (e.g. semester fees or tech gear) format cleanly as &lt;code&gt;₹1,250.00&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




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

&lt;p&gt;Open innovation is what made the web accessible to everyone in the first place, and it matters deeply for tools like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Financial Privacy by Design:&lt;/strong&gt; &lt;br&gt;
Closed financial apps monetize student data by selling spending habits to lenders, credit card companies, and advertisers. Because this project is built on open standards and client-side storage, Aarav's personal data never leaves his browser.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Hackability for Fellow Students:&lt;/strong&gt;&lt;br&gt;
Because there are no obscure build tools (&lt;code&gt;npm&lt;/code&gt;, &lt;code&gt;webpack&lt;/code&gt;, &lt;code&gt;vite&lt;/code&gt;), any first-year IT student can fork this repo, inspect the code, tweak the categories to fit their campus (e.g., adding &lt;em&gt;"Hostel Mess"&lt;/em&gt; or &lt;em&gt;"Tech Fest"&lt;/em&gt;), and learn how DOM manipulation works under the hood.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Longevity &amp;amp; Independence:&lt;/strong&gt;&lt;br&gt;
Closed APIs get deprecated, monetized, or shut down. An open-source, standard-compliant HTML/CSS/JS application will continue working in any browser 10 years from now without breaking.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




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

&lt;p&gt;This project was developed through an interactive human-in-the-loop pair programming session using the &lt;strong&gt;Antigravity IDE&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Refined form requirements and accessibility guidelines.&lt;/li&gt;
&lt;li&gt;Iterated on fintech UI aesthetics (converting a basic table into a modern dashboard with ambient glows, icon wrappers, and category pills).&lt;/li&gt;
&lt;li&gt;Audited input validation and LocalStorage serialization.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Build for a Friend&lt;/strong&gt; (Primary Category — Built for my hostel roommate Kaushal to conquer second year college budgeting)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Most Impactful Open-Source Beginner Project&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Thank you to the DEV Community and the Hacktoberfest team for fostering open-source innovation!&lt;/em&gt;&lt;/p&gt;

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