There's Twine, of course, but it doesn't look like the browser-based version can be downloaded and self-hosted.