{"id":39812515,"url":"https://github.com/tyrion/gridsome-plugin-netlify-cms-paths","last_synced_at":"2026-01-18T12:45:30.803Z","repository":{"id":47552671,"uuid":"196263044","full_name":"tyrion/gridsome-plugin-netlify-cms-paths","owner":"tyrion","description":"Fix markdown image paths to work with Netlify CMS","archived":false,"fork":false,"pushed_at":"2021-08-24T12:18:21.000Z","size":6,"stargazers_count":10,"open_issues_count":7,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-21T07:55:54.971Z","etag":null,"topics":["gridsome","gridsome-plugin","netlify-cms"],"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/tyrion.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":"2019-07-10T19:21:58.000Z","updated_at":"2024-10-21T01:27:46.000Z","dependencies_parsed_at":"2022-08-31T23:50:27.880Z","dependency_job_id":null,"html_url":"https://github.com/tyrion/gridsome-plugin-netlify-cms-paths","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tyrion/gridsome-plugin-netlify-cms-paths","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyrion%2Fgridsome-plugin-netlify-cms-paths","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyrion%2Fgridsome-plugin-netlify-cms-paths/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyrion%2Fgridsome-plugin-netlify-cms-paths/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyrion%2Fgridsome-plugin-netlify-cms-paths/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyrion","download_url":"https://codeload.github.com/tyrion/gridsome-plugin-netlify-cms-paths/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyrion%2Fgridsome-plugin-netlify-cms-paths/sbom","scorecard":{"id":905616,"data":{"date":"2025-08-11","repo":{"name":"github.com/tyrion/gridsome-plugin-netlify-cms-paths","commit":"d50aa9c3814668b65f0bdb9a62ef57850b2d4782"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Code-Review","score":1,"reason":"Found 1/10 approved changesets -- score normalized to 1","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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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"}},{"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"}}]},"last_synced_at":"2025-08-24T17:14:23.768Z","repository_id":47552671,"created_at":"2025-08-24T17:14:23.768Z","updated_at":"2025-08-24T17:14:23.768Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28536020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"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":["gridsome","gridsome-plugin","netlify-cms"],"created_at":"2026-01-18T12:45:30.667Z","updated_at":"2026-01-18T12:45:30.785Z","avatar_url":"https://github.com/tyrion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gridsome-plugin-netlify-cms-paths\n\nThis plugin will fix image paths generated by Netlify CMS (i.e. absolute paths\nstarting with `public_folder` and relative paths not starting with `./`) to\nwork with Gridsome.\n\nFor a more general introduction see:\n    [https://germano.dev/fix-netlify-cms-paths-on-gridsome][post]\n\n[post]: https://germano.dev/fix-netlify-cms-paths-on-gridsome\n\n## Install\n\nYou can install this plugin with either yarn or npm:\n\n```shell\nyarn add gridsome-plugin-netlify-cms-paths\n```\n\n## How to use\n\nTo use this plugin, simply add it to your `gridsome.config.js`:\n\n```javascript\n  plugins: [\n    // configure Netlify CMS\n    { use: 'gridsome-plugin-netlify-cms' },\n    // fix paths\n    { use: 'gridsome-plugin-netlify-cms-paths' }\n  ]\n```\n\nNote that this plugin requires `gridsome-plugin-netlify-cms` to be installed\nand be configured before itself.\n\nCurrently this plugin also assumes that [@gridsome/transformer-remark][remark]\nis installed and configured and that you are defining your content types\nwith [@gridsome/source-filesystem][fs].\n\n[remark]: https://gridsome.org/plugins/@gridsome/transformer-remark\n\n## Options\n\n### `contentTypes`\n\nThe list of content types you want to be considered when fixing paths.\nFor example if you are using [@gridsome/source-filesystem][fs] to create a\n`Post` content type:\n\n```javascript\n  plugins: [\n    {\n      // Create posts from markdown files\n      use: '@gridsome/source-filesystem',\n      options: {\n        typeName: 'Post',\n        path: 'content/posts/*.md',\n        route: '/:slug',\n      }\n    },\n\n    { use: 'gridsome-plugin-netlify-cms' },\n    {\n      use: 'gridsome-plugin-netlify-cms-paths',\n      options: {\n        contentTypes: ['Post'] // Same as declared above\n      }\n    }\n```\n\n\n### `coverField`\n\n(*optional*, default: `undefined`)\n\nInstruct the plugin to also fix the path of the *cover image* found in the\nfrontmatter field specified by this option.\n\nYou can also specify this option for each content type by defining it into\nthe [@gridsome/source-filesystem][fs] options.\n\n```javascript\n  plugins: [\n    {\n      // Create posts from markdown files\n      use: '@gridsome/source-filesystem',\n      options: {\n        typeName: 'Post',\n        path: 'content/posts/*.md',\n        route: '/:slug',\n        coverField: 'post_cover' // Specific for Post, overrides global\n      }\n    },\n\n    { use: 'gridsome-plugin-netlify-cms' },\n    {\n      use: 'gridsome-plugin-netlify-cms-paths',\n      options: {\n        contentTypes: ['Post']\n        coverField: 'cover_image' // Global definition\n      }\n    }\n```\n\n[fs]: https://gridsome.org/plugins/@gridsome/source-filesystem\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyrion%2Fgridsome-plugin-netlify-cms-paths","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyrion%2Fgridsome-plugin-netlify-cms-paths","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyrion%2Fgridsome-plugin-netlify-cms-paths/lists"}