Created
April 13, 2023 18:41
-
-
Save buanzo/756929d46a046c726b5f0fd62a0af3fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kilu is a YAML-based template system that enables you to generate project files for any project that you indicate. The syntax of a Kilu template is as follows: | |
A basedir field specifies the base directory for the project. It should be a string value. | |
A files field contains a list of file entries. Each file entry should have a name and content field. The name field should be a string value that specifies the name of the file, and the content field should be a multiline string that defines the contents of the file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The GIST above is an LLM prompt. If you feed it, for instance, to GPT4, you can then ask it to use Kilu to provide multi-file content. Like a project scaffolding, maybe a simple website. You can then easily create the files locally by using a script such as this:
kilu.py
This is how a Kilu template looks like for a generic project:
In fact... here is kilu... In Kilu! Includes version.txt, kilu_prompt.txt and the kilu.py Kilu interpreter.
Of course, GPT and I built this together.