Skip to content
vteam-comPublic

About

Personal accounting app written in flutter that works on all 6 platforms

Resources

Stars

7 stars

Watchers

4 watching

Forks

Latest commit

 

History

1,427 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fMoney

fMoney is a free, open-source personal finance app from the MoneyTools vTeam. It is the Flutter edition of MyMoney.Net and opens the same .mmdb files.

It runs on macOS, Windows and Linux, and in a web browser. Your data stays in a file on your own computer.

overview.svg

Features

  • Accounts, transactions, splits, transfers and reconciliation
  • Categories, payees, and aliases that rename payees by pattern
  • Cash flow, investments, stocks, rentals and events
  • Import from QFX/OFX, QIF, CSV, Excel (XLSX) and PDF bank statements
  • An optional AI assistant that runs on your machine with Ollama
  • English, French and Spanish

Try it in your browser

Open https://money.vteam.com and click Use Demo Data. Nothing to install.

Install the desktop app

Download the file for your computer from the latest release:

Platform File Requires
macOS mymoney-app-macos.zip macOS 12 or later, Apple silicon or Intel
Windows mymoney-app-windows.zip Windows 10 or later, 64-bit
Linux mymoney-app-linux.tar.gz 64-bit (x64) with GTK 3

On every platform, install it in a folder you can write to. fMoney updates itself in place, so it needs to be able to replace its own files.

macOS

  1. Download mymoney-app-macos.zip and double-click it to unzip it (Safari may unzip it for you). You get money.app.

  2. Drag money.app into your Applications folder. If your account is not an administrator, use the Applications folder in your home folder instead.

    Don't run it from Downloads. macOS runs apps there from a read-only copy, and updates can't install.

  3. Double-click money.app. The app is signed and notarized by Apple, so macOS only asks you to confirm opening an app downloaded from the Internet: click Open.

Windows

  1. Download mymoney-app-windows.zip.

  2. Right-click it, choose Extract All…, and extract it to a folder in your user profile, for example %LOCALAPPDATA%\fMoney.

    Don't use C:\Program Files: fMoney can't update itself there.

  3. Open the folder and run money.exe. Leave it next to the files it came with. To launch it from somewhere else, pin it to Start or create a shortcut.

  4. The Windows build isn't signed with a Microsoft developer certificate yet. If Windows shows Windows protected your PC, click More info, then Run anyway.

If Windows says VCRUNTIME140_1.dll or MSVCP140.dll was not found, install the Microsoft Visual C++ Redistributable (x64) and run money.exe again.

Linux

The archive has no top-level folder, so extract it into a folder of its own:

mkdir -p ~/.local/share/fmoney
tar -xzf ~/Downloads/mymoney-app-linux.tar.gz -C ~/.local/share/fmoney
~/.local/share/fmoney/money

fMoney needs GTK 3. Most desktop distributions already have it. If not, install it: sudo apt install libgtk-3-0 on Debian or Ubuntu, sudo dnf install gtk3 on Fedora.

The release is built on GitHub's ubuntu-latest runner. If an older distribution reports a missing GLIBC_… version, build from source instead.

Updates

When the desktop app starts, it checks GitHub for a newer release. If there is one, a banner offers Install and Restart. You can also check at any time from the app bar menu with Check for updates....

If fMoney can't write to the folder it runs from, it asks you to download the new version and replace the old one yourself.

GitHub keeps the three most recent releases.

First launch

The welcome screen offers three choices:

  • Use Demo Data loads sample data to explore.
  • New File creates an empty file.
  • Open File opens an existing file: a MyMoney.Net .mmdb (SQLite) file, or an fMoney .mmcsv file (a zip archive with one CSV file per table).

Mobile

iOS and Android builds are not published to the app stores yet. You can build them from source.

AI assistant (optional)

