{"id":18576196,"url":"https://github.com/deuill/fawkss","last_synced_at":"2026-01-24T00:08:52.077Z","repository":{"id":75109009,"uuid":"52739229","full_name":"deuill/fawkss","owner":"deuill","description":"Fawkss is a CSS preprocessor for people who dislike CSS preprocessors","archived":false,"fork":false,"pushed_at":"2016-07-03T12:45:44.000Z","size":30,"stargazers_count":32,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T10:50:32.341Z","etag":null,"topics":["awk","css-preprocessor"],"latest_commit_sha":null,"homepage":null,"language":"Awk","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/deuill.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-28T19:31:47.000Z","updated_at":"2025-02-06T00:49:59.000Z","dependencies_parsed_at":"2023-06-05T08:45:22.194Z","dependency_job_id":null,"html_url":"https://github.com/deuill/fawkss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deuill%2Ffawkss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deuill%2Ffawkss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deuill%2Ffawkss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deuill%2Ffawkss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deuill","download_url":"https://codeload.github.com/deuill/fawkss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239311610,"owners_count":19618013,"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":["awk","css-preprocessor"],"created_at":"2024-11-06T23:23:58.777Z","updated_at":"2025-11-01T18:30:22.252Z","avatar_url":"https://github.com/deuill.png","language":"Awk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fawkss — The [ig]noble CSS preprocessor [![MIT License][license-svg]][license-url]\n\nFawkss [fɔːks] is a simple CSS preprocessor built as a single AWK (nawk/gawk/mawk) script. Syntactically, it borrows as much as possible from the SASS language, for convenience and familiarity.\n\nThis is more of a fun project than a production-ready piece of software, though it may find some use for people needing simple additions to CSS without pulling in the massive ecosystem that comes with Less.js/SASS etc.\n\n## Status\n\nCurrently, the following SASS features are implemented, in varying degrees:\n\n### C99/C++-style comments\n\nLines that contain comments using the `//` syntax are removed from the final output, and are useful for including commentary that should otherwise not be available to end-users.\n\nComments using the `/* */` syntax are not handled, and remain intact in the final output.\n\n### Variables\n\nVariables can be defined and used with the following syntax:\n\n```scss\n$variable-name: 10px;\nwidth: $variable-name;\n```\n\nAll variables are defined in the global scope, and cannot be used before definition. Using an undefined variable is a fatal error, and halts execution. Variable names can contain alphanumeric characters, as well as underscore and hyphen characters, and are always prefixed with a dollar sign.\n\nVariables must be appear on their own line, and cannot be mixed with other declarations. Redefining a variable overrides its previous value, with no warning message emitted.\n\n### Imports\n\nCSS import declarations are extended for concatenating SCSS files together transparently. For a file `common/_colors.scss`, the following declarations are equivalent:\n\n```scss\n@import \"common/colors\";\n@import \"common/colors.scss\";\n@import \"common/_colors\";\n@import \"common_colors.scss\";\n```\n\nUnlike SASS, files with leading underscores are not handled especially as partials.\n\n### Mixins\n\nMixin support is currently minimal, with parameters (including default values) and nested mixins handled.\n\nFeatures such as variadic parameters and mixins with parent selectors are forthcoming.\n\n## Roadmap\n\nIt is intended that the script never balloons to more than ~1000 lines of code. I'm trying to tackle the most important features yet and see how well they fit within the AWK mindset.\n\nThat being said, I do not plan to implement any context-sensitive functionality (such as nesting etc.), which may be nigh-impossible in AWK anyways. Consider it a feature.\n\n## Testing \u0026 Documentation\n\nA `Makefile` is provided for running tests and producing documentation for Fawkss. Run `make help` in the project root for more information.\n\nA full test-suite is provided (depending only on `make` and `awk`), which should serve as a good example of the existing feature-set.\n\n## License\n\nAll code in this repository is covered by the terms of the MIT License, the full text of which can be found in the LICENSE file.\n\n[license-url]: https://github.com/deuill/go-php/blob/master/LICENSE\n[license-svg]: https://img.shields.io/badge/license-MIT-blue.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeuill%2Ffawkss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeuill%2Ffawkss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeuill%2Ffawkss/lists"}