{"id":28477303,"url":"https://github.com/maikhel/jekyll-turbo","last_synced_at":"2025-07-20T06:33:49.767Z","repository":{"id":291160443,"uuid":"976782921","full_name":"maikhel/jekyll-turbo","owner":"maikhel","description":"Jekyll wrapper for Hotwire Turbo","archived":false,"fork":false,"pushed_at":"2025-05-05T20:48:32.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T16:14:34.007Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maikhel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2025-05-02T18:35:48.000Z","updated_at":"2025-05-05T20:50:51.000Z","dependencies_parsed_at":"2025-05-02T19:52:26.967Z","dependency_job_id":null,"html_url":"https://github.com/maikhel/jekyll-turbo","commit_stats":null,"previous_names":["maikhel/jekyll-turbo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maikhel/jekyll-turbo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maikhel%2Fjekyll-turbo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maikhel%2Fjekyll-turbo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maikhel%2Fjekyll-turbo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maikhel%2Fjekyll-turbo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maikhel","download_url":"https://codeload.github.com/maikhel/jekyll-turbo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maikhel%2Fjekyll-turbo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264663626,"owners_count":23646234,"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":"2025-06-07T16:12:04.950Z","updated_at":"2025-07-20T06:33:49.760Z","avatar_url":"https://github.com/maikhel.png","language":"Ruby","funding_links":[],"categories":["Other"],"sub_categories":[],"readme":"# Jekyll::Turbo\n\n[![Build Status](https://github.com/maikhel/jekyll-turbo/actions/workflows/main.yml/badge.svg)](https://github.com/maikhel/jekyll-turbo/actions) [![Gem Version](https://badge.fury.io/rb/jekyll-turbo.svg)](https://badge.fury.io/rb/jekyll-turbo)\n\n**jekyll-turbo** is a simple Jekyll plugin that brings [Hotwire Turbo Drive](https://turbo.hotwired.dev/) to your static site. It automatically injects the necessary `\u003cscript type=\"module\"\u003e` tag into your HTML files at build time.\n\n## Installation\n\n1. Add the following to your site's `Gemfile`:\n\n   ```ruby\n   gem 'jekyll-turbo'\n   ```\n\n2. Add the following to your site's `_config.yml`:\n\n   ```yml\n   plugins:\n     - jekyll-turbo\n   ```\n\n   **Note**: if `jekyll --version` is less than `3.5` use:\n\n   ```yml\n   gems:\n     - jekyll-turbo\n   ```\n\n3. In your terminal, execute:\n\n   ```bash\n   bundle\n   ```\n\n4. (re)start your Jekyll server with:\n\n   ```bash\n   jekyll serve\n   ```\n\n## Usage\n\nInstall the plugin as described above.\nThe plugin will automatically inject this tag into the `\u003chead\u003e` of all your generated `.html` pages:\n\n```HTML\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/@hotwired/turbo@8.0.4/dist/turbo.es2017-esm.js\"\u003e\u003c/script\u003e\n```\nThen, you can immediately use all Hotwire Turbo features on the client side, such as Turbo Drive and Turbo Frames.\n\n**⚠️ Tip:** Note that the `github-pages` gem runs in `safe` mode and only allows [a defined set of plugins](https://pages.github.com/versions/). To use this gem in GitHub Pages, you need to build your site locally or use a CI (e.g. [Github Workflow](https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow)).\n\n[Click here for more information.](https://jekyllrb.com/docs/continuous-integration/github-actions/)\n\n## Planned Features\nThis plugin is currently zero-config and focused on simplicity. Future improvements may include:\n\n- [ ] Option to serve Turbo locally instead of using a CDN\n- [ ] Support for customizing the Turbo version\n- [ ] Configuration via `_config.yml`\n\nFeel free to open an issue or contribute via pull request if you'd like to help!\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/maikhel/jekyll-turbo. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/maikhel/jekyll-turbo/blob/main/CODE_OF_CONDUCT.md).\n\n1. [Fork this repository](https://github.com/maikhel/jekyll-turbo/fork)\n2. Create your branch (`git checkout -b feat/my-new-feature`)\n3. Commit your changes (`git commit -m 'Add cool feature'`)\n4. Push to the branch (git push origin feat/my-new-feature)\n5. Create a new Pull Request\n\n### Development\n\nTo install this gem onto your local machine, run `bundle exec rake install`.\n\n### Testing\n\nUse the following command to run tests and RuboCop check:\n\n```bash\nrake\n```\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Jekyll::Turbo project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/maikhel/jekyll-turbo/blob/main/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaikhel%2Fjekyll-turbo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaikhel%2Fjekyll-turbo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaikhel%2Fjekyll-turbo/lists"}