This template offers a rudimentary structure for users to either copy-paste their Tracery code or modify and add to the provided code. This doesn't include the escape codes so I'm honestly not sure how you'd insert a hashtag, for instance.
I created this as a way to port my CBDQ bots to HTML, and am sharing it with the community in the same generous spirit that Kate Compton and V. Buckenham had when creating and sharing Tracery and Cheap Bots Done Quick!
The page is more or less responsive (it should look decent on a phone). It reloads automatically every 30 seconds and goes fullscreen with any click.
This is the first of several coding engines I will create (with major help from Chat GPT) to lower the access barrier to creative coding, digital writing, and electronic literature. To use it, you can save this file and open it with a text/code editor or download it here. And because it is licensed with the MIT license, you already have my permission to use it and modify it as you see fit. I hope you find it useful!