{"id":13503643,"url":"https://github.com/jekyll/jekyll-opal","last_synced_at":"2025-10-19T11:30:49.910Z","repository":{"id":56878691,"uuid":"20872403","full_name":"jekyll/jekyll-opal","owner":"jekyll","description":"Let Jekyll convert your Ruby into JavaScript using Opal","archived":false,"fork":false,"pushed_at":"2019-03-06T12:35:44.000Z","size":27,"stargazers_count":37,"open_issues_count":0,"forks_count":11,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-29T11:05:28.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/jekyll-opal","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/jekyll.png","metadata":{"files":{"readme":"README.md","changelog":"History.markdown","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-16T04:09:23.000Z","updated_at":"2024-11-27T03:46:55.000Z","dependencies_parsed_at":"2022-08-20T11:40:27.622Z","dependency_job_id":null,"html_url":"https://github.com/jekyll/jekyll-opal","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll%2Fjekyll-opal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll%2Fjekyll-opal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll%2Fjekyll-opal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll%2Fjekyll-opal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jekyll","download_url":"https://codeload.github.com/jekyll/jekyll-opal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237116733,"owners_count":19258307,"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-07-31T23:00:42.205Z","updated_at":"2025-10-19T11:30:49.595Z","avatar_url":"https://github.com/jekyll.png","language":"Ruby","readme":"# Jekyll-Opal\n\nLet Jekyll convert your Ruby into JavaScript using [Opal](https://github.com/opal/opal).\n\n[![Build Status](https://travis-ci.org/jekyll/jekyll-opal.svg?branch=master)](https://travis-ci.org/jekyll/jekyll-opal)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'jekyll-opal'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install jekyll-opal\n\n## Usage\n\nWrite your Opal in `.opal` files (be sure to add the two `---` lines at the\ntop to make them pages!!)\n\nThis plugin comes with a generator which creates the Opal library file in\nthe destination, under `js/opal.js`, if it's not already there. To prevent\nbackwards-incompatible sites, we ship a `{{ site.opal.url }}` variable for\nyour use in your sites. When output, it will look like this: `/js/opal.js`.\n\nIf your site is served in a subfolder (i.e. `http://example.org/subfolder/`), simply prepend a baseurl:\n\n```html\n\u003cscript src=\"{{ site.opal.url | prepend:\"my_subfolder\" }}\"\u003e\u003c/script\u003e\n```\n\nYou can even prepend variables! Perhaps a URL?\n\n```html\n\u003cscript src=\"{{ site.opal.url | prepend:\"my_subfolder\" | prepend:site.url }}\"\u003e\u003c/script\u003e\n```\n\nFeel free to chain them like that -- they're just Liquid filters.\n\nFile an issue if something isn't clear!\n\n## Contributing\n\n1. Fork it ( https://github.com/jekyll/jekyll-opal/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## License\n\nMIT. See the [License](LICENSE.txt) file for more details\n","funding_links":[],"categories":["Assets \u0026 Converters \u0026 Minifiers","Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjekyll%2Fjekyll-opal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjekyll%2Fjekyll-opal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjekyll%2Fjekyll-opal/lists"}