{"id":22288418,"url":"https://github.com/albertito/css3fmt","last_synced_at":"2026-04-16T14:10:05.741Z","repository":{"id":66594733,"uuid":"269463635","full_name":"albertito/css3fmt","owner":"albertito","description":"css3fmt is an auto-formatter for CSS files","archived":false,"fork":false,"pushed_at":"2020-06-04T21:08:21.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T18:33:21.854Z","etag":null,"topics":["autoformat","css","css3","formatter","golang-application"],"latest_commit_sha":null,"homepage":"https://blitiri.com.ar/git/r/css3fmt/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/albertito.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":"2020-06-04T20:55:54.000Z","updated_at":"2020-06-05T10:49:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3aec1ec-0f7e-4d7f-a08b-5b758453d325","html_url":"https://github.com/albertito/css3fmt","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/albertito%2Fcss3fmt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertito%2Fcss3fmt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertito%2Fcss3fmt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertito%2Fcss3fmt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albertito","download_url":"https://codeload.github.com/albertito/css3fmt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245543426,"owners_count":20632648,"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":["autoformat","css","css3","formatter","golang-application"],"created_at":"2024-12-03T17:04:41.042Z","updated_at":"2026-04-16T14:10:00.711Z","avatar_url":"https://github.com/albertito.png","language":"Go","readme":"\n# css3fmt\n\n[css3fmt](https://blitiri.com.ar/git/r/css3fmt) is an auto-formatter for\n[CSS](https://en.wikipedia.org/wiki/Cascading_Style_Sheets) files.\n\nIt is not particularly fancy or smart, but it is simple and can automatically\nformat most CSS files.\n\n\n## Install\n\ncss3fmt is written in Go.\n\n```sh\ngo get blitiri.com.ar/go/css3fmt\n```\n\n\n## Editor integration\n\n### vim\n\nPut the following into your `.vimrc` file to auto-indent on save:\n\n```vim\nfunction! CSSFormatBuffer()\n        let l:curw = winsaveview()\n        let l:tmpname = tempname()\n        call writefile(getline(1,'$'), l:tmpname)\n        let l:out = system(\"css3fmt \" . l:tmpname) \n        call delete(l:tmpname)  \n        if v:shell_error == 0           \n                try | silent undojoin | catch | endtry\n                silent %!css3fmt     \n        else    \n                echoerr l:out\n        endif\n        call winrestview(l:curw)\n        return v:shell_error == 0\nendfunction\nautocmd filetype css\n  \\ autocmd bufwritepre \u003cbuffer\u003e call CSSFormatBuffer()\n```\n\n\n## Contact\n\nIf you have any questions, comments or patches please send them to\nalbertito@blitiri.com.ar.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertito%2Fcss3fmt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertito%2Fcss3fmt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertito%2Fcss3fmt/lists"}