{"id":15065286,"url":"https://github.com/philhawksworth/netlify-plugin-add-instagram","last_synced_at":"2026-03-02T07:31:56.599Z","repository":{"id":40719262,"uuid":"260425944","full_name":"philhawksworth/netlify-plugin-add-instagram","owner":"philhawksworth","description":"Fetch and cache your latest Instagram Images to serve as part of your site.","archived":false,"fork":false,"pushed_at":"2022-06-25T12:25:45.000Z","size":27,"stargazers_count":20,"open_issues_count":5,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-05T00:59:21.085Z","etag":null,"topics":["instagram","jamstack","netlify","netlify-plugin","ssg"],"latest_commit_sha":null,"homepage":"https://demo-netlify-plugin-add-instagram.netlify.app/","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/philhawksworth.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-01T09:51:01.000Z","updated_at":"2023-11-20T23:19:25.000Z","dependencies_parsed_at":"2022-09-01T07:00:42.128Z","dependency_job_id":null,"html_url":"https://github.com/philhawksworth/netlify-plugin-add-instagram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/philhawksworth/netlify-plugin-add-instagram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philhawksworth%2Fnetlify-plugin-add-instagram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philhawksworth%2Fnetlify-plugin-add-instagram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philhawksworth%2Fnetlify-plugin-add-instagram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philhawksworth%2Fnetlify-plugin-add-instagram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philhawksworth","download_url":"https://codeload.github.com/philhawksworth/netlify-plugin-add-instagram/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philhawksworth%2Fnetlify-plugin-add-instagram/sbom","scorecard":{"id":731215,"data":{"date":"2025-08-11","repo":{"name":"github.com/philhawksworth/netlify-plugin-add-instagram","commit":"a079083f163be8782c69c0452a23a47155fc5a5d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"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":"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":"Code-Review","score":1,"reason":"Found 2/17 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":"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":"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":"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":"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":"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 4 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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-w7rc-rwvf-8q5r","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T14:29:02.545Z","repository_id":40719262,"created_at":"2025-08-22T14:29:02.545Z","updated_at":"2025-08-22T14:29:02.545Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29994996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"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":["instagram","jamstack","netlify","netlify-plugin","ssg"],"created_at":"2024-09-25T00:36:16.351Z","updated_at":"2026-03-02T07:31:56.578Z","avatar_url":"https://github.com/philhawksworth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netlify Plugin - Add Instagram\n\nThis [plugin](https://www.netlify.com/build/plugins-beta?utm_source=github\u0026utm_medium=plugin-addinstagram-pnh\u0026utm_campaign=devex) adds the ability to source fetch and cache recent Instagram images so that they can be served as part of the site from the same domain, rather than serving directly from Facebook's Instagram CDN.\n\nSome browser settings and extensions throttle or block serving assets from Facebook's CDN for privacy reasons. Serving these assets directly from the same CDN and domain as the rest of the site should give a small performance benefit too.\n\n## Overview\n\nThis plugin requests data from Instagram feed that you associated with an Instagram Key that you will need to provide as an environment variable. It will save this data as JSON in the Netlify build cache and only re-request the feed after a specified time-to-live value has elapsed. It will also save all the image assets in the Netlify Build cache between builds and place them in the specified location for your static site generator to use.\n\nConfigure this plugin to present the gathered data and images in the appropriate location, so your chosen [static site generator](https://www.netlify.com/blog/2020/04/14/what-is-a-static-site-generator-and-3-ways-to-find-the-best-one/?utm_source=github\u0026utm_medium=plugin-addinstagram-pnh\u0026utm_campaign=devex) can leverage it during the build.\n\n\n## Demonstration\n\nSee this plugin being used in this simplified demo site: https://demo-netlify-plugin-add-instagram.netlify.app/\n\n\n## Installation\n\nTo include this plugin in your site deployment:\n\n\n### 1. Add the plugin as a dependency\n\n```bash\n\n# Add the plugin as a dependency of your build\nnpm i --s netlify-plugin-add-instagram\n\n```\n\n\n### 2. Add the plugin and its options to your netlify.toml\n\nThis plugin will fetch the specified instagram feed and the latest 12 images and stash them prior to the execution of the `build` command you have specified in your Netlify configuration. The desired Instagram username and various caching attributes can be specified in the `netlify.toml` config file as shown below.\n\n```toml\n# Config for the Netlify Build Plugin: netlify-plugin-add-instagram\n[[plugins]]\n  package = \"netlify-plugin-add-instagram\"\n\n  [plugins.inputs]\n\n    # Where to put the image files\n    imageFolder = \"src/images/instagram\"\n\n    # Also stash data about the images in a json file\n    dataFile = \"src/_data/instagram.json\"\n\n    # How many seconds should we cache the instagram feed for?\n    feedTTL = 30\n\n    # How many seconds should we cache each instagram image for?\n    imageTTL = 1209600   # 2 weeks\n\n    # Which of Instagram's image sizes should we fetch?\n    # t (thumbnail)\n    # m (medium)\n    # l (large)\n    imageSize = \"m\"\n\n    # Instagram username\n    username = \"philhawksworth\"\n```\n\n\n\n### 3. Enable Build plugins on your site\n\nVisit the Build Plugins page in the Netlify Admin to enable build plugins on your site.\n\n\n## Quick try-out\n\nYou can try out this plugin by deploying [a simple site](https://demo-netlify-plugin-add-instagram.netlify.app/) which uses it.\n\nClicking the button below will clone [a test site repo](https://github.com/philhawksworth/demo-netlify-plugin-add-instagram), setup a new site [on Netlify](https://netlify.com?utm_source=github\u0026utm_medium=plugin-addinstagram-pnh\u0026utm_campaign=devex) and deploy the site complete with the plugin configured and operational.\n\n[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/philhawksworth/demo-netlify-plugin-add-instagram)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilhawksworth%2Fnetlify-plugin-add-instagram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilhawksworth%2Fnetlify-plugin-add-instagram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilhawksworth%2Fnetlify-plugin-add-instagram/lists"}