Browser and install GUI for cookiecutter templates

βŒˆβŒ‹ βŽ‡ branch:  cookiedough


Artifact [e800ae3773]

Artifact e800ae37732e81ee35455d30ad5dd65789e6169db91501a74500ca7530c9c1d6:

Wiki page [cookiedough] by mario 2021-03-23 15:29:18.
D 2021-03-23T15:29:18.670
L cookiedough
N text/x-markdown
P 3451785502e3bd98e28d999271bb5e400a003830c285f482edb7b0dafeb67b76
U mario
W 1808
[**cookiedough**(1)](https://fossil.include-once.org/cookiedough/file/manpage/cookiedough.md)
is a GUI browser for [cookiecutter](https://pypi.org/project/cookiecutter/) templates. And can of course extract them.
It comes with a database of around 2300 cookietemplates, grouped by category, and allows some
rudimentary filtering. Very **early alpha**, but usable. 

![screenshot main window](https://imgur.com/wn9mEny.png)


# Installation / Use

Just install it as normal pip package:

    ~$   pip3 install -U cookiedough

And start it from a terminal window:

    ~/projects$   cookiedough

Keep an eye on the terminal when rolling out a template. Not all prompts
might be captured by monkeypatching.


# Notes

There's some usage information in the man page, and in the →Help→Help.


## Bugs / Caveats

 * No support for template dictionary variables. (They're not widely used though.)
 * Replay support isn't enabled yet.
 * Database does not contain any directoried templates yet. (A few do exist.)
 * The README colorization is fairly basic. (But more processsing would
   slow it down too much.)
 * It can crash when speed-scrolling through the templates. (Perhaps PSG
   vs Tk threads issue.)
 * Tkinter might also crash when encountering emojis. (Either install
   Symbola font and get rid of Noto Color Emoji. Or upgrade to tcl/tk
   8.6.10, or go back to Ubuntu 18.04 where it miraculously worked.)


## See also

 * [Improving your cookiecutters.json](https://fossil.include-once.org/cookiedough/wiki/improve)
 * [How/what to contribute](https://fossil.include-once.org/cookiedough/wiki/contribute)
 * [uidata struct](https://fossil.include-once.org/cookiedough/wiki/uidata)
 * [usage](https://fossil.include-once.org/cookiedough/wiki/usage)


Z e1b29d601d0bbc00d80a3322e0f432fb