Since James Clear's blog is getting shared because it's old (2012), I will share the OG post that kicked off the intermittent fasting trend: Leangains (2010).
Leangains didn't invent IF, but it did inspire more people in the last decade than anything else, including James Clear (it's the first reference he cites in this article).