{"id":15543753,"url":"https://github.com/amiel/weld-rails","last_synced_at":"2025-04-05T04:25:38.361Z","repository":{"id":1664383,"uuid":"2390848","full_name":"amiel/weld-rails","owner":"amiel","description":"Weld-rails allows rails to use weld as a template handler.","archived":false,"fork":false,"pushed_at":"2011-09-15T07:05:14.000Z","size":100,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-03T12:33:06.290Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/amiel.png","metadata":{"files":{"readme":"README","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":"2011-09-15T06:55:45.000Z","updated_at":"2019-08-13T14:50:16.000Z","dependencies_parsed_at":"2022-09-07T03:20:47.445Z","dependency_job_id":null,"html_url":"https://github.com/amiel/weld-rails","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/amiel%2Fweld-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fweld-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fweld-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fweld-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amiel","download_url":"https://codeload.github.com/amiel/weld-rails/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247288892,"owners_count":20914452,"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-02T12:28:17.059Z","updated_at":"2025-04-05T04:25:38.337Z","avatar_url":"https://github.com/amiel.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Weld-Rails\n==========\n\nWeld-rails allows rails to use weld as a template handler.\n\nWeld-rails is currently alpha and should not be used in production.\n\nDESCRIPTION\n===========\n\nCurrently, it can successfully compile a simple weld template using weld.js, jsdom (and it's dependencies), and Node (through ExecJS).\n\n\nUSAGE\n=====\n\n\napp/views/test/index.html.weld\n\n    \u003col\u003e\n      \u003cli class=\"person\"\u003e\n        \u003cspan class=\"name\"\u003eJohn Doe\u003c/span\u003e\n        \u003cspan class=\"title\"\u003eGroundskeeper\u003c/span\u003e\n      \u003c/li\u003e\n    \u003c/ol\u003e\n\napp/views/test/index.rb\n\n    class Views::Test \u003c Weld::View\n      def index\n        {\n          person: @people.collect { |person|\n            { name: person.name, title: person.title }\n          }\n        }\n      end\n    end\n\napp/controllers/test_controller.rb\n    class TestController \u003c ApplicationController\n      def index\n        @people = Person.all\n      end\n    end\n\nWill render something like:\n\n    \u003col\u003e\n      \u003cli class=\"person\"\u003e\n        \u003cspan class=\"name\"\u003eJohn Doe\u003c/span\u003e\n        \u003cspan class=\"title\"\u003eGardener\u003c/span\u003e\n      \u003c/li\u003e\n      \u003cli class=\"person\"\u003e\n        \u003cspan class=\"name\"\u003eJames Smith\u003c/span\u003e\n        \u003cspan class=\"title\"\u003eLandscaper\u003c/span\u003e\n      \u003c/li\u003e\n    \u003c/ol\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiel%2Fweld-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famiel%2Fweld-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiel%2Fweld-rails/lists"}