I got this inflator at Canadian Tire for $9.99 in the hopes that the guts were a lot smaller than the box.
I suspect most of the el-cheapo inflators available have very similar innards.
Happily, the necessities are quite compact. For a really minimal solution you could stop here and wire the plug back on with a shortened cable but the rotating gear and exposed crank assembly are quite un-safe looking.
I decided to add side plates and wire the switch back in for convenience. I also decided to leave the pressure gauge on. It's not very accurate but gives a reasonable idea.
I need an inflator because I often 'Guerilla camp', sometimes a mile or two off the highway and dread finding a flat in the morning.
It draws over 4A so I'd probably start the bike first if I was alone and had to inflate from flat.