Is writing a webchat client some black dark art?
There's nothing much you need to know to write a webchat client. Campfire isn't high volume, so it doesn't need to be too efficient either. Last time I checked campfire processes a few messages a second. Heck you could rewrite it in PHP/MySQL if you were that way inclined.
Campfire didn't succeed because it was a good product. It succeeded because they marketed it to their "following" who bought into it.