Say "Hi" to Ledgedroid!

Hi all,

I've initially kept this to myself, and was not planning to publish it. But after seeing how useful it was, I thought others may benefit from it too.

TL;DR yes, it's written by an AI agent, and I'm sorry if it doesn't sit right with you. You're
welcome to take what you like from it and write your own version by
hand. It's all under GPL 3.0 :slight_smile:

Besides, I'm not here to flog you anything... just sharing what I
think would be akin to "this helped me, maybe it'll help you too".

Longer version:

I used to love adding transactions to my hledger journal using my very
old vimscripts on Android.

That was until... I missed a few transactions, costing me an absolute
shed load of time to reconcile my ledger. ON MULTIPLE OCCASIONS! I
felt like I was looking for pennies in the sofa...

I work full-time and barely have bandwidth to learn Java / Kotlin to
make a half-decent app. I really tried to not succumb to the AI
pressure, but frankly the time lost reconciling was too much.

So anyway, with a bit of sample code / logic, I managed to get this: GitHub - hnvy/ledgedroid: An Android app that can read and edit your hledger files ยท GitHub

I've been using it for some time and honestly it's a joy.

Naturally, it's under the GPL 3.0 (+ finances must go to
hledger
). Other than that, do what you want with it.

If Ledgedroid is useful to you, please consider
sponsoring hledger.

Is it a replacement to hledger? Absolutely not.

Will it save you time when adding transactions on-the-go whilst making
sure your balances are still not atrociously incorrect? Absolutely
yes*.

Quick glance

  • Balance, forecast, balance sheet, income statement and budget reports, by
    period, with trend charts
  • hledger queries like desc:, amt:>100, tag:trip, and many more typed straight into the filter
  • Save commonly used reports/filters
  • Set reminders for recurring payments and add them with one click
  • A full entry form, an hledger add-style quick add, templates, a
    home screen widget and a quick settings tile
  • Customisable colours for each account and its subaccounts
  • Pin and hide accounts
  • Keep your journal healthy with a Check
  • Rename and Recategorise accounts, payees, and transactions rapidly
  • Share text/SMS/notifications (eg from bank) and match transactions using RegEx patterns

Comparison to other hledger apps

Ledgedroid has a lot of features. Its biggest downside is that it is sadly written
by AI. I can't say that I'm 'proud' of it, but it has certainly helped me.

Ledgedroid NanoLedger MoLe
Purpose Viewer + editor focused on reports Data-entry app Android front end to hledger-web
Where the data lives Local journal file, re-read when you return to the app (works with Syncthing, Dropbox etc.) Local journal file An hledger-web server
Server need No; all offline No; all offline Yes (hledger-web 1.10 or 1.14+)
Supported syntax Most of hledger's: periodic and auto posting rules, costs, assertions, virtual postings, include, alias, apply account, P prices, account types ledger/hledger-like, not the full syntax Whatever hledger-web parses, since hledger reads the file
Balance reports balance, balance sheet, income statement, budget, multi-period columns, depth, -H, -V/-X valuation, --forecast, --auto None; lists transactions only Hierarchical account list with current balances (seems that reports are planned)
Transaction list + search Per-account register with running balance, advanced In/Out split, advanced filters; search with hledger query terms List of all transactions, search (including by amount) Transaction list filtered by account name
Adding transactions Full form, hledger add-style quick add, batch entry, amount arithmetic, autocomplete Add form with autocomplete for payee, note and accounts New-transaction form that auto-fills from earlier transactions
Editing / deleting transactions Yes, except transactions with features the form can't show; one-tap status marking for any transaction; Undo Yes No (?)
Templates + shortcuts Templates, home-screen widget, quick settings tile, app shortcuts, scheduled reminders, share a bank SMS into quick add (using RegEx!) No, but some are planned Templates matched against QR codes (clipboard and SMS matching planned)
Journal maintenance Rename accounts, recategorise payees, journal health checks (hledger check-like) No Not applicable as it is done on the server
Safety Automatic and scheduled backups, read-back check after every write, recovery copy if a write fails No Not applicable (hledger-web writes the file)
Customisation Hide/pin accounts, saved reports, branch colours, amount bars, account types Settings for different journal styles Multiple profiles
Min Android version 8.0 8.0 5.1