Sadly it takes a bit of time to complete the game, but if you want to make things easier here's some tips!
-Stagger your jolts a bit. You get the same amount of 'energy' regardless of if you spam it or if you wait a bit. Don't wait too long as there is a cap, but about 10ish seconds between each press should be good.
-Try to drink coffee whenever your caffeine drops to about 50%. I've found that's a good point where you can have coffee available as often as possible, without losing too much energy due to low caffeine.
-Your coffee cup has 3 uses before you need to refill. Additionally, once you have your third drink, instantly go to the coffee machine refill the cup. This will minimize the amount of time you can't refill your caffeine.
-While your coffee cup is refilling, you can go back to your computer and keep writing. I've found it's possible to do 1-2 additional minigames before your coffee is ready, which optimizes your time as much as possible.
Best of luck! (And all good if you can't complete it, thanks for trying anyway! I didn't have enough time to fully playtest and balance everything before the deadline lol)