Temperos
On the fly template rendering
What does it do
If http://somewhere.com/a-mustache-template.html
holds a file like
<template>
<h1>{{ title1 }}</h1>
<p>...</p>
<h1>{{ title2 }}</h1>
<p>...</p>
</template>
the output of
http://temperos.alhur.es/http://somewhere.com/a-mustache-template.html
?title1=something&title2=nothing
will be
<template>
<h1>something</h1>
<p>...</p>
<h1>nothing</h1>
<p>...</p>
</template>
Examples
- Get this random gist URL, add some parameters and it renders into this nice question.
- Or perhaps there's something more useful than this: you can get a Google Analytics empty snippet and render it into your custom snippet with the correct code.
- Can you think of more use cases? Please add them.