Skip to content
msyamsularifPublic

About

Tap the back of your iPhone 3x and a payment screenshot becomes a row in Google Sheets. Back Tap + iOS Shortcut (OCR) + Apps Script Web App, no server of your own.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tapt3

Tap the back of your phone 3x and the expense is recorded straight into Google Sheets.

Tapt3 turns the payment confirmation in an m-banking or e-wallet app (transfer receipt, QRIS, Virtual Account) into a row in Google Sheets: date, time, merchant, amount, category, source, and note. No manual input, no server of your own, free to run.

How it works

flowchart TD
    A[Back Tap 3x] --> B[Shortcut: screenshot + OCR]
    B --> C[POST JSON to the Web App]
    C --> D[Validate the token]
    D --> E[Parse the receipt: regex + Gemini]
    E --> F[Check duplicates against the sheet]
    F --> G[Append the row]
    G --> H[Shortcut shows Rekap Dana Berhasil or Gagal]
Loading

iOS does not let one app read the contents of another, so Tapt3 works from a screenshot of the payment confirmation screen. The Shortcut captures it, iOS extracts the text, and the script parses that text into a row.

Features

  • One gesture: Back Tap runs the whole flow.
  • Date and time from the receipt, not the moment it was sent.
  • Merchant and source kept apart: Merchant is the party being paid or the transfer destination, and Sumber is the bank or wallet you paid from, not the destination bank.
  • Category you pick in the shortcut, or one Gemini picks for you.
  • Note read from the Note or Message field on the receipt.
  • Variation-tolerant parser: handles amounts such as 290,000.00 and 1.302.749,00, and OCR layouts that split the label and value columns.
  • Duplicate detection against the sheet contents.
  • Free column order, because columns are mapped by header name.
  • No server of your own: Google Sheets, Apps Script, and the Gemini free tier.

Project structure

Path Purpose
README.md This summary
code.gs All the Apps Script Web App logic. In the Apps Script editor, paste it into Code.gs
docs/01-google-sheet.md Copy the sheet template and set the headers
docs/02-apps-script.md Install the script, set properties, deploy the Web App
docs/03-gemini-api-key.md Optional Gemini API key
docs/04-shortcuts.md Install the shortcut and wire in the URL and token
docs/05-reference.md Request format, parsing, duplicates, configuration, privacy, development, limits
AGENTS.md Notes for AI agents working on this repo

Quick start

  1. Create the Google Sheet
  2. Set up Google Apps Script
  3. (Optional) Set up the Gemini API key
  4. Set up the Shortcut

Then assign the shortcut to Back Tap and run it from the transaction screen. Details and limits are in the reference.

Privacy

The Raw column stores the OCR text verbatim, including account numbers, so keep the sheet private. When GEMINI_KEY is set, the OCR text goes to the Gemini API with runs of 8 or more digits masked as ***. The full data flow is in Privacy and security.

License

Not yet determined.

About

Tap the back of your iPhone 3x and a payment screenshot becomes a row in Google Sheets. Back Tap + iOS Shortcut (OCR) + Apps Script Web App, no server of your own.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages