So I made an automatic update script in java that will iinstall lovely for you if it isnt installed, then read a mods.txt file and download the github repository specified. That about sums it up, its open source at
https://github.com/zrm9901/Balatro-Mod-Fetcher
This one is for linux