Thanks to the Raspberry Pi, we have easy access to extremely inexpensive machines running Linux that have all kinds of GPIO as well as various networking protocols. And as the platform has improved ...
tl;dr is: scrounge up some hardware, preferably on a recent-ish Intel platform with an igpu (i think 8th gen+ is the sweet shot), and then get a slew of storage. Pick a base operating system (I like ...