{"id":18447490,"url":"https://github.com/visionary-code-works/htmlscssclasschecker","last_synced_at":"2025-08-10T20:10:23.763Z","repository":{"id":213418563,"uuid":"734085251","full_name":"Visionary-Code-Works/HtmlScssClassChecker","owner":"Visionary-Code-Works","description":"HtmlScssClassChecker is a Ruby gem that streamlines front-end development by identifying unused or unmatched HTML and SCSS classes. It enhances code maintainability and efficiency by providing tools to audit and synchronize class definitions in web projects.","archived":false,"fork":false,"pushed_at":"2024-01-03T23:19:08.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T21:57:04.347Z","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/Visionary-Code-Works.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"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},"funding":{"github":"thomasthaddeus","patreon":"VisionaryCodeWorks","liberapay":"vcwtech"}},"created_at":"2023-12-20T20:41:39.000Z","updated_at":"2023-12-22T02:37:00.000Z","dependencies_parsed_at":"2024-01-03T22:22:30.841Z","dependency_job_id":"d08a87af-d42e-47be-8d1a-e0a14e78ad36","html_url":"https://github.com/Visionary-Code-Works/HtmlScssClassChecker","commit_stats":null,"previous_names":["visionary-code-works/htmlscssclasschecker"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Visionary-Code-Works/HtmlScssClassChecker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Visionary-Code-Works%2FHtmlScssClassChecker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Visionary-Code-Works%2FHtmlScssClassChecker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Visionary-Code-Works%2FHtmlScssClassChecker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Visionary-Code-Works%2FHtmlScssClassChecker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Visionary-Code-Works","download_url":"https://codeload.github.com/Visionary-Code-Works/HtmlScssClassChecker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Visionary-Code-Works%2FHtmlScssClassChecker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269780617,"owners_count":24474686,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-06T07:13:29.490Z","updated_at":"2025-08-10T20:10:23.736Z","avatar_url":"https://github.com/Visionary-Code-Works.png","language":"Ruby","readme":"# Html Scss Class Checker\n\n[![Gem Version](https://badge.fury.io/rb/html_scss_class_checker.svg)](https://badge.fury.io/rb/html_scss_class_checker)\n\nHtmlScssClassChecker is a Ruby gem for extracting and comparing class names from HTML and SCSS files. It helps in identifying unmatched or unused classes, enhancing the maintainability of front-end codebases.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'html_scss_class_checker'\n```\n\nAnd then execute:\n\n```bash\nbundle install\n```\n\nOr install it yourself as:\n\n```bash\ngem install html_scss_class_checker\n```\n\n## Usage\n\nTo use HtmlScssClassChecker, you need to set up a configuration JSON file (`config.json`) specifying known classes and directories to be checked:\n\n```json\n{\n  \"known_classes\": [\"class1\", \"class2\"],\n  \"html_directories\": [\"_includes\", \"_layouts\"],\n  \"scss_directories\": [\"_sass\"]\n}\n```\n\nRun the checker with:\n\n```ruby\nrequire 'html_scss_class_checker'\n\nchecker = HtmlScssClassChecker::ClassChecker.new(config)\nchecker.check\n\nputs \"Unmatched Classes:\"\nputs checker.unmatched_classes.to_a\n```\n\nMore detailed usage instructions will be provided in the [Usage Documentation](/docs/usage.md).\n\n## Contributing\n\nContributions are welcome! For major changes, please open an issue first to discuss what you would like to change. Please ensure to update tests as appropriate.\n\nSee [CONTRIBUTING.md](/CONTRIBUTING.md) for detailed guidelines.\n\n## Documentation\n\nFor full documentation, visit [our documentation page](/docs).\n\n## License\n\nDistributed under the MIT License. See [LICENSE](/LICENSE) for more information.\n\n## Additional Resources\n\n[![Update Changelog](https://github.com/Visionary-Code-Works/HtmlScssClassChecker/actions/workflows/changelog-update.yml/badge.svg)](https://github.com/Visionary-Code-Works/HtmlScssClassChecker/actions/workflows/changelog-update.yml)\n\n- [Changelog](/CHANGELOG.md): Detailed list of changes in each version.\n- [Code of Conduct](/CODE_OF_CONDUCT.md): Guidelines for participation in the community.\n- [Development Guide](/docs/development.md): Instructions for setting up a development environment and working on the gem.\n- [Testing Guide](/docs/testing.md): Information on how to run and write tests for the gem.\n- [Usage Documentation](/docs/usage.md): Provide detailed instructions on how to use the gem, including various configurations and options.\n- [Contributing Guidelines](/CONTRIBUTING.md): Outline how others can contribute to your project. Include information on coding standards, pull request processes, and issue reporting guidelines.\n","funding_links":["https://github.com/sponsors/thomasthaddeus","https://patreon.com/VisionaryCodeWorks","https://liberapay.com/vcwtech"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisionary-code-works%2Fhtmlscssclasschecker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisionary-code-works%2Fhtmlscssclasschecker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisionary-code-works%2Fhtmlscssclasschecker/lists"}