{"id":34718470,"url":"https://github.com/opensourceame/slick-template","last_synced_at":"2026-05-27T09:33:41.097Z","repository":{"id":247736340,"uuid":"826703737","full_name":"opensourceame/slick-template","owner":"opensourceame","description":"A template engine that mimics the syntax from Ruby's Slim language","archived":false,"fork":false,"pushed_at":"2024-07-31T10:40:36.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T12:45:05.460Z","etag":null,"topics":["html5","template-engine"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/opensourceame.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-10T08:06:24.000Z","updated_at":"2024-07-31T10:40:39.000Z","dependencies_parsed_at":"2024-07-31T12:08:41.300Z","dependency_job_id":null,"html_url":"https://github.com/opensourceame/slick-template","commit_stats":null,"previous_names":["opensourceame/slick-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/opensourceame/slick-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourceame%2Fslick-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourceame%2Fslick-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourceame%2Fslick-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourceame%2Fslick-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensourceame","download_url":"https://codeload.github.com/opensourceame/slick-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensourceame%2Fslick-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33560727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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":["html5","template-engine"],"created_at":"2025-12-25T01:26:09.754Z","updated_at":"2026-05-27T09:33:41.070Z","avatar_url":"https://github.com/opensourceame.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slick-template\nA template engine that mimics the syntax from Ruby's Slim language\n\n\n#### Example Template\n\n\n```slim\ndoctype strict\n\nhtml\n  head\n    title My HTML title\n\n    stylesheet src='/some.css'\n\n    javascript:\n      console.log('embedded JS inside the template');\n\n  body\n    css:\n      .alert { color: 'red'; }\n\n    .menu-bar\n      - if user.logged_in\n        img src={user.profile.image_path}\n      - else\n        a#login-button.btn.btn-primary href={login_path} Login\n\n    .alert\n      h1 {greeting}\n\n    p.exciting This is the first ever Elixir Slick Template\n\n    h2#member-list Members\n\n    form\n      input type='checkbox' disabled=True checked=True\n\n    p\n      ul\n        - for user in users\n          li\n            / code comment - show the user's names. This line will not render.\n            span {user.first_name} {user.last_name}\n    /! render the footer\n    #footer Thanks for using Slick!\n```\n\n#### Rendered HTML\n\nTrim-Template will render the above template into HTML, as below:\n\n```html\n\u003c!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"\u003e\n\n\u003chtml\u003e\n    \u003chead\u003e\n        \u003ctitle\u003eMy HTML title\u003c/title\u003e\n\n        \u003cstylesheet src=\"/some.css\"\u003e\u003c/stylesheet\u003e\n\n        \u003cscript type='javascript'\u003e\n            console.log('embedded JS inside the template');\n        \u003c/script\u003e\n    \u003c/head\u003e\n\n    \u003cbody\u003e\n        \u003cstyle\u003e\n          .alert { color: 'red'; }\n        \u003c/style\u003e\n\n        \u003cdiv class=\"menu-bar\"\u003e\n            \u003ca class=\"btn btn-primary\" href=\"/auth/login\" id=\"login-button\"/\u003eLogin\u003c/a\u003e\n        \u003c/div\u003e\n\n        \u003cdiv class=\"alert\"\u003e\n            \u003ch1\u003eHello World!\u003c/h1\u003e\n        \u003c/div\u003e\n\n        \u003cp class=\"exciting\"\u003e\n            This is the first ever Elixir Slick Template\n        \u003c/p\u003e\n\n        \u003ch2 id='member-list'\u003eMembers\u003c/h2\u003e\n\n        \u003cform\u003e\n          \u003cinput type=\"checkbox\" disabled=\"disabled\" checked=\"checked\"/\u003e\n        \u003c/form\u003e\n\n        \u003cp\u003e\n            \u003cul\u003e\n                \u003cli\u003e\n                    \u003cspan\u003eStephen Colbert\u003c/span\u003e\n                \u003c/li\u003e\n                \u003cli\u003e\n                    \u003cspan\u003eBob Marley\u003c/span\u003e\n                \u003c/li\u003e\n                \u003cli\u003e\n                    \u003cspan\u003eCharlie Chaplin\u003c/span\u003e\n                \u003c/li\u003e\n            \u003c/ul\u003e\n        \u003c/p\u003e\n        \u003c!-- render the footer --\u003e\n        \u003cdiv id='footer'\u003eThanks for using Slick!\u003c/div\u003e\n    \u003c/body\u003e\n\u003c/html\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourceame%2Fslick-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensourceame%2Fslick-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensourceame%2Fslick-template/lists"}