Server side gist parser for ColdFusion
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Pulls a gist from github and turns it into html on the server side

Uses the rhino Javascript engine to execute the javascript that would have been run in the browser and captures the output.


<cfimport taglib="cfgist" prefix="gh" />
<gh:gist id="1978698" cachepath="ram://" />

The gists will be cached to cachePath if provided, to clear the cache just delete the files


Uses Railo's enhanced createobject() to allow the loading of js.jar at runtime. To run on Adobe ColdFusion you'll need to drop js.jar somewhere on your class path and remove the third argument to createobject