Skip to content

boomerchi/diecutter

 
 

Repository files navigation

diecutter

diecutter is a web application around file generation:

  • templates are the resources ;
  • the most common operation is to POST data to templates in order to retrieve generated files.

diecutter can render single files and directories. Directories are rendered as archives.

Example

GET raw content of a template:

$ curl -X GET http://diecutter.io/api/greetings.txt
{{ greetings|default('Hello') }} {{ name }}!

POST data to the template and retrieve generated content:

$ curl -X POST -d name=world http://diecutter.io/api/greetings.txt
Hello world!

Project status

Although under active development, diecutter already works, so give it a try!.

Check milestones and vision for details about the future.

Also notice that diecutter is part of an ecosystem:

See also alternatives and related projects section in documentation.

Resources

About

Templates as a service

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.4%
  • HTML 6.6%
  • Makefile 5.0%