{"id":16380991,"url":"https://github.com/anthonator/tilt-jbuilder","last_synced_at":"2026-03-06T13:04:09.294Z","repository":{"id":3549077,"uuid":"4609628","full_name":"anthonator/tilt-jbuilder","owner":"anthonator","description":"Support for rendering Jbuilder templates in Tilt","archived":false,"fork":false,"pushed_at":"2017-08-11T13:19:10.000Z","size":57,"stargazers_count":22,"open_issues_count":3,"forks_count":19,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-20T07:47:21.244Z","etag":null,"topics":["jbuilder","json","ruby","sinatra","tilt"],"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/anthonator.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":"2012-06-09T19:04:41.000Z","updated_at":"2023-03-17T12:02:46.000Z","dependencies_parsed_at":"2022-08-31T09:10:46.253Z","dependency_job_id":null,"html_url":"https://github.com/anthonator/tilt-jbuilder","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/anthonator/tilt-jbuilder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonator%2Ftilt-jbuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonator%2Ftilt-jbuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonator%2Ftilt-jbuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonator%2Ftilt-jbuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthonator","download_url":"https://codeload.github.com/anthonator/tilt-jbuilder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonator%2Ftilt-jbuilder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30178286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T12:39:21.703Z","status":"ssl_error","status_checked_at":"2026-03-06T12:36:09.819Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["jbuilder","json","ruby","sinatra","tilt"],"created_at":"2024-10-11T03:53:04.780Z","updated_at":"2026-03-06T13:04:09.276Z","avatar_url":"https://github.com/anthonator.png","language":"Ruby","readme":"# tilt-jbuilder\n\nAdds support for rendering Jbuilder templates using Tilt.\n\n[![Gem Version](https://badge.fury.io/rb/tilt-jbuilder.png)](http://badge.fury.io/rb/tilt-jbuilder) [![Build Status](https://secure.travis-ci.org/anthonator/tilt-jbuilder.png)](http://travis-ci.org/anthonator/tilt-jbuilder) [![Dependency Status](https://gemnasium.com/anthonator/tilt-jbuilder.png)](https://gemnasium.com/anthonator/tilt-jbuilder) [![Coverage Status](https://coveralls.io/repos/anthonator/tilt-jbuilder/badge.png?branch=master)](https://coveralls.io/r/anthonator/tilt-jbuilder?branch=master) [![Code Climate](https://codeclimate.com/github/anthonator/tilt-jbuilder.png)](https://codeclimate.com/github/anthonator/tilt-jbuilder)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'tilt-jbuilder'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install tilt-jbuilder\n\n## Usage\n\n```ruby\nrequire 'tilt/jbuilder.rb'\n\ntemplate = Tilt::JbuilderTemplate.new(\"templates/awesomeness.json.jbuilder\")\ntemplate.render\n\n# With locals\ntemplate = Tilt::JbuilderTemplate.new { \"json.author name\" }\ntemplate.render(nil, :name =\u003e 'Anthony')\n\n# With scope\ntemplate = Tilt::JbuilderTemplate.new { \"json.author @name\" }\nscope = Object.new\nscope.instance_variable_set :@name, 'Anthony'\ntemplate.render(scope)\n\n# Block style\ntemplate = Tilt::JbuilderTemplate.new do |t|\n  lambda { |json| json.author 'Anthony'; json.target! }\nend\ntemplate.render\n```\n\n## Contributing\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## Credits\n\n[![Sticksnleaves](https://s3.amazonaws.com/sticksnleaves-assets/snl-logo-116x116.png)](http://www.sticksnleaves.com)\n\ntilt-jbuilder is maintained and funded by [Sticksnleaves](http://www.sticksnleaves.com)\n\nThanks to all of our [contributors](https://github.com/anthonator/tilt-jbuilder/graphs/contributors)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonator%2Ftilt-jbuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthonator%2Ftilt-jbuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonator%2Ftilt-jbuilder/lists"}