Skip to content

About

Personal finance management application built with Expo and React Native, featuring an offline-first approach and Google Sheets integration.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

FinTrack logo

FinTrack

Your money. Your Google Sheet.

A private, offline-friendly personal finance app for Android and iOS. Everything you record is stored in a Google Sheet in your own Google Drive. No servers, no database, no ads, no tracking.

License: AGPL v3 Expo TypeScript Platforms

Website · Privacy · Terms · Delete your data · Report a bug


Why FinTrack

Most money apps keep your data on someone else's server. FinTrack keeps it in a spreadsheet you already own. Open the Sheet in Google Sheets at any time, edit it, back it up, or walk away with it. The app is just a fast, friendly way to read and write that Sheet.

  • Your data, your Sheet. The Sheet is the only storage. The format is documented (docs/SHEET_SCHEMA.md) and stays usable without the app.
  • Private by design. The phone talks directly to Google. There is no FinTrack backend. OAuth tokens live in the device keystore (Keychain / Keystore).
  • Works offline. Entries are saved on the phone first and synced when you are back online. Conflicts are shown to you, never silently overwritten.
  • For every age. Simple mode with big buttons, adjustable text size, dark / light / pure-black themes, Bangla digits, lakh/crore grouping.

Features

Track Plan Grow Understand
Income, expenses, transfers, investments Monthly budgets with early warnings DPS, FDR, Sanchayapatra with maturity dates Reports by month, quarter, year, fiscal year
Quick entry: bkash 450 pathao or paste an SMS Salary and next-payday overview Loans and EMI with outstanding balance Safe-to-spend today, 30/60/90-day forecast
Calculator amounts: type 100+120, 200+10% Bills, subscriptions, yearly/quarterly costs Net worth Financial health score, unusual-spend detection
Auto-categories, search, edit, undo, duplicate Money calendar, savings goals, emergency fund Calculators: EMI, deposit, DPS, goal, growth CSV export
Multiple profiles: one Sheet per person, switch in one tap Custom alert rules (balance, budget, bills, goals) Sheet Doctor (checks your Sheet's health)

Security extras: app lock (biometric / PIN), privacy screen (blocks screenshots and recents preview), hide amounts, one-tap "delete data on this phone and revoke access".

How it works

Phone (Expo / React Native)  <--HTTPS, OAuth 2.0 + PKCE-->  Google Sheets & Drive APIs
        |                                                          |
  offline queue + cache                                    your own Google Sheet
  (device storage only)                                    (the single source of truth)
  • Sign-in: Google OAuth 2.0 authorization-code flow with PKCE, "installed app" client types, no client secret.
  • Scopes: spreadsheets (read/write your tracker Sheet) and drive.file (create / find the Sheet the app made). Nothing else in your Drive is touched.
  • Writes only touch the documented input cells; formula columns are never written. Row identity is an Entry ID, so replays are idempotent.
  • The finance maths in the app is checked against the real Sheet formulas (npm run parity).

Tech stack

Expo SDK 58 · React Native · TypeScript (strict) · expo-router · Zustand · TanStack Query · expo-auth-session · expo-secure-store · react-native-svg

Getting started (build your own copy)

You need your own Google Cloud OAuth client. Do not reuse the published app's client ID in a fork with a different package name or signing key; it will not work and is not meant to.

Requirements: Node.js 20+, Git, an Expo account, a Google account. An Android phone or emulator (an Apple developer account for iOS).

git clone https://github.com/DEV-NKP/FinTrack-App.git
cd FinTrack-App
npm install
cp .env.example .env        # then fill in your client IDs
npm test                    # all test suites should print OK
npm run typecheck
  1. Google Cloud: create a project, enable the Google Sheets API and Google Drive API, configure the OAuth consent screen, and create an Android client (your package name + signing SHA-1) with Enable custom URI scheme switched on. For iOS create an iOS client with your bundle ID. Full walkthrough: docs/SETUP_AND_LAUNCH.md.
  2. Change the identity in app.json: android.package, ios.bundleIdentifier, slug, and extra.eas.projectId (run eas init). Replace the name/logo if you publish your own variant (see Trademark).
  3. Run on a device (a development build is required; Expo Go is not supported because of native modules and custom URI-scheme sign-in):
npx expo run:android          # local build
# or
eas build -p android --profile development
npx expo start --dev-client

Environment variables

Variable Purpose
EXPO_PUBLIC_GOOGLE_ANDROID_CLIENT_ID Android OAuth client ID (public identifier, not a secret)
EXPO_PUBLIC_GOOGLE_IOS_CLIENT_ID iOS OAuth client ID
EXPO_PUBLIC_ACCESS_MODE full (default) or picker (drive.file only)
EXPO_PUBLIC_WEBSITE_URL Public site used for privacy / terms / delete-data links
EXPO_PUBLIC_SUPPORT_EMAIL Support address shown in About

Local runs read .env. EAS cloud builds read the env block in eas.json, not .env. Anything starting with EXPO_PUBLIC_ is compiled into the app and visible to anyone who unpacks it, so never put real secrets there. This project has none.

Scripts

Command What it does
npm test Parity, parser, slot-table, offline-queue, domain, calculator and profile tests
npm run typecheck tsc --noEmit
npm run bundle-check Builds the Android JS bundle to catch import/bundling errors
npm run android / npm run ios Local native build and run

"Done" means all three of npm test, npm run typecheck and npm run bundle-check pass.

Project structure

app/                 Screens (expo-router): tabs, add transaction, profiles, settings, about...
src/
  domain/            Pure finance logic (aggregation, budgets, loans, alerts, parsing) - fully unit-tested
  services/          Google auth + Sheets/Drive APIs, Sheet repository, offline queue, profiles
  state/             Zustand stores (session, profiles, prefs) and data hooks
  ui/  features/     Reusable components and shared screen parts
  lib/               Formatting, dates, calculator (expr.ts), keyboard handling
  schema/            The Sheet contract (single source of truth for ranges)
assets/              Icons, splash, brand SVGs, the Sheet template (.xlsx)
docs/                Setup, Sheet schema, design, QA checklist, store and verification guides
__tests__/           Test suites (run with tsx)

Ground rules for contributors are in AGENTS.md: no backend or analytics, write only the documented Sheet cells, tokens only in the secure store, never log amounts or IDs, every screen needs loading / empty / error states.

Documentation

Setup & launch · Sheet schema · Developer guide · Design · QA checklist · Google verification · Play Store · Changelog

Contributing

Issues and pull requests are welcome.

  1. Open an issue first for large changes.
  2. Branch from main, keep commits small and conventional (fix:, feat:, docs:).
  3. Run npm test, npm run typecheck and npm run bundle-check before opening a PR.
  4. If you change the Sheet layout, bump the template version everywhere and add a migration (see docs/SHEET_SCHEMA.md).

Security issues: please do not open a public issue. Email the address on the website's Support page or use GitHub's private vulnerability reporting.

Privacy

FinTrack collects nothing. No analytics, ads or tracking SDKs. See the privacy policy. FinTrack's use of information received from Google APIs adheres to the Google API Services User Data Policy, including the Limited Use requirements.

License

FinTrack is free software under the GNU Affero General Public License v3.0 (AGPL-3.0-only). You may use, study, modify and share it. If you distribute a modified version, including making it available to users over a network, you must publish your complete source under the same license.

Trademark

The licence covers the code. The FinTrack name and logo identify the official app and are not licensed for use on forks or modified builds. If you publish your own variant, please give it a different name and icon and keep the licence and copyright notices.

Author

Developed by Niloy Kanti Paul.

Not affiliated with Google. Google Sheets and Google Drive are trademarks of Google LLC. FinTrack is not financial, tax or legal advice.

About

Personal finance management application built with Expo and React Native, featuring an offline-first approach and Google Sheets integration.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages