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/.yarnrc.yml ADDED
@@ -0,0 +1,3 @@
1
+ yarnPath: .yarn/releases/yarn-4.7.0.cjs
2
+
3
+ nodeLinker: node-modules
package/CHANGELOG.md ADDED
@@ -0,0 +1,6 @@
1
+ # 1.0.0-beta.1 (2025-03-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **initial-commit:** restructure project files and update dependencies ([ad1abcf](https://github.com/tomerh2001/israeli-banks-actual-budget-importer/commit/ad1abcf4e405f2356342b684fff3773a92b3b4ce))
package/Dockerfile ADDED
@@ -0,0 +1,8 @@
1
+ FROM alpine:latest
2
+
3
+ ARG GH_REPO
4
+ ARG RELEASE_NOTES
5
+
6
+ LABEL org.opencontainers.image.source $GH_REPO
7
+
8
+ CMD ["echo", "Hello World!"]
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # Israeli Banks → Actual Budget
2
+ [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
3
+ [![XO code style](https://shields.io/badge/code_style-5ed9c7?logo=xo&labelColor=gray)](https://github.com/xojs/xo)
4
+ [![Snyk Security](../../actions/workflows/snyk-security.yml/badge.svg)](../../actions/workflows/snyk-security.yml)
5
+ [![CodeQL](../../actions/workflows/codeql.yml/badge.svg)](../../actions/workflows/codeql.yml)
6
+ [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/tomerh2001/semantic-release-repo-template/badge)](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)