Menu

How I Shipped Secure Excel (.xlsx) Uploads & Multi-Provider AI Failover (Gemini Groq) on a $0 512MB Container
📰

How I Shipped Secure Excel (.xlsx) Uploads & Multi-Provider AI Failover (Gemini Groq) on a $0 512MB Container

DEV Community: fastapi·Nirmana Herath·1 day ago
#lQnnHDWx
#devtofastapi#devto#dev#defusedxml#askgrid
Long article (1196 words) — no AI summary yet.
Reading 0:00
15s threshold

In my previous Dev.to post , I shared how I built AskGrid — a privacy-first AI spreadsheet analyst where only column schemas go to the LLM, deterministic Python/Pandas runs all calculations, and an automated 18-case evaluation harness keeps accuracy verifiable.

Since then, I shipped AskGrid v1.1.2 live at https://askgrid.pages.dev/ (source code: github.com/niRmana11/askgrid , zero login required, 1-click sample dataset).

While upgrading from CSV-only v1.0.0 to native Excel ( .xlsx ) support and preparing for launch, I hit four real-world production surprises that no tutorial warns you about. Here is each one and the exact fix.

1. Why Accepting .xlsx on a 512MB Container Is a Security Minefield

My first realization after shipping v1.0.0 was simple: most non-coders work in .xlsx , not .csv . Asking them to open Excel, export a CSV, and re-upload kills trial conversion before Question #1.

The catch is that an .xlsx file is not a flat text file — it is a ZIP archive full of XML files .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.