{"id":15319071,"url":"https://github.com/appleboy/html5-template-engine","last_synced_at":"2025-04-15T02:29:12.044Z","repository":{"id":6075148,"uuid":"7301314","full_name":"appleboy/html5-template-engine","owner":"appleboy","description":"html5 template engine with CoffeeScript, Compass, RequireJS.","archived":false,"fork":false,"pushed_at":"2016-12-15T01:01:54.000Z","size":1599,"stargazers_count":80,"open_issues_count":0,"forks_count":61,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-10T09:31:29.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://appleboy.github.io/html5-template-engine/","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appleboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-24T02:45:50.000Z","updated_at":"2022-10-24T01:33:11.000Z","dependencies_parsed_at":"2022-08-30T16:21:54.919Z","dependency_job_id":null,"html_url":"https://github.com/appleboy/html5-template-engine","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fhtml5-template-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fhtml5-template-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fhtml5-template-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fhtml5-template-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleboy","download_url":"https://codeload.github.com/appleboy/html5-template-engine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248935545,"owners_count":21185852,"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-10-01T09:03:30.398Z","updated_at":"2025-04-15T02:29:12.010Z","avatar_url":"https://github.com/appleboy.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Html5 Template Engine\n\n[![Build Status](https://travis-ci.org/appleboy/html5-template-engine.png)](http://travis-ci.org/appleboy/html5-template-engine) [![devDependency Status](https://david-dm.org/appleboy/html5-template-engine/dev-status.svg)](https://david-dm.org/appleboy/html5-template-engine#info=devDependencies)\n\n##### Hint: [New Slush generator Html5 web apps](https://github.com/appleboy/slush-html5-template) available\n\n## Features\n\n* The latest [html5boilerplate.com](http://html5boilerplate.com/) source code.\n* Includes [Normalize.scss](https://github.com/appleboy/normalize.scss) v2.1.x and v1.1.x.\n* The latest [jQuery](http://jquery.com/) and [Modernizr](http://modernizr.com/) via [Bower](http://bower.io/) package manager.\n* Support [CoffeeScript](http://coffeescript.org/), [RequireJS](http://requirejs.org/), [Compass](http://compass-style.org/), html minification (via [htmlcompressor](http://code.google.com/p/htmlcompressor/)).\n* Support JavaScript test framework [Mocha](http://mochajs.org/).\n* Support streaming build system [Gulp](http://gulpjs.com/).\n* Support [browser-sync](http://browsersync.io) Keep multiple browsers \u0026 devices in sync when building websites.\n* Support [Terminal in Chrome Devtools](http://www.html5rocks.com/en/tutorials/developertools/devtools-terminal/).\n* Support Minify PNG and JPEG images with [image-min](https://github.com/sindresorhus/gulp-imagemin).\n\n## Installation\n\nPlease install node.js first (\u003e0.10) and [bower](http://bower.io/) package manager\n\n```bash\n$ npm install -g bower\n$ npm install\n```\n\nStart App\n\n```bash\n$ npm start\n```\n\nExcuting above command will output the following message.\n\n```\n\u003e html5-template-engine@1.0.0 start /home/xxxxx/html5-template-engine\n\u003e gulp\n\n[13:25:09] Requiring external module coffee-script/register\n[13:25:11] Using gulpfile /home/xxxxx/html5-template-engine/gulpfile.coffee\n[13:25:11] Starting 'default'...\n[13:25:11] Starting 'coffee'...\n[13:25:11] Starting 'compass'...\n[13:25:11] Finished 'coffee' after 253 ms\ndirectory app/assets/css/\n   create app/assets/css/main.css\n\n[13:25:12] Finished 'compass' after 1.08 s\n[13:25:12] Starting 'connect:app'...\n[13:25:12] Finished 'connect:app' after 34 ms\n[13:25:12] Finished 'default' after 1.2 s\n[BS] Local: \u003e\u003e\u003e http://localhost:3001\n[BS] External: \u003e\u003e\u003e http://172.168.0.122:3001\n[BS] Serving files from: app\n```\n\nOpen browser like chrome or firefox and enter http://localhost:1337 URL.\n\n## Release\n\nExecute the following command will generate `dist` folder.\n\n```bash\n$ npm run release\n```\n\n## Test\n\nTo test release process by following command.\n\n```bash\n$ npm test\n```\n\n## Support Terminal in Chrome Devtools\n\nIf you’re on a Mac, just download this [Chrome extension](https://chrome.google.com/webstore/detail/leakmhneaibbdapdoienlkifomjceknl). Install it, and you good to go. No need to read any further.\n\nIf you’re not on a Mac, you can connect to your system’s terminal via Node.js proxy. It can be localhost or some other remote server.\n\n  $ npm install -g devtools-terminal\n  $ devtools-terminal --config terminal.js\n\nPlease refer more [detail information](http://www.html5rocks.com/en/tutorials/developertools/devtools-terminal/).\n\n## Support Gulp in Chrome Devtools\n\nPlease install [chrome Gulp Devtools extension](https://chrome.google.com/webstore/detail/gulp-devtools/ojpmgjhofceebfifeajnjojpokebkkji). An extension to run gulp task from chrome devtools.\n\nIs gulp-devtools running?\n\n- If not already installed, run `npm install -g gulp-devtools`\n- Export gulp from your gulpfile.js by adding `module.exports = gulp;`\n- Run gulp-devtools in a directory with a gulpfile!\n- Re-open Chrome Dev tools, find the Gulp tab. Your gulp tasks should now be accessible from Chrome\n\n## Author\n\nBo-Yi Wu, Twitter: [@appleboy](http://twitter.com/appleboy \"Twitter\"), Blog: http://blog.wu-boy.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fhtml5-template-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleboy%2Fhtml5-template-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fhtml5-template-engine/lists"}