A simple NodeJS server to receive Firefly III Webhooks
The server currently manage a transaction:create
webhook, and is used to juggle transaction's date
, book_date
and payment_date
.
It may evolve in the future, based on new necessities for Firefly III automations.
If you are using Docker:
Simply instantiate a new container from the latest
version of the image
docker pull ghcr.io/vargash/firefly-iii-webhooks:latest
If you want to run directly on your host machine:
- Install latest version of NodeJS
- Clone the repo
- Place yourself in the project root
- Run the application
node app.js
The server requires two environment variables in order to properly run:
FIREFLY_HOST
: the url of your Firefly III instance (in the formatscheme://host:port
, used to invoke the proper API to update Firefly III itemsFIREFLY_BEARER_TOKEN
: a Firefly III Personal Access Token, used to authenticate with your instance's API. See Firefly III Docs to learn how to generate one.