{"id":21006493,"url":"https://github.com/branch14/gentle","last_synced_at":"2026-05-17T04:46:07.849Z","repository":{"id":986525,"uuid":"791285","full_name":"branch14/gentle","owner":"branch14","description":"a templating engine based on css3 selectors and transformations","archived":false,"fork":false,"pushed_at":"2010-08-19T13:25:17.000Z","size":108,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T10:32:45.320Z","etag":null,"topics":["nokogiri","rails","railtie","ruby","template-engine","templating"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/branch14.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":"2010-07-22T16:04:19.000Z","updated_at":"2018-07-11T07:22:37.000Z","dependencies_parsed_at":"2022-07-17T11:46:18.478Z","dependency_job_id":null,"html_url":"https://github.com/branch14/gentle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/branch14%2Fgentle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/branch14%2Fgentle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/branch14%2Fgentle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/branch14%2Fgentle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/branch14","download_url":"https://codeload.github.com/branch14/gentle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243428421,"owners_count":20289315,"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":["nokogiri","rails","railtie","ruby","template-engine","templating"],"created_at":"2024-11-19T08:51:39.106Z","updated_at":"2025-10-23T19:40:42.807Z","avatar_url":"https://github.com/branch14.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Introduction to gentle\n\n'gentle' lets you be gentle to your markup.\n\nIf you have worked with ERb or HAML, which you very likely have, since\nyou are looking into gentle, you might have found yourself cutting and\nripping HTML templates into pieces spreading their locigal sections\nover multiple files. gentle considers this being a tedious task and\nseeks to simplify it - if not making it joyful.\n\nFor 'gentle' html templates and html mockups are the same. gentle\nloads a mockup and transforms it. views are described as pairs of\nselectors and transformations.\n\n### Acknowledgments\n\ngentle is mainly inspired Christophe Grand's Enlive (implemented in\nClojure). And it has to be said: Not only Enlive but also Clojure are\nawesome.\n\n### gentle on Rails\n\ngentle can be used with Ruby On Rails as a templating engine much like\nHampton Caitlin's HAML. In filename endings 'gentle' is shortend by\nleaving out the vowels (e.g. some_view.html.gntl).\n\n### Transformators\n\n'gentle's transformators are based on Nokogiri. Aktually gentle has a\nbuiltin fallback to Nokogiri::XML::Node. So, for those familiar with\nNokogiri, there isn't much to learn here.\n\n#### Transformator Naming\n\ngentle doesn't come up with it's own terminologies for\ntransformations. Since it is so greatly influenced by Enlive it sticks\nto Enlive's naming scheme[1]. For ease of use it provides some aliases\nfollowing jQuerys naming scheme[2], and finally since it's built on\ntop of Nokogiri provides Nokogiri::XML::Node's naming scheme[3], as a\nfallback.\n\n * [1] http://github.com/cgrand/enlive\n * [2] http://api.jquery.com/category/manipulation/\n * [3] http://nokogiri.org/Nokogiri/XML/Node.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbranch14%2Fgentle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbranch14%2Fgentle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbranch14%2Fgentle/lists"}