This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
tale with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Offline-first, location based story telling. Create tales that get people moving.
Here is a very boring example, gfor your reference:
Also, see the wiki: https://github.com/ryanramage/tale/wiki
npm install tale -g
Enter a empty directory and run
tale init to help you start. eg
mkdir wibbile-wobble cd wibble-wobble tale init
This will help you scafold out a story. It has a package.json which describes the story, and folders representing the chapters. Edit the chapters and make something fun!
To build the html5 app the will play the story, run
and this will generate a
build dir that is totally offline enabled, with each chapter is encrypted.
If you want to test it in a browser:
When your story is ready, just do
This will publish it to http://t4.io as public story.
If you choose to host is somewhere else, just copy the build directory to any http server.