{"id":20170227,"url":"https://github.com/fabrix-app/spool-greenlock","last_synced_at":"2025-10-12T17:15:43.539Z","repository":{"id":51939480,"uuid":"188478822","full_name":"fabrix-app/spool-greenlock","owner":"fabrix-app","description":"Spool: Greenlock SSL","archived":false,"fork":false,"pushed_at":"2022-12-06T16:17:39.000Z","size":62,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T17:15:42.062Z","etag":null,"topics":["fabrix","greenlock","spool","spools"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabrix-app.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":"2019-05-24T19:45:16.000Z","updated_at":"2019-11-01T23:22:42.000Z","dependencies_parsed_at":"2022-08-23T11:51:09.830Z","dependency_job_id":null,"html_url":"https://github.com/fabrix-app/spool-greenlock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fabrix-app/spool-greenlock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-greenlock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-greenlock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-greenlock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-greenlock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabrix-app","download_url":"https://codeload.github.com/fabrix-app/spool-greenlock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabrix-app%2Fspool-greenlock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012186,"owners_count":26085078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":["fabrix","greenlock","spool","spools"],"created_at":"2024-11-14T01:17:46.207Z","updated_at":"2025-10-12T17:15:43.504Z","avatar_url":"https://github.com/fabrix-app.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spool-greenlock\n:package: Letsencrypt (greenlock) Spool for Fabrix\n\n[![Gitter][gitter-image]][gitter-url]\n[![NPM version][npm-image]][npm-url]\n[![Build Status][ci-image]][ci-url]\n[![Test Coverage][coverage-image]][coverage-url]\n[![Dependency Status][daviddm-image]][daviddm-url]\n[![Follow @FabrixApp on Twitter][twitter-image]][twitter-url]\n\n\n## Configuration\nYou can configure letsencrypt under the file config/greenlock.ts (be sure it's added under config/index.ts or it will not be loaded)\n\nBe sure to have spool-express installed and configured.\n\nHere is a very simple example:\n\n```js\nexport const greenlock = {\n  server: 'staging', // Set to https://acme-v01.api.letsencrypt.org/directory in production\n  email: 'john.doe@example.com',\n  agreeTos: true,\n  approvedDomains: ['example.com', 'www.example.com']\n}\n```\n\nMore information about the configuration possibilities here: https://git.daplie.com/Daplie/node-greenlock\n\n## Usage\nAdd the spool under config/main.ts\n\n```js\n// config/main.ts\nexport const main = {\n  // ...\n  spools: [\n    require('spool-router').RouterSpool,\n    require('spool-express').ExpressSpool,\n    require('spool-greenlock').GreenlockSpool\n  ]\n}\n```\n\nLetsencrypt can work only if you use 443 as secure port and 80 as default port so be sure to set them correctly \n\n## Contributing\nWe love contributions! Please check out our [Contributor's Guide](https://github.com/fabrix-app/fabrix/blob/master/.github/CONTRIBUTING.md) for more\ninformation on how our projects are organized and how to get started.\n\n\n[npm-image]: https://img.shields.io/npm/v/@fabrix/spool-greenlock.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@fabrix/spool-greenlock\n[ci-image]: https://img.shields.io/circleci/project/github/fabrix-app/spool-greenlock/master.svg\n[ci-url]: https://circleci.com/gh/fabrix-app/spool-greenlock/tree/master\n[daviddm-image]: http://img.shields.io/david/fabrix-app/spool-greenlock.svg?style=flat-square\n[daviddm-url]: https://david-dm.org/fabrix-app/spool-greenlock\n[gitter-image]: http://img.shields.io/badge/+%20GITTER-JOIN%20CHAT%20%E2%86%92-1DCE73.svg?style=flat-square\n[gitter-url]: https://gitter.im/fabrix-app/Lobby\n[twitter-image]: https://img.shields.io/twitter/follow/FabrixApp.svg?style=social\n[twitter-url]: https://twitter.com/FabrixApp\n[coverage-image]: https://img.shields.io/codeclimate/coverage/github/fabrix-app/spool-greenlock.svg?style=flat-square\n[coverage-url]: https://codeclimate.com/github/fabrix-app/spool-greenlock/coverage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabrix-app%2Fspool-greenlock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabrix-app%2Fspool-greenlock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabrix-app%2Fspool-greenlock/lists"}