{"id":18537814,"url":"https://github.com/rafalkaron/importaint","last_synced_at":"2026-04-13T17:33:57.043Z","repository":{"id":56360299,"uuid":"284209695","full_name":"rafalkaron/importaint","owner":"rafalkaron","description":"Compile a CSS file with imports into a resolved CSS file without imports.","archived":false,"fork":false,"pushed_at":"2023-01-21T18:59:50.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T07:43:39.616Z","etag":null,"topics":["automation","css","imports","monolith","optimization","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/rafalkaron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-01T07:20:41.000Z","updated_at":"2023-01-21T17:36:31.000Z","dependencies_parsed_at":"2023-02-12T12:05:12.248Z","dependency_job_id":null,"html_url":"https://github.com/rafalkaron/importaint","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafalkaron%2Fimportaint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafalkaron%2Fimportaint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafalkaron%2Fimportaint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafalkaron%2Fimportaint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafalkaron","download_url":"https://codeload.github.com/rafalkaron/importaint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254256924,"owners_count":22040381,"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":["automation","css","imports","monolith","optimization","python"],"created_at":"2024-11-06T19:40:29.345Z","updated_at":"2026-04-13T17:33:52.024Z","avatar_url":"https://github.com/rafalkaron.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# importaint\nCompile a CSS file with imports into a resolved CSS file without imports.\n\n## Before you begin\n1. Download the latest **importaint** version. See [Download](https://github.com/rafalkaron/importaint/releases/latest).\n1. Unzip **importaint**.\n\n## Usage\n1. In a terminal app, run **important** followed by the local path or URL to the CSS file that you want to compile.  \n    **NOTE:** You can pass the following optional arguments to control the **importaint** behavior.\n      * `--output` or `-out` - define the output directory\n      * `--minify` or `-m` - minify the resolved CSS\n      * `--remove_comments` or `-rc` - remove `/* comments */` from the resolved CSS\n      * `--copy` or `-c` - copy the resolved CSS output to system clipboard\n2. If needed, accept any security prompt. For more information, see [Accepting macOS Security Prompts](https://github.com/rafalkaron/importaint/wiki/Accepting-macOS-Security-Prompts) or [Accepting Windows Security Prompts](https://github.com/rafalkaron/importaint/wiki/Accepting-Windows-Security-Prompts).\n\n## Examples\n\n### Local File - compiled without comments\n```shell\nimportaint \"C:\\GitHub\\styling\\style.css\" --remove_comments\n```\n\n#### Result\nIn the original CSS file directory, a new resolved CSS file without `/* comments */` is created: `C:\\GitHub\\styling\\style_compiled.css`\n\n### Remote File - compiled, minified, and copied to clipboard\n```shell\nimportaint \"https://mysite.com/styles/style.css\" --minify --copy\n```\n\n#### Result\nIn the local directory that you are prompted about:\n  * The remote unresolved CSS file is downloaded\n  * A new resolved and minified CSS file is created\n\n### Remote file - compiled and saved to a custom output folder\n```shell\nimportaint \"https://mysite.com/styles/style.css\" -out \"C:\\MyStyles\\StyleA\"\n```\n\n#### Result\nIn the output directory that you provided (`C:\\MyStyles\\StyleA`)\n  * The remote unresolved CSS file is downloaded\n  * A new resolved CSS file is created","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafalkaron%2Fimportaint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafalkaron%2Fimportaint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafalkaron%2Fimportaint/lists"}