{"id":15210048,"url":"https://github.com/sudhanshuku01/cssgenie","last_synced_at":"2026-02-18T07:32:19.899Z","repository":{"id":272913324,"uuid":"847457093","full_name":"sudhanshuku01/CSSGenie","owner":"sudhanshuku01","description":"CSSGenie is a VS Code extension that simplifies CSS file creation for JSX by automatically extracting class names and generating the corresponding CSS file, streamlining your workflow and saving time.","archived":false,"fork":false,"pushed_at":"2024-08-25T23:15:31.000Z","size":2128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T00:26:14.724Z","etag":null,"topics":["javascript","nodejs","vsce","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=sudhanshuku01.cssgenie","language":"JavaScript","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/sudhanshuku01.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-25T21:45:30.000Z","updated_at":"2024-12-22T14:01:28.000Z","dependencies_parsed_at":"2025-01-17T12:16:14.185Z","dependency_job_id":"acf66eec-73b3-4244-bb16-0f0f012da113","html_url":"https://github.com/sudhanshuku01/CSSGenie","commit_stats":null,"previous_names":["sudhanshuku01/cssgenie"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sudhanshuku01/CSSGenie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudhanshuku01%2FCSSGenie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudhanshuku01%2FCSSGenie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudhanshuku01%2FCSSGenie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudhanshuku01%2FCSSGenie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sudhanshuku01","download_url":"https://codeload.github.com/sudhanshuku01/CSSGenie/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudhanshuku01%2FCSSGenie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280033212,"owners_count":26261023,"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-10-20T02:00:06.978Z","response_time":62,"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":["javascript","nodejs","vsce","vscode","vscode-extension"],"created_at":"2024-09-28T08:00:33.502Z","updated_at":"2025-10-20T06:46:08.176Z","avatar_url":"https://github.com/sudhanshuku01.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSSGenie\n\n**CSSGenie** is a Visual Studio Code extension designed to simplify the process of creating CSS files for your JSX code. By automatically extracting class names and generating a corresponding CSS file, CSSGenie helps streamline your workflow and saves you time that would otherwise be spent manually copying class names and setting up CSS rules.\n\n## Visual Guide\n\nFor a visual demonstration of how to use CSSGenie, refer to the following animated GIF:\n\n![CSSGenie Demo](images/demo.gif)\n\n## Usage\n\n1. **Open a JSX File:**\n   - Launch Visual Studio Code and open the JSX file from which you want to extract class names.\n\n2. **Activate the Extension:**\n   - Open the Command Palette by pressing `Ctrl+Shift+P` (`Cmd+Shift+P` on macOS).\n   - Type `CSSGenie: Extract Class Names` and select the command from the list.\n\n3. **Generate CSS File:**\n   - CSSGenie will automatically generate a CSS file in the same directory as your JSX file. The file will be named `\u003coriginal-file-name\u003e.css`.\n   - The generated CSS file will contain empty CSS rules for each class name found in your JSX code, ready for you to add your styles.\n\n4. **View the Generated CSS:**\n   - Open the newly created CSS file to see the skeleton CSS rules. You can now proceed to style your classes as needed.\n\n## Features\n\n- **Automated Class Name Extraction:** Extracts class names from JSX code with a single command, reducing manual effort.\n- **CSS File Generation:** Creates a CSS file with placeholders for each class name found, so you can easily add your styles.\n- **Time-Saving:** Eliminates the need for manual copying and pasting of class names, speeding up the development process.\n- **Easy Command Access:** Available directly from the VS Code Command Palette for quick and convenient use.\n\n## Installation\n\nYou can install **CSSGenie** directly from the Visual Studio Code Marketplace:\n\n1. **Open Visual Studio Code.**\n2. **Go to the Extensions view** by clicking on the Extensions icon in the Activity Bar on the side of the window or pressing `Ctrl+Shift+X` (`Cmd+Shift+X` on macOS).\n3. **Search for \"CSSGenie\".**\n4. **Click the Install button** to add the extension to your VS Code environment.\n\n## Example\n\nSuppose you have a JSX file `App.jsx` with the following content:\n\n```jsx\n\u003cdiv className=\"container\"\u003e\n  \u003ch1 className=\"title\"\u003eHello World\u003c/h1\u003e\n  \u003cp className=\"description\"\u003eWelcome to CSSGenie!\u003c/p\u003e\n\u003c/div\u003e\n```\nAfter running the CSSGenie: Extract Class Names command, CSSGenie will create a file App.css with the following content:\n\n```css\n.container {\n\n}\n\n.title {\n\n}\n\n.description {\n\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudhanshuku01%2Fcssgenie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudhanshuku01%2Fcssgenie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudhanshuku01%2Fcssgenie/lists"}