{"id":17802653,"url":"https://github.com/pierrickgt/pcgb","last_synced_at":"2026-02-26T10:25:53.985Z","repository":{"id":90541038,"uuid":"61362250","full_name":"PierrickGT/PCGB","owner":"PierrickGT","description":"PCGB: a simple PostCSS boilerplate to kickstart your static website project","archived":false,"fork":false,"pushed_at":"2017-02-08T11:41:09.000Z","size":7,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T07:04:01.114Z","etag":null,"topics":["boilerplate","gulpfile","postcss"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PierrickGT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-17T09:27:12.000Z","updated_at":"2019-10-11T03:15:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"da65046d-72d0-449b-b0f0-ae66a8fd2c4c","html_url":"https://github.com/PierrickGT/PCGB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PierrickGT/PCGB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierrickGT%2FPCGB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierrickGT%2FPCGB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierrickGT%2FPCGB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierrickGT%2FPCGB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PierrickGT","download_url":"https://codeload.github.com/PierrickGT/PCGB/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierrickGT%2FPCGB/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29856531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T08:51:08.701Z","status":"ssl_error","status_checked_at":"2026-02-26T08:50:19.607Z","response_time":89,"last_error":"SSL_read: 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":["boilerplate","gulpfile","postcss"],"created_at":"2024-10-27T12:42:58.717Z","updated_at":"2026-02-26T10:25:53.948Z","avatar_url":"https://github.com/PierrickGT.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![PCGB Logo](https://cloud.githubusercontent.com/assets/2401738/16187424/8d73da1c-36d0-11e6-90ad-90a30bd35150.png)\n\nPCGB: a simple PostCSS boilerplate to kickstart your static website project\n\n## Prerequisite\n\nYou need to have the following softwares installed in order to run this project.\n\nGit: https://git-scm.com/downloads\n\nNode.js: https://nodejs.org/en/\n\n## Installation\n\nFirst, you need to clone the project on your computer by typing the following command in your terminal\n```\ngit clone git@github.com:PierrickGT/PCGB.git\n```\nThen, you need to install the dependencies with this command\n```\nnpm install\n```\n## Build\n\nTo build the project, run this command\n```\nnpm run build\n```\nYour rendered site is then available in the public folder.\n\n## Launch\n\nYou can then launch your local server with the command\n```\nnpm start\n```\n\n## Deployment\n\nTo deploy your static site on Github pages, you first need to write the Github URL of your project at the line 54 of gulpfile.js in order to change the base url of PostCSS Assets.\n```\nbaseUrl: '', // Write your Github URL here\n```\n\nRead the doc for further informations: https://github.com/assetsjs/postcss-assets#base-url\n\nThen, you have to write the name of your Github repository at the line 100 of gulpfile.js  to add the path of your Github project to each href.\n```\n.pipe($.replace('href=\"/', 'href=\"/name-of-your-repository/')) // Write your Github repository name here\n```\n\nIn order to deploy on Github Pages, you need to have a gh-pages branch that you can create by typing the following commands:\n```\ngit checkout --orphan gh-pages\ngit rm -rf .\ntouch README.md\ngit add README.md\ngit commit -m \"Init gh-pages\"\ngit push --set-upstream origin gh-pages\ngit checkout master\n```\n\nFinally, you can deploy your static site on Github Pages with the command\n```\nnpm run deploy\n```\n## Structure\n\n```\n├── public/\n│   ├── assets/\n│   │   ├── favicon/\n│   │   ├── fonts/\n│   │   ├── images/\n│   │   ├── js/\n│   │   ├── stylesheets/\n│   ├── index.html\n├── source/\n│   ├── css/\n│   ├── favicon/\n│   ├── fonts/\n│   ├── html/\n│   ├── images/\n│   ├── js/\n│   ├── index.html\n├── gulpfile.js\n├── package.json\n```\n\n## Dependencies\n\nThe following dependencies have been used.\n\n### HTML\n\n#### Gulp HTML Tag Include\nhttps://github.com/zaharin/gulp-html-tag-include\n\n### PostCSS\n\n#### Autoprefixer\nhttps://github.com/postcss/autoprefixer\n\n#### CSS Nano\nhttp://cssnano.co\n\n#### CSS Next\nhttp://cssnext.io\n\n#### PreCSS\nhttps://github.com/jonathantneal/precss\n\n#### PostCSS Assets\nhttps://github.com/assetsjs/postcss-assets\n\n#### Sourcemaps\nhttps://github.com/floridoo/gulp-sourcemaps\n\n### Javascript\n\n#### Concatenation\nhttps://github.com/contra/gulp-concat\n\n#### Minification\nhttps://github.com/terinjokes/gulp-uglify\n\n#### Sourcemaps\nhttps://github.com/floridoo/gulp-sourcemaps\n\n### Images\n\n#### Minification\nhttps://github.com/sindresorhus/gulp-imagemin\n\n#### Cache\nhttps://github.com/jgable/gulp-cache\n\n### Static server\n\n#### Browsersync\nhttps://www.browsersync.io/docs/gulp/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierrickgt%2Fpcgb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierrickgt%2Fpcgb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierrickgt%2Fpcgb/lists"}