Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

fujimura/ghostwriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

note: under heavy development

Ghostwriter

Template engine server by JavaScript, a ghostwriter for your favorite web app framework.

Why

I think designers in your team don't want to understand #{template-engine-of-your-favorite-language}.

How to run

$ git clone git://github.com/fujimura/ghostwriter.git
$ cd ghostwriter
$ npm install . -g
$ ghostwriter -p 3000 -t ./examples

Example

$ cat examples/hello.html.ejs
Hello, my name is <%= name %>
$ curl -d '{"name":"Mad Skillz"}'          \
       -H "Content-Type: application/json" \
        http://localhost:3000/hello.html
HTTP/1.1 200 OK
X-Powered-By: Express
Content-Type: text/html; charset=utf-8
Content-Length: 29
Connection: keep-alive

Hello, my name is Mad Skillz

Licence

Ghostwriter is released under the MIT license:

About

Template engine server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published