{"id":18795083,"url":"https://github.com/aeosynth/ck","last_synced_at":"2025-08-01T03:07:17.308Z","repository":{"id":1380165,"uuid":"1333960","full_name":"aeosynth/ck","owner":"aeosynth","description":"a smaller, faster coffeekup","archived":false,"fork":false,"pushed_at":"2012-12-21T03:02:06.000Z","size":138,"stargazers_count":25,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T15:45:41.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","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/aeosynth.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":"2011-02-06T09:12:56.000Z","updated_at":"2022-05-15T07:03:24.000Z","dependencies_parsed_at":"2022-07-29T11:19:46.746Z","dependency_job_id":null,"html_url":"https://github.com/aeosynth/ck","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aeosynth/ck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeosynth%2Fck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeosynth%2Fck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeosynth%2Fck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeosynth%2Fck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aeosynth","download_url":"https://codeload.github.com/aeosynth/ck/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aeosynth%2Fck/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268162391,"owners_count":24205702,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-07T21:32:32.323Z","updated_at":"2025-08-01T03:07:17.273Z","avatar_url":"https://github.com/aeosynth.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"a smaller, faster [coffeekup](https://github.com/mauricemach/coffeekup)\n\n    $ cake bench\n    ck: 268ms\n    ck (format): 316ms\n    coffeekup: 301ms\n    coffeekup (format): 974ms\n\n#subtractions\n\n* no cache; manage it on your own.\n* must compile templates before rendering them\n* no support for browsers, frameworks\n* no cli tools\n* no `scope` option (use context instead)\n\n#additions\n\ncompileFile:\n\n    template = ck.compileFile './template.coffee'\n    html = template context: user: {}\n    console.log html\n\ncorrectly handle booleans:\n\n    template = -\u003e input autocomplete: off\n    console.log ck.compile(template)() #\u003cinput\u003e\n    console.log coffeekup.render template #\u003cinput autocomplete=\"false\" /\u003e\n\nIE conditionals:\n\n    ie 'lt IE8', -\u003e\n      link href: 'ie.css', rel: 'stylesheet'\n\n#other\n\nck doesn't add slashes to self closing tags. I'm not actually sure what's right, see [this](http://stackoverflow.com/questions/348736/xhtml-is-writing-self-closing-tags-for-elements-not-traditionally-empty-bad-pra) for some reading....\n\nrecently another attempt was made at minimizing the coffeecup engine called [coffee-templates](https://github.com/mikesmullin/coffee-templates). it was inspired by and uses some of the same techniques as ck, so may be worth a look, as well.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeosynth%2Fck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeosynth%2Fck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeosynth%2Fck/lists"}