Author should've just used a $1 adjustable buck converter with USB-C in. There would be no issues with heat, or the need for a big capacitor even.