Skip to content
プロジェクト

概要

All your transactions in one place

ビジネス・金融

この数値の測り方

計測したスター増加

24時間
0
7日間
+1
15日間
+1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Totals

Totals is a Flutter mobile app that automatically tracks your bank transactions by parsing SMS messages from Ethiopian banks. It provides real-time balance updates, transaction history, budgeting, analytics, and financial insights — all stored locally on your device.

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3
Screenshot 4 Screenshot 5 Screenshot 6

Features

Multi-Bank Support

  • Commercial Bank of Ethiopia (CBE)
  • Awash Bank
  • Bank of Abyssinia (BOA)
  • Dashen Bank
  • Telebirr
  • Amhara Bank
  • Nib Bank

Core Functionality

  • Automatic SMS Parsing — monitors incoming bank SMS and extracts transaction details
  • Real-Time Balance Updates — balances update automatically when transactions are detected
  • Transaction History — full history with filtering, search, and category tagging
  • Budgets — create budgets with alerts and track spending against them
  • Account Management — multiple bank accounts with QR code sharing
  • Analytics Dashboard — income vs expense charts, net worth over time, spending patterns by day/week/month/year
  • Spending Map (optional) — an opt-in, private map of where debit and credit transactions happen, powered by Google Maps with bundled offline names for major Ethiopian cities and areas
  • Financial Insights — automated spending analysis and trends
  • Home Screen Widgets — balance and expense summary widgets for Android
  • Biometric Security — fingerprint or face authentication with auto-lock
  • Dark/Light Theme — Material Design 3 with Google Fonts and custom font selection
  • Local Web Server — access your data from a browser on the same network
  • Data Export/Import — backup and restore your financial data
  • Data Sync (optional, advanced) — push selected data to a backend you configure, with per-rule filters, field mapping, HTTP method/path, and triggers (manual, periodic, on new transaction, on reconnect). Off by default, behind a consent screen; one-way export only — bring your own server

Privacy & Security

  • Local-First Storage — all data stored on-device using sqflite
  • No Cloud Sync by Default — financial data stays on your device unless you explicitly enable the optional, off-by-default Data Sync feature
  • Biometric Authentication — secure access with fingerprint or face recognition
  • Offline-First — works completely offline after initial setup

Getting Started

Prerequisites

  • Flutter 3.38.6 (managed via FVM)
  • Android Studio (Android only — iOS is not currently supported)
  • JDK 17 for the existing Gradle 8.11.1 / Android Gradle Plugin 8.9.1 setup

Installation

git clone <repository-url>
cd totals/app
fvm use 3.38.6 --skip-pub-get
fvm flutter pub get
fvm flutter run --flavor qa

If Android Studio bundles a newer JDK, select an installed JDK 17 with flutter config --jdk-dir="<path-to-jdk-17>" and verify it with flutter doctor --verbose. Use the JDK root directory containing bin, not the bin directory itself. This is a local Flutter setting shared by Flutter projects on that computer; it does not change the project's Gradle, Android SDK, or signing configuration.

To use the optional Spending Map, enable billing and the Maps SDK for Android in a Google Cloud project. Then add the Android API key to the ignored app/android/local.properties file:

MAPS_API_KEY=YOUR_ANDROID_MAPS_API_KEY

Restrict production keys by Android package name and signing certificate SHA-1. The stable and QA package names are detached.totals and detached.totals.test, respectively.

First-Time Setup

  1. Grant SMS Permissions — required to monitor bank transaction notifications
  2. Add Your First Account — enter account number, select bank, and provide holder name
  3. Initial Internet Connection — needed to download SMS parsing patterns; Spending Map and other network-backed features also require a connection

Architecture

Project Structure

app/lib/
├── main.dart
├── _redesign/                 # New UI (redesign in progress)
│   ├── screens/               # Redesigned pages
│   ├── widgets/               # Redesign-specific widgets
│   └── theme/                 # Colors, icons, theme
├── background/                # Background tasks (daily spending, etc.)
├── components/                # Shared UI components
├── data/                      # Static data and constants
├── database/
│   ├── database_helper.dart   # sqflite setup
│   └── migration_helper.dart  # Schema migrations
├── local_server/              # Built-in HTTP server
│   └── handlers/              # API route handlers
├── models/                    # Domain models (account, transaction, budget, etc.)
├── providers/                 # State management (Provider/ChangeNotifier)
├── repositories/              # Data access layer
├── screens/                   # App screens (legacy)
├── services/                  # Business logic (SMS, budgets, notifications, widgets, etc.)
├── theme/                     # App-wide theming
├── utils/                     # Helpers
└── widgets/                   # Reusable UI widgets

Key Components

  • SMS Service — monitors SMS in foreground/background, identifies bank messages by sender, parses transactions via regex, and updates balances
  • Local Server — Shelf-based HTTP server exposing REST endpoints (/api/accounts, /api/transactions, /api/banks, /api/summary)
  • Database — sqflite with automatic migrations; tables for accounts, transactions, budgets, categories, failed parses, and profiles
  • Budget Service — budget creation, tracking, and threshold alerts
  • Widget Service — Android home screen widget data providers and refresh scheduling
  • Notification Service — transaction notifications and budget alerts

Development

Build Flavors

The app uses build flavors. Run with:

fvm flutter run --flavor qa

Building for Production

fvm flutter build apk --release --flavor stable

Dependencies

Key dependencies:

  • provider — state management
  • sqflite — local database
  • another_telephony — SMS monitoring
  • shelf / shelf_router — HTTP server
  • local_auth — biometric authentication
  • fl_chart — charts
  • home_widget — Android home screen widgets
  • google_fonts — typography
  • phosphor_flutter — icons
  • mobile_scanner / pretty_qr_code — QR code scanning and generation

See app/pubspec.yaml for the complete list.

License

MIT License

関連プロジェクトを探す

読み込み中…