{
  "id": 15193336,
  "title": "I Built an Offline “Sales Analyst” for Small Shops with Ollama and DuckDB",
  "url": "https://urgent.news/2026/10/17/i-built-an-offline-sales-analyst-for-small-shops-with-ollama-and",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-17T12:28:06.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/sriram03/i-built-an-offline-sales-analyst-for-small-shops-with-ollama-and-duckdb-1e56"
  },
  "original_language": "en",
  "account": "A small shop owner can now ask questions about their sales data offline using a tool called AskMyShop. The application allows owners to upload their sales data in Excel or CSV format and then pose questions in plain language to receive a chart and a concise answer. This tool is particularly beneficial for small businesses that lack the resources to hire a dedicated analyst, as they can now answer questions like \"Which dish is not selling?\" or \"Which day is my busiest?\" without guessing.\n\nThe app's key features include retrieving SQL queries and generating charts in a user-friendly manner. It utilizes the Qwen2.5 7B / Qwen2.5-Coder model, which runs locally through Ollama for processing. The querying engine, DuckDB, allows the app to directly query the uploaded sales data without any database setup. The UI is created using Streamlit with Plotly for visualization.\n\nThe creator emphasized the privacy, cost-effectiveness, offline functionality, and customization aspects of the tool. Since sales and customer data remain on the owner's laptop, there's no risk of data leakage. The app charges a flat fee, ensuring a stable and predictable cost structure for the owner. It works without an internet connection, which is crucial for many small shops with unreliable connectivity. Furthermore, the creator can easily adapt the tool to the shop's specific column names and item names, even those in different languages, resulting in a more personalized experience. Lastly, the open-source nature of the app means the owner can switch to a better open model or an older laptop model without having to rewrite the entire application.",
  "summary": "This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle What I Built AskMyShop is a local app that lets a small shop or restaurant owner ask questions about their sales in plain language and get a chart plus a one-line answer. Many small businesses keep sales in Excel or CSV exports from a billing app, but can’t afford an analyst. They’re left asking questions like…",
  "key_points": [
    "AskMyShop tool enables small shop owners to analyze sales data offline",
    "Utilizes Qwen2.5 7B / Qwen2.5-Coder model with DuckDB for querying",
    "Features privacy, cost-effectiveness, and customization benefits"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}