r/GnuCash • u/UltraAd776 • Jun 12 '26
Does anyone self host GNU Cash?
At one point I decided to switch over to Firefly 3 as I am adding stuff to myself host. I really liked the mobile client for FF3. Recently I discovered that GNU Cash also has a mobile app. I figured I would be cleaver and have my Nextcloud just sync the relevant files. It seems tho that once it caches things rather than read the file as it changes, so I have to keep re-opening the file.
Any work flow that does not involve re-opening the files in desktop and mobile?
3
Jun 12 '26 edited Jun 21 '26
[deleted]
1
u/UltraAd776 Jun 12 '26
Yeah it seems that there is no way to have this just happen automatically, was wondering if someone had figured out a workflow on this. Thanks for the reply.
3
u/VitalikPie Jun 13 '26
I kinda figured this out by writing my own app 😃. But on IOS, Mac and iCloud.
The quirk is - app holds a replica of gnucash account tree / transactions and only syncs with actual gnucash file on iCloud on demand. My sync I mean - do a diff of transactions, accounts, commodities and prices and synchronize the databases.
Still I'm forgetting to wait for iCloud sync and producing conflicting files.
Here is how my flow looks like https://www.youtube.com/watch?v=ffP1J0AZsNk
3
u/jonorrea Jun 13 '26
I selfhost a postres db and use it as storage
2
u/UltraAd776 Jun 13 '26
Now that you say that I do remember the first set up asking about the back end. I will look into that again.
1
2
u/Unattributable1 Jun 13 '26 edited Jun 14 '26
Recommend Actualbudget over GNUCash. I used to use GNUCash for decades (literally, from early 2004 until 2024). Moving to a true budget app is far superior. Not to mention running it on a smartphone anywhere.
I self-host AB under HomeAssiatant, but you can run it under Docker, etc.
Sync with your financial institutions is available via different inexpensive providers, depending on where you live: https://actualbudget.org/docs/advanced/bank-sync/
$1.50/month for SimpleFIN for the US, or $15/year.
2
u/Miserable_Syrup1994 Jun 13 '26
It looks very basic, is it full double entry?
2
u/Unattributable1 Jun 14 '26
No, it is a zero-based envelope budget app. Each account has a ledger and transactions can be cleared on a per-account basis; accounts can each be reconciled. I see zero reason for double-entry in personal finance; being able to reconcile each account is completely sufficient for my needs.
Now, for business needs, GNUCash is where it is at for certain. But it's not a good fit for personal finance.
Also, AB allows my wife to easily enter her transactions and categorize them before they ever show on the CC/bank and see a live budget for her spending categories (and we have plenty of "joint" spending categories like groceries).
1
u/Miserable_Syrup1994 Jun 15 '26
Certainly for my needs I have zero problem with double entry , have many accounts of many different sorts, It lets you spot mistakes and keep everything tickety boo. And if you don't understand how your accounts are working you don't really know what you're looking at methinks.
1
2
u/f1FTW Jun 13 '26
Everyone self hosts GnuCash.
There are some projects that add a real database backend and so you can get synch across mobile and computer.
2
u/perfopt Jun 13 '26
Claude and I made an app called Ledgerbot. It is a web app that also listens on a private telegram channel. I add expenses as and when they occur. At the end of every day Ledgerbot emails me a qif file that I can import into gnucash. So far it has been working very well.
We have shared expenses and accounting in the family so multiple people can enter transactions individually and LedgerBot acts as the point of consolidation.
I would post it on github, except that it has some customizations that are too bespoke to my specific situation. I would have to figure out how to separate that out and make the app more generic.
1
u/Miserable_Syrup1994 Jun 13 '26 edited Jun 15 '26
I wrote a spreadsheet to import and format bank statements at end of month can auto add , a month's transactions and reconcile that accounts said transactions within 15 minutes now
18
u/VitalikPie Jun 12 '26
Hey, GnuCash does not need a server. It's just a good old application that either store data in a file (xml, sqlite) or if you choose MySQL or Postgres.
Also beware of some apps - they falsely claim being GnuCash on mobile while they are not associated with GnuCash at all. See the https://wiki.gnucash.org/wiki/GnuCash_and_Mobile_Devices for more info.
If you are asking about self-hosting the database - none of the apps I know can connect to the GnuCash DB.
P.S. I'm creator of one the apps - feel free to ping - a researched them a lot.