{"id":13718775,"url":"https://github.com/budparr/hugopipes-tailwindcss","last_synced_at":"2025-06-16T13:10:50.618Z","repository":{"id":74049146,"uuid":"142098994","full_name":"budparr/hugopipes-tailwindcss","owner":"budparr","description":"Hugo's Pipes functionality using TailwindCSS and PurgeCSS","archived":false,"fork":false,"pushed_at":"2020-05-06T17:39:52.000Z","size":133,"stargazers_count":85,"open_issues_count":2,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-11T14:12:13.669Z","etag":null,"topics":["hugo","postcss","purgecss","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/budparr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2018-07-24T03:23:15.000Z","updated_at":"2025-04-20T14:08:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"731aa90f-0f73-439f-96c4-d7b64b3b507f","html_url":"https://github.com/budparr/hugopipes-tailwindcss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/budparr/hugopipes-tailwindcss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/budparr%2Fhugopipes-tailwindcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/budparr%2Fhugopipes-tailwindcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/budparr%2Fhugopipes-tailwindcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/budparr%2Fhugopipes-tailwindcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/budparr","download_url":"https://codeload.github.com/budparr/hugopipes-tailwindcss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/budparr%2Fhugopipes-tailwindcss/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260166308,"owners_count":22968635,"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":["hugo","postcss","purgecss","tailwindcss"],"created_at":"2024-08-03T01:00:37.573Z","updated_at":"2025-06-16T13:10:50.588Z","avatar_url":"https://github.com/budparr.png","language":"JavaScript","funding_links":[],"categories":["Starters"],"sub_categories":["Non-Official"],"readme":"\nThe Repo is a working example of Hugo's Pipes functionality using TailwindCSS and PurgeCSS.\n\n- [Hugo Pipes](https://gohugo.io/hugo-pipes/)\n- [TailwindCSS](https://github.com/tailwindcss/tailwindcss) (with a custom extractor for PurgeCSS)\n\n- [PostCSS](https://github.com/postcss/postcss)\n- [PurgeCSS](https://github.com/FullHuman/purgecss)\n- [AutoPrefixer](https://github.com/postcss/autoprefixer)\n- [PostCSS-Import](https://github.com/postcss/postcss-import) (because the importer that I think is native to Tailwind doesn't seem to work in this context)\n\nThe critical file is `/assets/css/postcss.config.js` and `/assets/css/dev/postcss.config.js`\n\n### Deployment Notes\n\nHugo will not [rebuild](https://discourse.gohugo.io/t/regenerating-assets-directory-for-hugo-pipes/13175) your CSS file unless the file itself is changed. In a TailwindCSS context, most of your work occurs in templates, not in the CSS file. To make development easier, we've created a separate PostCSS [config](https://github.com/postcss/postcss-cli#config) file without PurgeCSS.\n\n- **Before deploying, run `hugo --gc` to generate a minified, purged CSS file.** \n- Check the `resources` folder into your repository.\n\n### Other Notes\n\n- PurgeCSS will fail if any of your templates are empty.\n- If you add themes, you need to add the file location in the PurgeCSS `content` configuration item.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbudparr%2Fhugopipes-tailwindcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbudparr%2Fhugopipes-tailwindcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbudparr%2Fhugopipes-tailwindcss/lists"}