Inspiration

A receipt lives in your camera roll. A renewal notice is buried in your inbox. The dinner bill is somewhere in the group chat. When a deadline arrives or someone asks what they owe, you have to piece it all together. We built Tuntas for people who manage household paperwork or track shared expenses and want to find the evidence and see what to do next.

What it does

Tuntas is a local-first paperwork workspace in English and Bahasa Indonesia. Capture a receipt, PDF, or notice, review the suggested filing, and turn a source excerpt into a follow-up. Today's Focus surfaces a step you can act on. Connected Actions shows what must happen before a deadline and lets you export reminders to your calendar.

Ask your paperwork searches your local library with clickable sources. The sample workspace totals nine rupiah receipts at IDR 2,072,442 and reports USD 24.00 separately, even with the open app offline. Split Bills divides items and tax, shares payment instructions, and tracks payment status.

How we built it

React and Vite power the web app, PDF.js extracts embedded PDF text, and IndexedDB stores originals, extracted text, and source excerpts in separate browser workspaces. Firebase Authentication handles sign-in. Firestore stores shared bill records and optional filing metadata and action progress. Originals, extracted text, and excerpts stay out of Firestore Progress Sync.

Firebase AI Logic runs document classification through Chrome's on-device Gemini when available. Hybrid mode requires explicit permission for each document before cloud fallback can occur. Firebase App Check with reCAPTCHA Enterprise protects cloud requests, and the result shows which mode actually ran. The Capture screen previews masking for email addresses, phone numbers, and account IDs in supported text inputs. With consent, cloud photo processing can send image bytes for inference. The browser-based redaction canvas creates an EXIF-free export copy while preserving the stored original.

Tuntas is hosted on Firebase Hosting with the free Spark plan. See the runtime Firebase AI Logic integration.

Challenges we ran into

Chrome can expose its local AI API before the model is ready. We needed to show the actual processing source and keep the original available for retry or manual filing if inference fails. We also needed to keep filing and action suggestions tied to source excerpts. Receipt totals use recorded amounts and local arithmetic, with separate subtotals for each currency.

Accomplishments we're proud of

During the hackathon, we shipped the capture-to-action workflow, a bilingual library with offline receipt queries, privacy controls for cloud inference and export, and shared itemized bills. We demonstrated on-device Gemini in desktop Chrome and verified the consented cloud path with production App Check.

What we learned

People should be able to see what can leave their browser, give permission at the point of use, and see which mode produced the result. For an answer or deadline, a link back to the source gives them a way to check it for themselves.

What's next

We'd like to add local OCR for image-only PDFs, support a cold offline launch, and expand bilingual templates for reimbursements, renewals, and household bills.

Try it in Chrome

Open the sample workspace, with no sign-in required. In Library → Ask your paperwork, choose How much did I spend on receipts?. In Actions → Training reimbursement → View connections, see which task unlocks the claim. For live AI, go to Capture → Paste text and paste a fresh fictional notice, such as “Household membership renewal. Reference JUDGE-001. Renew by 12 December 2026.” Choose Firebase AI · device only on desktop Chrome with a ready local model, or choose Firebase AI · prefer device, allow cloud and check the permission box. Select Save & organize and inspect the result label. Change the reference on repeat runs.

Built With

Share this project:

Updates

Submission history