{"id":14967826,"url":"https://github.com/mattms/jader","last_synced_at":"2026-01-25T02:01:32.793Z","repository":{"id":2945336,"uuid":"3958573","full_name":"MattMS/jader","owner":"MattMS","description":"Start a simple server in any directory with Jade templates including CoffeeScript and Stylus.","archived":false,"fork":false,"pushed_at":"2015-06-17T13:51:50.000Z","size":138,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T09:46:42.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://mattms.github.io/jader/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MattMS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-07T15:19:45.000Z","updated_at":"2015-06-07T08:24:30.000Z","dependencies_parsed_at":"2022-08-27T09:50:44.842Z","dependency_job_id":null,"html_url":"https://github.com/MattMS/jader","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattMS%2Fjader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattMS%2Fjader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattMS%2Fjader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MattMS%2Fjader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MattMS","download_url":"https://codeload.github.com/MattMS/jader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239269848,"owners_count":19610891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:38:40.512Z","updated_at":"2026-01-25T02:01:32.756Z","avatar_url":"https://github.com/MattMS.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jade server\n\nJader lets you start a basic server in any folder.\n\nIt compiles\n[Jade](http://jade-lang.com/)\ntemplates, with embedded or linked\n[CoffeeScript](http://coffeescript.org/),\n[Markdown](https://daringfireball.net/projects/markdown/)\nand\n[Stylus](https://learnboost.github.io/stylus/)\nfiles.\n\nPlease note: This is only intended for aiding development.\n\nIf you want to use Jade templates in production, consider using\n[Express](http://expressjs.com/).\n\nAlternatively, you can compile Jade files with `jade index.jade` or\n[Gulp](http://gulpjs.com/),\nbut you may not have access to\n[filters](http://jade-lang.com/reference/filters/)\nthis way.\nStatic files can then be served with [Nginx](http://nginx.org/).\n\n\n## Usage\n\nYou should install Jader globally so that it creates the executable\nscript for you.\n\n\tnpm install -g jader\n\nYou can then start the server on [localhost](http://localhost/)\nin any directory:\n\n\tjader\n\nIf you need to use a different port to 80, use:\n\n\tjader -p 1337\n\nJader will also serve any other static files in the directory.\n\n\n## Local variables\n\nYou can test the variables in templates by including a \".json\" file\nalong with each \".jade\" file.\n\nAny JSON file with the same base-name as the Jade template will be read\nand passed into the template as local variables.\n\n\n### Example\n\nindex.jade\n\n\tdoctype html\n\thtml\n\t\thead\n\t\t\ttitle #{title}\n\t\tbody\n\t\t\tp #{message}\n\nindex.json\n\n\t{\n\t\t\"title\": \"My Page\",\n\t\t\"message\": \"It works!\"\n\t}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattms%2Fjader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattms%2Fjader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattms%2Fjader/lists"}