HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
egh
ledger-autosync
Python2015–2024
egh / ledger-autosync

ledger-autosync

Synchronize your ledger-cli files with your bank.

8Distinct people
10Mentions
1Explicit recommenders
321GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Synchronize your ledger-cli files with your bank.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

After years of trying to find something that works for me I've finally found a stack that works. The big issue I had was that I wanted something that could import my bank…

xupybd used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year10 dated mentions

Observed mentions: 2015-11-05 02:37:48 UTC to 2024-11-13 05:57:01 UTC.

0122015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC101
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC000
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC202
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC202
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC101
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101

What Hacker News says

10 sources
as far as the ledger-cli google groups [1] go, they seem to think it is a proper journal file. It has been fairly tested with OFX imports (https://github.com/ledger/ledger/wiki/OFX-Import) as well bank autosync (https://github.com/egh/ledger-autosync). In fact, someone also wrote a book on this - https://leanpub.com/personal-accounting-in-ledger/ I will defer if you are indeed building your own competing tool in this space which is better, but holding to the original point of my request - maybe it will be incremental to support your format if ledger-cli format is supported today. versus not supporting any disk format (or inventing a new one). [1] https://groups.google.com/g/ledger-cli/search?q=double%20ent...
In An open-source alternative to QuickBooks
> Do banks have anything you can use to automate getting data off their websites? There's an Open Financial Exchange (OFX) standard that's supposed to be for this, I think. I came across it when someone mentioned the ledger-autosync [1] tool that tries to use it to get your data from your bank automatically. If I understand correctly (no guarantee on that), this automation would work for institutions listed here [2]. [1] https://github.com/egh/ledger-autosync [2] http://www.ofxhome.com/index.php/home/directory/successfulRe...
In Plain Text Accounting
I use and love ledger-cli but importing/downloading bank data is the biggest pain point. I'm currently using ledger-autosync (https://github.com/egh/ledger-autosync) to import OFX/QFX files. For some banks it can automatically pull the data using ofxclient (https://github.com/captin411/ofxclient) but for most of my bank accounts this is broken and I need to manually download the OFX file before importing with ledger-autosync. It works OK, I wish I didn't have to do the manual download, but the simplicity of the setup is nice. I've read of other setups using Plaid or Puppeteer to download their data. Would be interested to hear about what other people are currently using in mid-late 2019 to pull their financial data.
In Firefly III – Self-hosted financial manager
xupybd·Jun 22, 2018Recommendation phrase
After years of trying to find something that works for me I've finally found a stack that works. The big issue I had was that I wanted something that could import my bank statements. I found one of this issues here was that the bank transactions had no id's so I couldn't tag the duplicates. Then I found most banks allow you to export to ofx. This has ids and it has the balance at the end of the statement. So I could auto import and de-duplicate. I started to write my own thing but then I remembered something my boss taught me "Only write software as a last resort". Basically meaning most problems are already solved only write custom software if its really needed. So I looked around and found ledger autosync (I love this tool). Then I use hledger for my actual accounting. I rely heavily on automated transactions and virtual accounts to do
Read the rest
an envelop style budget. But its been amazing. I've been thinking about documenting the work flow. If you are interested ask on this comment and I'll put something together. Ledger likes are not for everyone. I'd actually say they not for most people, but I truly love the simplicity and flexibility. But I'd be using a text based email client if it wasn't for everyone sending html emails, so I'm a bit weird. That said having plain text files that you can manipulate is amazing. I don't know why but with Gnu-cash I was always unsure about using import tools and trashing my db. But with hledger I can try something and just roll back in mercurial if I don't like it. I'm sure I could have made copies of my Gnu-Cash files but I just feel more in control of hledger. Also hledger allows for things like automated transaction that simplify envelope budgeting. With auto sync and hledger, I've gone from my budget taking 1 - 2 hours a week to 10 - 20mins. No more hunting for that one typo that meant my budget didn't balance with my bank balance. Hledger has also been fantastic as far as help. I've jumped on IRC a few times for help and bug reports. The lead dev has been amazing. Fixing bugs the same day and offering help on using hledger. There are some great resources here https://plaintextaccounting.org/ Auto sync is here https://github.com/egh/ledger-autosync Hledger is here http://hledger.org/ How to do envelope budgeting with ledger likes https://frdmtoplay.com/envelope-budgeting-with-ledger/
In Ask HN: How do you record your personal finances?
Great answers. I'd just like to add https://github.com/egh/ledger-autosync as an additional solution for bank statement import. > I don't. After a while I found it's not worth the effort. I rarely make financial decisions based on how much I spent on beers and sandwiches, so most of these little things are just subsumed in Expenses:Cash. Agree completely - when keeping track of expenses, it is only worth tracking the numbers that matter to you. If it won't effect your decisions, don't bother tracking.
In Command Line, Console and UI Based Open Source Plain Text Accounting

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.