nikxda / actual-moneymoney Goto Github PK
View Code? Open in Web Editor NEWA CLI tool to import transactions from MoneyMoney to Actual.
A CLI tool to import transactions from MoneyMoney to Actual.
I'm running from the latest git version
commit 33394a7d3ee987dfe5ec59eb3b185c2f38a1dacf (origin/main, origin/HEAD)
Author: NikxDa <[email protected]>
Date: Thu Jan 18 02:38:06 2024 +0100
with the following node + rpm
% node -v
v21.6.0
% npm -v
10.2.4
And get the following error on npm run build
% npm run build
> [email protected] build
> npx tsc
src/commands/import.command.ts:5:23 - error TS1261: Already included file name '/Users/mirko/actual-moneymoney/src/utils/ActualApi.ts' differs from file name '/Users/mirko/actual-moneymoney/src/utils/actualApi.ts' only in casing.
The file is in the program because:
Imported via '../utils/ActualApi.js' from file '/Users/mirko/actual-moneymoney/src/commands/import.command.ts'
Imported via './ActualApi.js' from file '/Users/mirko/actual-moneymoney/src/utils/Importer.ts'
Matched by default include pattern '**/*'
File is ECMAScript module because '/Users/mirko/actual-moneymoney/package.json' has field "type" with value "module"
5 import ActualApi from '../utils/ActualApi.js';
~~~~~~~~~~~~~~~~~~~~~~~
src/utils/Importer.ts:3:23
3 import ActualApi from './ActualApi.js';
~~~~~~~~~~~~~~~~
File is included via import here.
Found 1 error in src/commands/import.command.ts:5
Note that the build succeeds, the dist
directory is created and usable/
Please consider the following feature request:
Background:
Depending on the account type and bank, some transactions are marked as "not yet booked" in MoneyMoney. These transactions may get deleted by the bank or may change its value before they are finally booked. See the first transaction in the screenshot below.
I do not want to import them into the budget yet.
Some users may want to have them, so I propose to make this a config option.
Providing an encryption password via e2e-password option does not work
$ node dist/index.js import -v --e2e-password='<e2e password here>'
seems to ignore the password.
Please consider the following feature:
Remarks about security of storing the password:
<data-dir>/actual/<filename>/db.sqlite
)Please consider the following feature:
As a user, I have multiple budgets. I want to specify the budget I want to import data into.
Implementation proposal:
$ node dist/index.ts --config=data/config-budget-a.json
Please consider the following Feature Request:
The CLI should be able to be installed via NPM and then be available as a command on the system, without manually building or needing to invoke the distribution files with node.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.