Well, in theory you could have an 8-pin ATTiny processor, a decoupling capacitor, a transistor, a base resistor and a load resistor. Might not need the base resistor if the GPIO pullup resistor is enough to drive the transistor, which it almost certainly would be. Might not need the capacitor either.