Quest is an open-source engine and editor for text adventure games, available as a web app and also as a Windows desktop app.