NicolasPetton / elbank

Elbank is a personal finances application for Emacs
https://gitlab.petton.fr/nico/elbank/
GNU General Public License v3.0
93 stars 7 forks source link

[discussion] Relationship with ledger-cli #2

Open Fuco1 opened 6 years ago

Fuco1 commented 6 years ago

Hey!

This project looks really cool and somewhat similar in spirit to ledger-cli. Even the format of the accounts is the same. Is there some relationship, do you use it as a backend for the calculations?

I've been using it since I can remember and the frontend you have here looks amazing, much nicer than the ledger reports which are somewhat "mechanical". But I'm not really interested much in transforming the data into another format :/ (and tbh ledger can handle pretty much everything there is already).

Did you think of making this a more generic front end, or are you going to implement the accounting logic as well?

NicolasPetton commented 6 years ago

Hi!

I've also used ledger for a long time, and the idea behind this project was to avoid doing any bookkeeping: scrap bank account data, display reports, and be done.

However, I think a ledger backend would make a lot of sense (weboob would be one backend, ledger would be another one).

Fuco1 commented 6 years ago

That makes perfect sense. For me it's a bit more complicated as just scraping a bank statement since I use ledger for personal finance as well as several businesses that I operate, and it's all sort of intertmingled (not ideal, but well... :D)

NicolasPetton commented 6 years ago

Interesting! Since you seem to be a heavy ledger user, could you tell me how you would like a ledger backend to work with elbank?

I'm thinking about selecting accounts to import in a custom var, like elbank-ledger-accounts. OTOH, elbank categories would be a good match for ledger accounts as well, so I'm not sure how to do this.

One possibility would be to have only one "Ledger" account, and use the account tree from ledger to make the categories.

Fuco1 commented 6 years ago

Sure, I'll play more with this and get back to you!