Stepper library and code modification help

So I have been struggling to build automated blinds. I started looking at ready made solutions for the task and came across some codes and build projects. Tried different ones and non worked for me.
In short now I want to use a NEMA stepper(4 wire), an Wemos/NodeMCU/Arduino board and a stepper driver like DRV8825 or similar.

I have found awesome projects like this: GitHub - nidayand/motor-on-roller-blind-ws: WebSocket and MQTT supported device code for the roller blind. As rework of the design and code is on its way there won't be any updates to this repository
But it uses 5 wire steppers and they are to low torque.
So I googled around and found that the same code base has been used to work with a NEMA: HomeBridge – MQTT Blinds - Part II - StudioPieters®
Cool, exactly what I need. Sadly not! It uses an H-bridge for the NEMA but I have learned that that's not the correct way of going.

DRV8825 needs 2 pins from the controller STEP and DIR. Haven't fond any blinds code that does this so thought about modifying the already linked code by studiopieters. He is using the Arduino stepper library what should also be compatible with 2 pin control. But I didn't figure out how to modify it correctly.
Anyone can help?

These links may help get you started
Stepper Motor Basics
Simple Stepper Code

also look up the AccelStepper library. The standard Stepper library is not intended for drivers that take step and direction signals.

...R