{"id":22914727,"url":"https://github.com/fartinmartin/bits-cli","last_synced_at":"2025-10-24T06:19:29.065Z","repository":{"id":210357393,"uuid":"726364815","full_name":"fartinmartin/bits-cli","owner":"fartinmartin","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-02T18:39:10.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T06:44:59.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/fartinmartin.png","metadata":{"files":{"readme":"README.md","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,"governance":null}},"created_at":"2023-12-02T07:00:26.000Z","updated_at":"2023-12-02T07:00:31.000Z","dependencies_parsed_at":"2023-12-02T08:37:25.880Z","dependency_job_id":null,"html_url":"https://github.com/fartinmartin/bits-cli","commit_stats":null,"previous_names":["fartinmartin/bits-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fartinmartin%2Fbits-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fartinmartin%2Fbits-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fartinmartin%2Fbits-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fartinmartin%2Fbits-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fartinmartin","download_url":"https://codeload.github.com/fartinmartin/bits-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246635961,"owners_count":20809331,"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-12-14T05:16:37.787Z","updated_at":"2025-10-24T06:19:24.018Z","avatar_url":"https://github.com/fartinmartin.png","language":"TypeScript","readme":"# `bits-cli`\n\nI generally prefer CSS over Tailwind and don't want to look up a `bit`'s structure or its `data-` attributes in the [the docs](https://bits-ui.com/). Maybe folks who opt for `bits-ui` over `shadcn-svelte` or `melt-ui` feel the same?\n\nSo, here's a rough CLI to dump structured `bits-ui` `.svelte` files with predefined CSS selectors (using `data-` attributes) into your app's `lib` folder.\n\nI like the idea of eventually including some of the \"structural\" CSS from the `bits-ui` [demo CSS](https://github.com/huntabyte/bits-ui/tree/main/src/components/demos) (e.g. converting the necessary Tailwind classes to CSS). And/or establishing CSS variables in the root class to use within the rest of the component's CSS.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffartinmartin%2Fbits-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffartinmartin%2Fbits-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffartinmartin%2Fbits-cli/lists"}