The AI assistant answers questions about your finances. It uses Ollama on your own computer (at http://localhost:11434), not a cloud service.

  1. Install Ollama. The AI screen links to the download if Ollama isn't found.
  2. Download at least one model, for example ollama pull llama3.2. fMoney lists the models installed in Ollama and doesn't download them itself.
  3. Open the AI assistant from the main navigation and pick a model. Ask your own questions, or use the preset buttons: largest transactions, spending analysis and expense predictions.

Build from source

You need:

  • Flutter 3.50 or later (Dart 3.14 or later): https://docs.flutter.dev/get-started/install
  • The toolchain for the platform you build for:
    • macOS and iOS: Xcode and CocoaPods
    • Windows: Visual Studio 2022 with Desktop development with C++
    • Linux: cmake ninja-build g++ pkg-config libgtk-3-dev
    • Android: Android Studio
  • An editor. We suggest VS Code with the Flutter extension.
git clone https://github.com/vteam-com/fMoney.git
cd fMoney
flutter pub get
flutter run -d macos   # or: windows, linux, chrome

Release builds:

Command Output
flutter build macos --release build/macos/Build/Products/Release/money.app
flutter build windows build/windows/x64/runner/Release/
flutter build linux build/linux/x64/release/bundle/
flutter build web --release build/web/

Development

The app uses Flutter's built-in state management and navigation: ChangeNotifier, ValueNotifier, ListenableBuilder and Navigator.

Script What it does
tool/check.sh Run before every commit; it must pass cleanly. It updates the generated version data, gets packages, analyzes, runs the tests, runs fCheck in strict mode, then formats and fixes the code.
tool/test.sh Runs the unit tests and the macOS integration tests, and opens a merged coverage report (needs lcov).
tool/format.sh Formats the code at 120 columns.
tool/run_macos.sh Runs a macOS release build.

Further reading:

Localization

Display text lives in the ARB files in lib/l10n/ (app_en.arb, app_fr.arb, app_es.arb). After you edit them, run flutter gen-l10n.

Code metrics

tool/check.sh regenerates these charts.

Lines of code heat map:

loc.svg

Layer dependencies:

layers.svg

Release and deploy

Desktop release

tool/release.sh patch   # or: minor, major, X.Y.Z

The script must run on main with a clean working tree. It:

  1. Sets the new version in pubspec.yaml and in the version the app reports.
  2. Adds the commits since the last release to CHANGELOG.md.
  3. Analyzes, tests, runs fCheck and builds macOS.
  4. Commits Release v<version> and pushes main.

The push starts the Flutter Desktop Build workflow. It builds macOS, Windows and Linux, signs and notarizes the macOS build, publishes them as the GitHub release v<version> with the changelog entry as notes, and deletes all but the three most recent releases. Installed apps then offer the update.

Signing the macOS build

The workflow signs the macOS app with a Developer ID certificate and has Apple notarize it, so macOS opens it without asking to allow it in Privacy & Security. The macOS build fails when the secrets below are missing, and then no release is published. To set them up once, with a paid Apple Developer account:

  1. Developer ID certificate (only the team's Account Holder can create one): in Xcode › Settings › Accounts, select the team, click Manage Certificates…, then + › Developer ID Application. In Keychain Access › My Certificates, right-click Developer ID Application: … and export it, with its private key, as a .p12 file protected by a password.

  2. Notarization key: in App Store Connect › Users and Access › Integrations, generate a Team Key with the Developer role and download its AuthKey_<KEY ID>.p8 (Apple offers the download only once). Note its Key ID and the Issuer ID shown above the keys.

  3. Repository secrets, from the repository folder:

    base64 -i DeveloperID.p12 | gh secret set MACOS_CERTIFICATE
    gh secret set MACOS_CERTIFICATE_PASSWORD          # asks for the .p12 password
    gh secret set APPLE_API_KEY < AuthKey_<KEY ID>.p8
    gh secret set APPLE_API_KEY_ID --body <KEY ID>
    gh secret set APPLE_API_ISSUER_ID --body <ISSUER ID>

Apple shows the certificate's expiration date when it creates it: before then, make a new one and update the two MACOS_CERTIFICATE secrets (builds signed before stay valid).

Web

The web version is hosted on Firebase. Install the Firebase CLI once and sign in:

npm install -g firebase-tools
firebase login

Then deploy. firebase.json builds the web app before it uploads it.

tool/deploy.sh

Android (Google Play)

  1. Build the bundle: flutter build appbundle
  2. Upload it in the Google Play Console.

Data

fMoney stores data in the MyMoney.Net SQLite schema. The tables are defined in lib/helpers/shared_strings_sql_helper.dart:

AccountAliases, Accounts, Aliases, Categories, Currencies, Events, Investments, LoanPayments, OnlineAccounts, Payees, RentBuildings, RentUnits, Securities, Splits, StockSplits, TransactionExtras, Transactions

To look at a file's schema, or back it up as SQL:

sqlite3 mydata.MyMoney.mmdb .schema
sqlite3 mydata.MyMoney.mmdb .dump > backup.sql

License

MIT

About

Personal accounting app written in flutter that works on all 6 platforms

Resources

Stars

7 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages