I wanted to use only unixy tools to build scratchpad, but it turned out to be cumbersome. The HTML and Atom generators are written in Python: 103 lines of code as of today.

I tried to use rc and sh, but it was quite inconvenient to use. After a while I decided to fall back to Python.