Furnace Core by Saithe
Furnace core handles all of the distributing of items and fuel, as well as the gathering of items into an output chest. You can just have wrapper scripts to call the functions, or you can write a whole gui. Everything should work in cc:tweaked for forge and neoforge, but fabric has different ways of handling the inventory peripheral so it could be wacky.
To use it you want to create a classic super smelter with one inventory for fuel and one for input, and an inventory for output. Then connect these inventories to a network and call newFurnace in the core table, passing it the names of the input, output, and fuel inventories. The user facing input, output, and fuel inventories are declared in the core.chest table. There's also some example settings to show you the format.
In addition to the main furnaces in the array, you'll need one extra furnace which is assigned as core.excess. This furnace handles the remainder when an input receives a number of items not divisible by the number of furnaces in the array.
wget run https://pinestore.cc/d/121Git Repository