The fundamental problem is that he doesn't actually want to be doing what he is doing, despite the rhetoric of "great team and awesome project". Come on, is that really how you feel about it deep in your heart, or is it empty SV rhetoric?
Two things will help this author:
(1) Strike out on your own, following your own motivation only. Yes you have to figure out how to make ends meet financially, but that is your lot in life. Fortunately it is easier to do this with computers than in most other fields.
(2) Meditate, learn to observe your mind and why it does what it does, so that you don't feel powerless or subservient to things like burnout. It's hard to explain the transformation that takes place, but being able to stand next to or outside these mental processes is very powerful.