Giter Site home page Giter Site logo

actual-moneymoney's People

Contributors

mirkodziadzka avatar nikxda avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

mirkodziadzka

actual-moneymoney's Issues

Error when running "npm run build"

how to reproduce

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/

Feature Request: Consider an option to ignore transactions which are not yet booked

Please consider the following feature request:

  • As a user, I do not want to import transactions which are not already marked as "booked" into MoneyMoney

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.

Screenshot 2024-01-19 at 15 55 01

Some users may want to have them, so I propose to make this a config option.

Feature Request: Allow the user to specify the e2e password in the config file

Please consider the following feature:

  • As a user, I want to run this script without interaction.
  • As my budget server uses end-2-end encryption, I need to specify the encryption password somewhere.

Remarks about security of storing the password:

  • The end2end encryption password is used to make sure that no plaintext data is stored on the sync server.
  • Keeping the end2end password outside the config file does not increase the security on the sync client, the data is already on the system in plain text in the data directory (file <data-dir>/actual/<filename>/db.sqlite)

Feature Request: Support multiple budget

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:

  • Allow the user to specify the location of the config.json file via command line argument
  • Allow the user to configure the location of the cache and data directory in the config.json file
$ node dist/index.ts --config=data/config-budget-a.json

Distribute as executable command

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.