View on GitHub

Clay

A computable document creation tool for Javascript code and almost-plain-text with zero dependencies.

Download this project as a .zip file Download this project as a tar.gz file

You can use Clay by opening clay.html in Chrome or a similar modern browser.

Clay is the document and also the tool; when you create a document using clay and save it as another HTML file, that HTML file can also create documents.

Specifically, it's a single HTML file with zero outside dependencies that allows you to experiment with arbitrary Javascript code and also save all your work including the output, ready to edit when the saved file is loaded again.

Technologies Used

No libraries used for DOM manipulation or event handling; just doing it straight was good enough and led to much fewer total lines of code, and being cross platform wasn't my goal.