News for hackers. Stuff that matters.
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by stevenringo on Monday August 27, 2018 @06:34PM (#17855113)
Hi. This looks fantastic. Well done. Has anyone tried this with hledger (http://hledger.org/) ? The file formats are quite similar, so hoping it wouldn’t be too hard to get it to work. Thanks.
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by smichael on Tuesday August 28, 2018 @12:39PM (#17860304)
It looks not too hard - four invocations of ledger in analyze.js which would need to be adapted for hledger. (I'd give it a try, but I failed to get the app's main page working.)
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by smichael on Tuesday August 28, 2018 @02:37PM (#17861562)
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by kendrick__ on Wednesday August 29, 2018 @01:16AM (#17865851)
Thanks! I'll definitely look into that
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by xrd on Monday August 27, 2018 @10:18AM (#17851611)
Is ledger something anyone has installed on a private cloud? I'm interested in using this with the cli but would love to know if there is a way to make it a little less centralized but still secure?
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by jdemler on Monday August 27, 2018 @10:26AM (#17851663)
We use ledger with git for distributed accounting work.

Ledger files are plaintext, works really great.

Re:Show HN: Ledger-analytics – Analytics for ledger-cli by mikekchar on Monday August 27, 2018 @06:40PM (#17855140)
Also, if you encrypt it using GPG with multiple keys, it will allow only a few people to work with it. Probably best to write a script that does it because not everybody understands how GPG works ;-)
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by bergie on Monday August 27, 2018 @10:49AM (#17851815)
Additionally you can use CI for testing and validating the ledger files.

For example we check that expenses don't overrun their allocated budget, and that there is still enough months of runway in left.

Re:Show HN: Ledger-analytics – Analytics for ledger-cli by johntash on Monday August 27, 2018 @11:05AM (#17851913)
Another option to consider is Fava. It's a web frontend for Beancount which is another plain-text accounting tool similar to ledger. There's no authentication or security on the frontend, but you could probably put it behind basic auth+ssl to start with.

https://github.com/beancount/fava http://furius.ca/beancount/

Re:Show HN: Ledger-analytics – Analytics for ledger-cli by zorked on Monday August 27, 2018 @10:23AM (#17851650)
Keeping a copy of the journal in the Keybase filesystem (or Keybase git) could be a good/easy/safe way to do it.
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by johntash on Monday August 27, 2018 @11:02AM (#17851892)
This is what I currently do, and it works pretty well. I just have a regular git repo in keybase-git and have my ledger(beancount) files plus whatever scripts I need to import statements from various banks/credit cards.
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by erikb on Monday August 27, 2018 @10:32AM (#17851705)
The central point is the content of your data. Also incomplete datasets should still work fine with both ledger and this analytics tool. So, not sure how it could be less centralized than this.
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by dmix on Monday August 27, 2018 @10:27AM (#17851674)
Github README could use a screenshot, especially for a very visual app as analytics.

Edit: nm

Re:Show HN: Ledger-analytics – Analytics for ledger-cli by erikb on Monday August 27, 2018 @10:29AM (#17851680)
It's loading two gifs for me.
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by dmix on Monday August 27, 2018 @10:34AM (#17851723)
Apologies, I'm on a slow coffeeshop connection.
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by cammil on Monday August 27, 2018 @12:02PM (#17852253)
Aren't we all?
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by cammil on Monday August 27, 2018 @12:04PM (#17852264)
Nice. Anyone aware of the alternatives to this?
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by notdang on Monday August 27, 2018 @01:31PM (#17852894)
Re:Show HN: Ledger-analytics – Analytics for ledger-cli by Khaine on Tuesday August 28, 2018 @07:33AM (#17857978)
Looks great. Can't wait to try it