israeli-banks-actual-budget-importer 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/dependabot.yml +15 -0
- package/.github/workflows/codecov.yml +26 -0
- package/.github/workflows/codeql.yml +82 -0
- package/.github/workflows/dependency-review.yml +20 -0
- package/.github/workflows/main.yml +39 -0
- package/.github/workflows/scorecard.yml +72 -0
- package/.github/workflows/snyk-security.yml +67 -0
- package/.releaserc +47 -0
- package/.vscode/settings.json +1 -0
- package/.yarn/releases/yarn-4.7.0.cjs +935 -0
- package/.yarnrc.yml +3 -0
- package/CHANGELOG.md +6 -0
- package/Dockerfile +8 -0
- package/README.md +25 -0
- package/SECURITY.md +48 -0
- package/bun.lock +1939 -0
- package/package.json +24 -0
- package/renovate.json +3 -0
- package/src/index.ts +0 -0
- package/tsconfig.json +22 -0
package/.yarnrc.yml
ADDED
package/CHANGELOG.md
ADDED
package/Dockerfile
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Israeli Banks → Actual Budget
|
|
2
|
+
[](https://github.com/semantic-release/semantic-release)
|
|
3
|
+
[](https://github.com/xojs/xo)
|
|
4
|
+
[](../../actions/workflows/snyk-security.yml)
|
|
5
|
+
[](../../actions/workflows/codeql.yml)
|
|
6
|
+
[](https://securityscorecards.dev/viewer/?uri=github.com/tomerh2001/semantic-release-repo-template)
|
|
7
|
+
|
|
8
|
+
This repository provides a simple script to import transactions from Israeli banks (via [israeli-bank-scrapers](https://github.com/eshaham/israeli-bank-scrapers)) into [Actual Budget](https://github.com/actualbudget/actual).
|
|
9
|
+
|
|
10
|
+
## Features
|
|
11
|
+
1. Supports all of the institutions that the [israeli-bank-scrapers](https://github.com/eshaham/israeli-bank-scrapers) library covers (Bank Hapoalim, Cal, Leumi, Discount, etc.).
|
|
12
|
+
1. Automatically **creates new Actual accounts** if none exist.
|
|
13
|
+
2. **Prevents duplicate transactions** using Actual’s [`imported_id`](https://actualbudget.org/docs/api/reference/#transactions) logic.
|
|
14
|
+
3. Configurable via a single JSON file specifying bank credentials, start dates, etc.
|
|
15
|
+
|
|
16
|
+
## Logging & Errors
|
|
17
|
+
The script logs each step (connections, scraping, account creation, transaction import results). If any errors occur, they are printed to stderr.
|
|
18
|
+
|
|
19
|
+
## Common error scenarios
|
|
20
|
+
- Wrong credentials (scraper fails).
|
|
21
|
+
- Actual Budget server is not running or wrong credentials (password).
|
|
22
|
+
- Conflicting or missing environment/config.
|
|
23
|
+
|
|
24
|
+
## Contributing
|
|
25
|
+
Feel free to open pull requests and issues! Suggestions or improvements are welcome.
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## 1. Purpose
|
|
4
|
+
|
|
5
|
+
This document provides guidelines and procedures for maintaining the security and integrity of the repository.
|
|
6
|
+
|
|
7
|
+
## 2. Scope
|
|
8
|
+
|
|
9
|
+
This policy applies to all contributors, maintainers, and users of the repository.
|
|
10
|
+
|
|
11
|
+
## 3. Repository Security
|
|
12
|
+
|
|
13
|
+
### 3.1. Access Control
|
|
14
|
+
|
|
15
|
+
- Access to the repository is restricted to authorized personnel only. All contributors must have a valid and active GitHub account.
|
|
16
|
+
- External collaborators should be granted access on a need-to-know basis and should be reviewed periodically.
|
|
17
|
+
|
|
18
|
+
### 3.2. Encryption
|
|
19
|
+
|
|
20
|
+
- All sensitive data stored in this repo must be encrypted using `git-crypt`.
|
|
21
|
+
- Authorized users will be provided with decryption keys. These keys must not be shared, stored publicly, or embedded in code.
|
|
22
|
+
|
|
23
|
+
### 3.3. Code Review
|
|
24
|
+
|
|
25
|
+
- All pull requests (PRs) must undergo a code review by at least one other member before being merged.
|
|
26
|
+
- PRs with changes to cryptographic routines or handling of encrypted data must be reviewed by a security expert.
|
|
27
|
+
|
|
28
|
+
## 4. Reporting Security Issues
|
|
29
|
+
|
|
30
|
+
- If you discover a vulnerability or security issue, please create an issue on the GitHub repository. Label it as `security` for easy identification.
|
|
31
|
+
- Do not disclose details of the vulnerability in public forums, chats, or other public channels.
|
|
32
|
+
|
|
33
|
+
## 5. Patch Management
|
|
34
|
+
|
|
35
|
+
- All contributors are encouraged to regularly fetch updates from the main branch and ensure their local copy is updated to benefit from security patches.
|
|
36
|
+
|
|
37
|
+
## 6. Compliance
|
|
38
|
+
|
|
39
|
+
- Contributors found to be in violation of this policy may have their access revoked.
|
|
40
|
+
- Users and maintainers are encouraged to report any non-compliance to this policy.
|
|
41
|
+
|
|
42
|
+
## 7. Review and Updates
|
|
43
|
+
|
|
44
|
+
This policy will be reviewed annually or after any significant incident.
|
|
45
|
+
|
|
46
|
+
## 8. Contact
|
|
47
|
+
|
|
48
|
+
For any queries or concerns regarding this security policy, eat a biscuit. (tomerh2001@gmail.com)
|