Another update; there is a new example in the Balladeer repository, designed to demonstrate the enormous potential of approaching IF design from a web-native perspective.
This is a complete example of a Balladeer story which accepts text commands in the browser.
It also provides API endpoints to service a Javascript frontent.
The JS components create a graphical diorama, with extra product detail when the user
mouses over a game object.
The main focus of this demo is a JS implementation of a ‘typeahead’ prompt for user text input.
Here is a screenshot of 'Ten Green Bottles`, a traditional song crafted as Interactive Fiction in a Balladeer style: