Tracery: a story-grammar generation library for javascript
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 9 commits ahead of galaxykate:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Welcome to Tracery!

How to use this

Go here to galaxykate's tracery to understand how to use & modify this

Go here to @DesignAdviceBot to see the end output of this on

or go here to to see how to generate Tweets from this code

Basic outline of how the grammar works

The origin gives the basic sentence structure of the Tweet

	"origin": ["#enhance# your #meetings# by #engaging with# #whiteboarding#"]

Everything in the origin enclosed by "#" is treated as a variable. These are modified by adding to or removing from the associated array e.g.

	"enhance" : ["Enhance", "Optimize", "Drive", "Rethink", "Hack", "Intensify", "Boost", "Innovate", "Streamline", "Simplify", "Extend", "Reinvent", "Augment", "Strengthen", "Upgrade", "Invigorate", "Advance", "Raise the profile of", "Progress", "Elevate", "Over-complicate", "Revise", "Rework", "Revolutionize", "Bring new life to", "Create engagement with", "Polish"]

An example of a Tweet created by this

@DesignAdviceBot Tweet