{"id":13513619,"url":"https://github.com/guillaumebriday/turbo-frames-debug","last_synced_at":"2025-10-08T13:50:17.910Z","repository":{"id":57689779,"uuid":"479807496","full_name":"guillaumebriday/turbo-frames-debug","owner":"guillaumebriday","description":"Small package to help you debug your turbo-frames.","archived":false,"fork":false,"pushed_at":"2022-04-19T07:35:01.000Z","size":107,"stargazers_count":29,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T18:23:11.874Z","etag":null,"topics":["hotwire","hotwire-turbo","hotwired","postcss"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/guillaumebriday.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"guillaumebriday"}},"created_at":"2022-04-09T18:11:15.000Z","updated_at":"2024-07-31T14:10:48.000Z","dependencies_parsed_at":"2022-09-26T20:53:46.307Z","dependency_job_id":null,"html_url":"https://github.com/guillaumebriday/turbo-frames-debug","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaumebriday%2Fturbo-frames-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaumebriday%2Fturbo-frames-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaumebriday%2Fturbo-frames-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guillaumebriday%2Fturbo-frames-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guillaumebriday","download_url":"https://codeload.github.com/guillaumebriday/turbo-frames-debug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251753063,"owners_count":21638220,"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":["hotwire","hotwire-turbo","hotwired","postcss"],"created_at":"2024-08-01T05:00:33.090Z","updated_at":"2025-10-08T13:50:12.875Z","avatar_url":"https://github.com/guillaumebriday.png","language":"CSS","funding_links":["https://github.com/sponsors/guillaumebriday"],"categories":["CSS"],"sub_categories":[],"readme":"# Turbo Frames Debug\n\n[![](https://img.shields.io/npm/dt/turbo-frames-debug.svg)](https://www.npmjs.com/package/turbo-frames-debug)\n[![](https://img.shields.io/bundlephobia/minzip/turbo-frames-debug.svg)](https://www.npmjs.com/package/turbo-frames-debug)\n[![](https://img.shields.io/npm/v/turbo-frames-debug.svg)](https://www.npmjs.com/package/turbo-frames-debug)\n[![](https://img.shields.io/github/license/guillaumebriday/turbo-frames-debug.svg)](https://github.com/guillaumebriday/turbo-frames-debug)\n\nSmall package to help you debug your turbo-frames.\n\n![](https://raw.githubusercontent.com/guillaumebriday/turbo-frames-debug/main/screenshot.png?token=GHSAT0AAAAAABHKFFWSDBSE23YPHPSITXREYS5Y4VA)\n\n## 📚 Installation\n\n### Install the package\n\n```bash\n$ yarn add turbo-frames-debug\n```\n\n### Import it in your styles\n\nIf you're using [Sass](https://sass-lang.com/):\n```sass\n@import '~turbo-frames-debug/dist/turbo-frames-debug'\n```\n\nIf you're using a module bundler like [Webpack](https://webpack.js.org/) or [esbuild](https://github.com/evanw/esbuild)\n```js\nimport 'turbo-frames-debug/dist/turbo-frames-debug.css'\n```\n\nAdd the class `debug-turbo` on your body tag, for instance:\n\n```html\n\u003cbody class=\"\u003c%= 'debug-turbo' if Rails.env.development? %\u003e\"\u003e\n```\n\n## 💅 Configuration\n\nYou can change the style of debugger by overriding some CSS variables.\n\n| CSS Variables                       | Default   | Description                    |\n|-------------------------------------|-----------|--------------------------------|\n| `--turbo-frame-debug-color`         | `#3B82F6` | Color of the borders and text  |\n| `--turbo-frame-debug-z-index`       | `9999`    | z-index of the debugger.       |\n| `--turbo-frame-debug-font-size`     | `0.75rem` | Font size of the debugger.     |\n| `--turbo-frame-debug-border-radius` | `0.25rem` | Border radius of the debugger. |\n\nFor instance:\n\n```css\n:root {\n  --turbo-frame-debug-color: #22C55E;\n}\n```\n\n## 👷 Contributing\n\nDo not hesitate to contribute to the controllers by adapting or adding features ! Bug reports or pull requests are welcome.\n\nDon't forget to drop a 🌟 on GitHub to support the project.\n\n## 📢 Mentions\n\nInspired by [Matt Swanson](https://twitter.com/_swanson).\n\n## 📝 License\n\nThis project is released under the [MIT](https://opensource.org/licenses/MIT) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumebriday%2Fturbo-frames-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguillaumebriday%2Fturbo-frames-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumebriday%2Fturbo-frames-debug/lists"}