{"id":19882918,"url":"https://github.com/svengau/gridsome-source-printful","last_synced_at":"2026-03-11T04:31:11.707Z","repository":{"id":51346973,"uuid":"266937384","full_name":"svengau/gridsome-source-printful","owner":"svengau","description":"Source plugin for fetching data from Prinful into Gridsome","archived":false,"fork":false,"pushed_at":"2021-05-14T02:54:01.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-21T18:56:39.537Z","etag":null,"topics":["gridsome-plugin","printful"],"latest_commit_sha":null,"homepage":"","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/svengau.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}},"created_at":"2020-05-26T03:39:28.000Z","updated_at":"2024-03-04T21:58:17.000Z","dependencies_parsed_at":"2022-09-12T09:21:26.442Z","dependency_job_id":null,"html_url":"https://github.com/svengau/gridsome-source-printful","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/svengau/gridsome-source-printful","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svengau%2Fgridsome-source-printful","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svengau%2Fgridsome-source-printful/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svengau%2Fgridsome-source-printful/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svengau%2Fgridsome-source-printful/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svengau","download_url":"https://codeload.github.com/svengau/gridsome-source-printful/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svengau%2Fgridsome-source-printful/sbom","scorecard":{"id":861049,"data":{"date":"2025-08-11","repo":{"name":"github.com/svengau/gridsome-source-printful","commit":"33b1d9d42c10e50d950dfa605e986490ef643535"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":3,"reason":"Found 1/3 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T01:16:17.344Z","repository_id":51346973,"created_at":"2025-08-24T01:16:17.344Z","updated_at":"2025-08-24T01:16:17.344Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30370797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["gridsome-plugin","printful"],"created_at":"2024-11-12T17:18:55.122Z","updated_at":"2026-03-11T04:31:11.650Z","avatar_url":"https://github.com/svengau.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gridsome Source for Printful\n\nSource plugin for fetching data from [Printful](https://www.printful.com/) into [Gridsome](https://gridsome.org/).\n\n## Install\n\n`npm install --save gridsome-source-printful`\n\nor\n\n`yarn add gridsome-source-printful`\n\n## How to use\n\n```javascript\n// In your gridsome.config.js\nplugins: [\n  {\n    use: 'gridsome-source-printful',\n    options: {\n      objectTypes: ['SyncProduct', 'WarehouseProduct', 'Country', 'TaxRate'],\n      apiKey: 'xxxxxxxxx',\n      // optional params\n      downloadFiles: true, //enable file downloading in general\n      downloadProductThumbnail: true, //downloads the thumbnail of the product and the applied design\n      downloadProductImages: true, //downloads all other images (thumbnail + preview) that are coming from printful in .variant.files \n      imageDirectory: 'printful_images',\n    },\n  },\n];\n```\n\nif downloadFiles is `true` the plugin will download all assets associated to fields `image` and `images` into `imageDirectory`.\n\n## How to query and filter\n\nFor example, you can query the product nodes created from Printful with the following:\n\n```javascript\nquery {\n  allPrintfulProduct {\n    edges {\n      node {\n        id\n        external_id\n        name\n        slug\n        thumbnail_url\n        thumbnail_img (width: 100 height: 100)\n        __typename\n        variants {\n          id\n          variant_id\n          external_id\n          sync_product_id\n          retail_price\n          currency\n          name\n          sku\n          files {\n            id\n            filename\n            thumbnail_url\n          }\n        }\n      }\n    }\n  }\n}\n\n```\n\nand you can filter specific node using this:\n\n```javascript\nquery product($id: String!) {\n  printfulProduct(id: $id) {\n    id\n    external_id\n    name\n  }\n}\n```\n\nAnother example with the countries:\n\n```javascript\nquery {\n  allPrintfulCountry {\n    totalCount\n    edges {\n      node {\n        id\n        name\n        code\n        states {code name}\n      }\n    }\n  }\n}\n```\n\n## Documentation\n\nThe official Printful API documentation is [here](https://www.printful.com/docs/products)\n\n## Thanks\n\nThis plugin has been:\n\n- largely inspired by the great [Gatsby-source-printful](https://github.com/ynnoj/gatsby-source-printful) developed by [Jonathan Steele](https://twitter.com/ynnoj)\n- developed with the kind support of [Fullstack Rocket](https://www.fullstackrocket.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvengau%2Fgridsome-source-printful","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvengau%2Fgridsome-source-printful","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvengau%2Fgridsome-source-printful/lists"}