Script for syncing transactions in Sparebank1 with Actual budget
Find a file
Martin Berg Alstad 9944e2d077
All checks were successful
Deploy application / deploy (push) Successful in 10s
Update dependencies
2025-12-04 17:46:35 +01:00
.forgejo/workflows feat(Forgejo) Replace gitea with Forgejo, add TODO.md and generic containers 2025-11-29 14:54:34 +01:00
httpRequests 🎉 Allow syncing multiple accounts at once 2025-02-02 12:37:43 +01:00
packages 📦 Update dependencies 2025-07-03 20:00:06 +02:00
src ⬆️ Update actual api to 25.3, cron to 4 2025-03-02 08:37:38 +01:00
tests 🚀 Init and shutdown Actual on job 2025-02-09 13:34:00 +01:00
.containerignore feat(Forgejo) Replace gitea with Forgejo, add TODO.md and generic containers 2025-11-29 14:54:34 +01:00
.env.example 🔪🐛 Fix corepack bug, removed unused envs, npm in docker 2025-02-05 20:27:08 +01:00
.gitignore GitIgnore database 2025-01-23 21:06:42 +01:00
compose.yml feat(Forgejo) Replace gitea with Forgejo, add TODO.md and generic containers 2025-11-29 14:54:34 +01:00
Containerfile feat(Forgejo) Replace gitea with Forgejo, add TODO.md and generic containers 2025-11-29 14:54:34 +01:00
flake.lock ❄ Nix shell using flake 2025-02-02 12:34:09 +01:00
flake.nix feat(Forgejo) Replace gitea with Forgejo, add TODO.md and generic containers 2025-11-29 14:54:34 +01:00
jest.config.ts ✏ README, fix start-once bug and refactor 2025-01-25 22:30:52 +01:00
package.json Update dependencies 2025-12-04 17:46:35 +01:00
pnpm-lock.yaml Update dependencies 2025-12-04 17:46:35 +01:00
pnpm-workspace.yaml 🧹 Moved Sb1 API to separate workspace and created common workspace 2025-02-09 12:35:08 +01:00
README.md 🧹 Moved Sb1 API to separate workspace and created common workspace 2025-02-09 12:35:08 +01:00
TODO.md feat(Forgejo) Replace gitea with Forgejo, add TODO.md and generic containers 2025-11-29 14:54:34 +01:00
tsconfig.json 🌟 Refactor 2025-02-13 21:07:30 +01:00

Sparebank1 ActualBudget Integration

Setting up the environment

In order to start the application, an .env.local file must be present at the root level. The possible and required fields can be found in the .env.example file and config.ts.

For running integration tests, the .env.test.local file must be present at the root level, with Actual fields present.

HTTP requests can be used from an IDE via the .http files. Secrets must be placed in a file called http-client.private.env.json in the httpRequests directory. See the .http files for required values.

Running the application

Start the application using a CronJob that runs at a given time. Can be stopped using an interrupt (^C)

pnpm start

Start the application without a CronJob, it will run once, then shutdown.

pnpm run-once