{"id":15450409,"url":"https://github.com/manustays/eleventy-plugin-codepen-iframe","last_synced_at":"2026-05-04T03:34:02.151Z","repository":{"id":143759285,"uuid":"332377883","full_name":"manustays/eleventy-plugin-codepen-iframe","owner":"manustays","description":"An 11ty  plugin to embed CodePen pens in your posts using iFrame only (no Javascript)","archived":false,"fork":false,"pushed_at":"2021-01-29T16:57:23.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T20:44:32.583Z","etag":null,"topics":["11ty","11ty-plugin","eleventy","eleventy-plugin"],"latest_commit_sha":null,"homepage":"https://abhi.page/notes/11ty-plugin-codepen/","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/manustays.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":"2021-01-24T05:55:03.000Z","updated_at":"2022-09-28T14:44:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e1a07b4-8a56-4c7a-940c-7bc306cc7535","html_url":"https://github.com/manustays/eleventy-plugin-codepen-iframe","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"a79b709f2875978b3e1ff278dabc4410ecfc01f6"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":"manustays/eleventy-plugin-template","purl":"pkg:github/manustays/eleventy-plugin-codepen-iframe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manustays%2Feleventy-plugin-codepen-iframe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manustays%2Feleventy-plugin-codepen-iframe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manustays%2Feleventy-plugin-codepen-iframe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manustays%2Feleventy-plugin-codepen-iframe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manustays","download_url":"https://codeload.github.com/manustays/eleventy-plugin-codepen-iframe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manustays%2Feleventy-plugin-codepen-iframe/sbom","scorecard":{"id":616056,"data":{"date":"2025-08-11","repo":{"name":"github.com/manustays/eleventy-plugin-codepen-iframe","commit":"a79b709f2875978b3e1ff278dabc4410ecfc01f6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":0,"reason":"Found 0/6 approved changesets -- score normalized to 0","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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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 'main'"],"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-21T03:59:51.943Z","repository_id":143759285,"created_at":"2025-08-21T03:59:51.943Z","updated_at":"2025-08-21T03:59:51.943Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32593944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["11ty","11ty-plugin","eleventy","eleventy-plugin"],"created_at":"2024-10-01T21:05:12.871Z","updated_at":"2026-05-04T03:34:02.125Z","avatar_url":"https://github.com/manustays.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eleventy Plugin to Embed CodePen.io Pens (using iFrame)\n\nEmbed CodePen.io Pens into your 11ty website by using a ShortCode. It directly embeds an iFrame for efficiency (without loading CodePen's Javascript).\n\n\u003ca href=\"https://github.com/manustays/eleventy-plugin-codepen-iframe/issues\"\u003e![GitHub issues](https://img.shields.io/github/issues/manustays/eleventy-plugin-codepen-iframe)\u003c/a\u003e\n\u003ca href=\"https://www.npmjs.com/package/@manustays/eleventy-plugin-codepen-iframe\" target=\"_blank\"\u003e![npm (scoped)](https://img.shields.io/npm/v/@manustays/eleventy-plugin-codepen-iframe)\u003c/a\u003e\n\u003ca href=\"https://abhi.page\" target=\"_blank\"\u003e![About Abhishek](https://img.shields.io/badge/about-me-blue)\u003c/a\u003e\n\u003ca href=\"https://twitter.com/intent/tweet?text=Wow:\u0026url=https%3A%2F%2Fgithub.com%2Fmanustays%2Feleventy-plugin-codepen-iframe\" target=\"_blank\"\u003e\u003cimg alt=\"Twitter\" src=\"https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2Fmanustays%2Feleventy-plugin-codepen-iframe\"\u003e\u003c/a\u003e\n\u003ca href=\"https://twitter.com/intent/follow?screen_name=abhiweb\" target=\"_blank\"\u003e![Twitter Follow](https://img.shields.io/twitter/follow/abhiweb?label=Follow\u0026style=social)\u003c/a\u003e\n\n---\n\nYet another [11ty](11ty.dev) plugin to embed CodePens into you pages. The other plugins that I had seen use CodePen's preferred Javascript based embeds. It requires loading an external Javascript (though, a small one) into your page. The Javascript finally creates an `\u003ciframe\u003e` anyway!\n\nI wanted a more efficient solution for my blog by directly embedding the Pen's iFrame; therefore this plugin.\n\n## Usage\n\n### STEP 1: Install the plugin:\n\n```bash\nnpm install --save-dev @manustays/eleventy-plugin-codepen-iframe\n```\n\n### STEP 2: Include it in your `.eleventy.js` config file:\n\n```js\nconst embedCodePen = require(\"@manustays/eleventy-plugin-codepen-iframe\");\n\nmodule.exports = (eleventyConfig) =\u003e {\n\televentyConfig.addPlugin(embedCodePen, {\n\t\ttabs: \"js,result\",\n\t\tuser: \"manustays\"\n\t});\n};\n```\n\n### STEP 3 – Use it in your templates:\n\n```njk\n{% CodePen \"pen-url\" %}\n```\n\n## Config Options\nThese options set the default values for embedded Pens. They can be overridden while embedding individual Pens.\n\n| Option   | Type    | Default   | Description              |\n| -------- | ------- | --------- |--------------------------|\n| tabs     | string  | \"result\"  | Default comma-separated string of the tabs of the codepen to display |\n| height   | number  | 300       | Default height of Pen iFrames |\n| width    | string  | \"100%\"    | Default width of Pen iFrames |\n| theme    | string  | \"dark\"    | Default theme for all Pens |\n| user     | string  | \"\"        | CodePen user-id to use if only Pen-id is provided |\n| class    | string  | \"codepen\" | CSS classes to add to the iFrame |\n\n## Credits\n\nHuge shout-out to the [awesome 11ty community](https://twitter.com/eleven_ty) for inspirations and learning and to [CodePen.io](https://codepen.io/) for makign this plugin possible!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanustays%2Feleventy-plugin-codepen-iframe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanustays%2Feleventy-plugin-codepen-iframe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanustays%2Feleventy-plugin-codepen-iframe/lists"}