As for build a primitive one at home, (assuming one == machine controlled knitting machine) see the journey of Gerard Rubio from OpenKnit to Kniterate
https://www.labonthecheap.com/the-openknit-machine/ https://www.kniterate.com