Skip to content

astynax/hb.cgi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hb.cgi

"The Handlebars but as a CGI-app". Because it's fun. And helps Web to stay Smol.

Usage

Just do GET with url-encoded

  • t as a Handlebars template URI
  • d as a JSON data URI

Also you can POST the same stuff either form-encoded or in JSON body with forementioned t+d params in both cases.

Examples

Makefile runs the lighttpd as a server which then serves all the stuff from the dev/ folder. One can just open http://localhost:8000/ and click some buttons. The code here is pretty self-explanatory, so you're welcome to play with!

About

A Handlebars template engine as CGI-app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published