NickvisionApps / Denaro

Manage your personal finances
https://flathub.org/apps/details/org.nickvision.money
MIT License
583 stars 38 forks source link

Feature requrest: Import/sync with cospend #561

Open 13hannes11 opened 1 year ago

13hannes11 commented 1 year ago

I am currently using cospend in my Nextcloud and I want to avoid needing to add everything twice. Therefore I think it would be great to have a sync feature with cospend. I however understand if such a feature is out of scope for this project.

nlogozzo commented 1 year ago

We could look into it, but I don't know if cospend has an API that we can tap into.

Does cospend allow for exporting your data to a certain format? If we can't sync with cospend directly, we can add support for the file format that cospend exports too and support importing that in Denaro...

fsobolev commented 1 year ago

We could look into it, but I don't know if cospend has an API that we can tap into.

https://github.com/julien-nc/cospend-nc/blob/main/docs/dev.md#public-api

Does cospend allow for exporting your data to a certain format?

According to description on Nextcloud Apps, it support import/export from IHateMoney compatible CSV format.

nlogozzo commented 1 year ago

it support import/export from IHateMoney compatible CSV format.

Might be best to implement this feature by supporting importing and exporting a IHateMoney CSV

fsobolev commented 1 year ago

Adding documentation label to not forget to update docs to reflect the changes.

13hannes11 commented 1 year ago

Maybe this could be combined with support of an automatic import feature. Basically watch a folder for new files and auto import these.

This way in Nextcloud Cospend could be set to autoexport, we could use the Nextcloud client to sync that folder and then use autoimport.