{"id":16641798,"url":"https://github.com/samthor/11ty-fast-dev","last_synced_at":"2026-04-19T16:03:50.637Z","repository":{"id":57092813,"uuid":"320471846","full_name":"samthor/11ty-fast-dev","owner":"samthor","description":"11ty-fast-dev","archived":false,"fork":false,"pushed_at":"2020-12-11T05:12:32.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-27T01:59:08.567Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samthor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-11T05:00:31.000Z","updated_at":"2023-01-13T06:47:34.000Z","dependencies_parsed_at":"2022-08-22T21:40:43.800Z","dependency_job_id":null,"html_url":"https://github.com/samthor/11ty-fast-dev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samthor/11ty-fast-dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samthor%2F11ty-fast-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samthor%2F11ty-fast-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samthor%2F11ty-fast-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samthor%2F11ty-fast-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samthor","download_url":"https://codeload.github.com/samthor/11ty-fast-dev/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samthor%2F11ty-fast-dev/sbom","scorecard":{"id":798213,"data":{"date":"2025-08-11","repo":{"name":"github.com/samthor/11ty-fast-dev","commit":"a986730ff4f160fbe8299f4f79e8a71eb74ac56a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/4 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":"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":"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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"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"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["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-23T09:38:06.322Z","repository_id":57092813,"created_at":"2025-08-23T09:38:06.322Z","updated_at":"2025-08-23T09:38:06.322Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32012789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":[],"created_at":"2024-10-12T07:47:54.607Z","updated_at":"2026-04-19T16:03:50.621Z","avatar_url":"https://github.com/samthor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This makes 11ty more efficient when used behind a dev server, making it only compiles your pages when you actually want to see them.\n\nThis relies on you running your own dev server.\n(This could be built into `eleventy --serve`, I don't know.)\n\n⚠️ This is a crazy idea and perhaps not intended for production use just yet.\nYou're welcome!\n\n## Usage\n\nYour .eleventy.js should be updated like this:\n\n**TODO(samthor): This should be flagged or only run in `--watch` mode.**\n\n```js\nconst eleventyFastDev = require('11ty-fast-dev/patch');\n\nmodule.exports = eleventyConfig =\u003e {\n  // We can't set up 11ty-fast-dev here, but instead need to do it later in\n  // 11ty's lifecycle. Its calculation of collections is a great place, as this\n  // is before any files are written.\n  // TODO(samthor): We only want to do this when flagged or in watch mode and\n  // so on.\n  const config = eleventyFastDev.buildConfig(eleventyConfig);\n  eleventyConfig.addCollection('_11ty-fast-dev', config);\n\n  // ... the rest of your config\n};\n```\n\nAdd this handler to your web server (this uses Express):\n\n```js\nconst {buildEleventyFastDevHandler} = require('11ty-fast-dev/handler');\n\nconst staticPaths = ['dist'];  // 11ty writes here by default\nconst eleventyFastDevHandler = buildEleventyFastDevHandler(staticPaths);\n\n// Insert this _before_ your static handlers, so old dist files don't \"win\".\napp.use(eleventyFastDevHandler);\n```\n\nProfit!\n\n## Implementation\n\nThe eleventy side does two things:\n\n* monkeypatches `TemplateWriter._writeTemplate` so that instead of writing a template, we store this ability into a closure\n* opens a web server on \"localhost:9999\", and when the right page is requested, renders the file\n\nOn the server side, it's a pretty basic handler which then goes out and asks \"localhost:9999\" for the right page.\n\n## Downsides\n\nThis will, as stated, only execute your templates and run transforms when you request a file.\nIf you have side effects in these places, then this won't work for you.\n(This is generally considered a bad idea _anyway_).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamthor%2F11ty-fast-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamthor%2F11ty-fast-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamthor%2F11ty-fast-dev/lists"}