I updated my comment. I wouldn't approach it from the idea of a php parser. Also, don't assume that its a couple of "shitty themes". I hate to tell you this, but wordpress wouldn't be where it it today without these "shitty themes". Writing a blog engine in node.js is a great start, but to gain traction you need to appeal to the masses.