This repository was archived by the owner on May 29, 2023. It is now read-only.

Description
Now that actual is open-source, I'm trying to use this node-api with the self-hosted version.
The documentation states that I must first be running actual locally. However, with the self-hosted version of actual the closest I get to running it locally is by going to the site where it is hosted in the browser.
I see that connection.js is trying to make a socket connection to my locally running actual. However, it fails since actual is just loaded in firefox, despite the fact that these are both local.
I also tried running this node-api on the server were actual is installed, and it too fails.
Error: Couldn't connect to Actual. Please run the app first.
at init (/Users/username/node_modules/@actual-app/api/connection.js:44:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _run (/Users/username/node_modules/@actual-app/api/connection.js:90:5)
Is there still a way to use the api with the self-hosted version of actual?
@jlongster
Thanks!