I'm not certain if he is using @pdurrant's scrip since that does not require much other than allowing it to run in the Privacy and Security app. There is also
eCanCrusher which I tried a couple of times which does much the same converting between a directory and an epub file.