{"id":15112174,"url":"https://github.com/robinwalterfit/swift-sass","last_synced_at":"2026-03-12T09:38:37.023Z","repository":{"id":63920416,"uuid":"108676091","full_name":"robinwalterfit/Swift-Sass","owner":"robinwalterfit","description":"The Swift-Sass repository is a wrapper around the LibSass C/C++ port of the Sass engine.","archived":false,"fork":false,"pushed_at":"2017-11-20T10:13:35.000Z","size":26,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-12T11:29:42.252Z","etag":null,"topics":["libsass","sass","scss","server-side-swift","swift","swift-library","swift-package-manager","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/robinwalterfit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-28T19:01:11.000Z","updated_at":"2024-06-09T16:14:06.000Z","dependencies_parsed_at":"2022-11-29T10:45:16.875Z","dependency_job_id":null,"html_url":"https://github.com/robinwalterfit/Swift-Sass","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/robinwalterfit/Swift-Sass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinwalterfit%2FSwift-Sass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinwalterfit%2FSwift-Sass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinwalterfit%2FSwift-Sass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinwalterfit%2FSwift-Sass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robinwalterfit","download_url":"https://codeload.github.com/robinwalterfit/Swift-Sass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinwalterfit%2FSwift-Sass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30417687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T06:40:58.731Z","status":"ssl_error","status_checked_at":"2026-03-12T06:40:40.296Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["libsass","sass","scss","server-side-swift","swift","swift-library","swift-package-manager","xcode"],"created_at":"2024-09-26T00:42:20.809Z","updated_at":"2026-03-12T09:38:36.995Z","avatar_url":"https://github.com/robinwalterfit.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift-Sass\n\nThe Swift-Sass repository is a wrapper around the LibSass C/C++ port of the Sass engine.\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n**Note**: The following methods aren't working yet (see also [this](https://stackoverflow.com/questions/46990608/how-to-pass-a-swift-string-that-just-contains-white-spaces-to-a-c-method)):\n\n```swift\nfunc setIndent(_:String)\nfunc setLinefeed(_:String)\n```\n\n### Prerequisites\n\nTo use this repository you need to install the LibSass Library first.\n\nSee [this](https://github.com/sass/libsass/blob/master/docs/build.md) instructions for building/installing LibSass.\n\n### Installing\n\nIf you want to use Swift-Sass for example in your server-side Swift projects, all you have to do is add the dependency to your `Package.swift`:\n\n```swift\n.package( url: \"https://github.com/robinwalterfit/Swift-Sass.git\", from: \"1.0.0\" )\n```\n\n## Running the tests\n\nThe test are available for macOS through Xcode and haven't been optimized for Linux, yet.\n\nAll you have to do is edit the following lines according to your needs:\n\n```swift\nlet inputPath: String  = \"/Users/you/yourProjectsFolder/Swift-Sass/res/scss/style.scss\"\nlet outputPath: String = \"/Users/you/yourProjectsFolder/Swift-Sass/res/style\"\n```\nLines: 10 \u0026 11 in ./Tests/SassTests/SassTests.swift\n\nJust run the tests in Xcode or navigate to the project root folder in Terminal and execute:\n\n```\n$ swift test\n```\n\n### Break down into end to end tests\n\nThese tests uses some Scss files of your choice – *e.g. I chose [Bootstrap](https://github.com/twbs/bootstrap)* – and compile them with different options.\n\n## Deployment\n\nThere should be nothing else to do for deployment :open_mouth:\n\n## Built With\n\n* [LibSass](https://github.com/sass/libsass) – The C/C++ port of the Sass engine\n* [Swift-libsass](https://github.com/robinwalterfit/Swift-libsass) – The C library link\n* [Swift PM](https://github.com/apple/swift-package-manager) – Dependency Management\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on my code of conduct, and the process for submitting pull requests to me.\n\n## Versioning\n\nI use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/robinwalterfit/Swift-Sass/tags).\n\n## Authors\n\n* **Robin Walter** - *Initial work* - [robinwalterfit](https://github.com/robinwalterfit)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n\n## Acknowledgments\n\n* Checkout these amazing cheat sheets: [README-Template](https://gist.github.com/PurpleBooth/109311bb0361f32d87a2), [CONTRIBUTING-Template](https://gist.github.com/PurpleBooth/b24679402957c63ec426) \u0026 [GitHub Emojis](https://gist.github.com/rxaviers/7360908)\n* Server-side Swift with **[HTTP](https://github.com/swift-server/http)**, **[Vapor](https://github.com/vapor/vapor)**, **[Perfect](https://github.com/PerfectlySoft/Perfect)**, **[Kitura](https://github.com/IBM-Swift/Kitura)** or **[Zewo](https://github.com/Zewo/Zewo)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinwalterfit%2Fswift-sass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinwalterfit%2Fswift-sass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinwalterfit%2Fswift-sass/lists"}