{"id":21275241,"url":"https://github.com/geisonjr/certfy","last_synced_at":"2026-03-07T06:03:31.321Z","repository":{"id":253707122,"uuid":"844275465","full_name":"GeisonJr/certfy","owner":"GeisonJr","description":"Let's Encrypt | ACME Client Implementation","archived":false,"fork":false,"pushed_at":"2024-08-25T18:38:33.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T01:48:35.779Z","etag":null,"topics":["acme","acme-client","certificate","client","lets-encrypt","letsencrypt","node","portfolio","revoke","ssl"],"latest_commit_sha":null,"homepage":"","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/GeisonJr.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-18T22:41:59.000Z","updated_at":"2025-08-02T23:48:05.000Z","dependencies_parsed_at":"2024-08-18T23:45:50.300Z","dependency_job_id":"dca502ff-8e6b-4fd5-9aa2-954cf074065b","html_url":"https://github.com/GeisonJr/certfy","commit_stats":null,"previous_names":["geisonjr/certfy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GeisonJr/certfy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Fcertfy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Fcertfy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Fcertfy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Fcertfy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeisonJr","download_url":"https://codeload.github.com/GeisonJr/certfy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeisonJr%2Fcertfy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30208804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"last_error":"SSL_read: 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":["acme","acme-client","certificate","client","lets-encrypt","letsencrypt","node","portfolio","revoke","ssl"],"created_at":"2024-11-21T09:29:02.461Z","updated_at":"2026-03-07T06:03:31.268Z","avatar_url":"https://github.com/GeisonJr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://geison.dev/\"\u003e\r\n    \u003cimg width=\"100\" src=\"https://geison.dev/assets/icons/logo.svg\" alt=\"Logo\" /\u003e\r\n  \u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n\u003ch1 align=\"center\"\u003e\r\n  Certificate Generator with Let's Encrypt API\r\n\u003c/h1\u003e\r\n\u003cdiv align=\"center\"\u003e\r\n\r\nEasy to use, fast and lightweight library for Node.js.\r\n\r\n\u003ca\u003e\r\n  \u003cimg src=\"https://img.shields.io/github/license/geisonjr/certfy?style=flat\" alt=\"MIT Licence\" /\u003e\r\n\u003c/a\u003e\r\n\u003ca href=\"https://www.npmjs.com/package/@geisonjr/certfy\"\u003e\r\n  \u003cimg src=\"https://img.shields.io/npm/v/@geisonjr/certfy?style=flat-square\" alt=\"NPM version\" /\u003e\r\n\u003c/a\u003e\r\n\u003ca href=\"https://www.npmjs.com/package/@geisonjr/certfy\"\u003e\r\n  \u003cimg src=\"https://img.shields.io/npm/dt/@geisonjr/certfy?style=flat-square\" alt=\"NPM downloads\" /\u003e\r\n\u003c/a\u003e\r\n\u003c/div\u003e\r\n\r\n\u003e [!WARNING]\r\n\u003e This project is under development and is not yet ready for use.\r\n\r\n## 🌱 Overview\r\n\r\nThis library is designed to facilitate the generation of certificates using the Let's Encrypt API.\r\n\r\n## ✨ Features\r\n\r\n- [x] Create a new certificate\r\n- [x] Renew a certificate\r\n- [x] Revoke a certificate\r\n- [ ] Support for wildcard domains\r\n- [ ] Scheduled certificate renewal\r\n\r\n## 🚀 Tecnologies\r\n\r\nThe following tools were used in the construction of the project:\r\n\r\n- [Node.js](https://nodejs.org/en/)\r\n- [TypeScript](https://www.typescriptlang.org/)\r\n- [Node-Forge](https://www.npmjs.com/package/node-forge)\r\n\r\n## 📦 Install\r\n\r\nUse the package manager [npm](https://docs.npmjs.com/),\r\n[yarn](https://classic.yarnpkg.com/lang/en/docs/).\r\n\r\n```bash\r\nnpm install @geisonjr/certfy\r\n```\r\n\r\n```bash\r\nyarn add @geisonjr/certfy\r\n```\r\n\r\n## 🏗️ Usage\r\n\r\n### Environment Variables\r\n\r\n\u003e [!TIP]\r\n\u003e You can use the `.env` file to set the environment variables.\r\n\u003e\r\n\u003e - `CERTFY_DIR`: The path where the certificates will be saved.\r\n\r\n```bash\r\nCERTFY_DIR=/Users/\u003cusername\u003e/certificates\r\n# or\r\nCERTFY_DIR=C:\\Users\\\u003cusername\u003e\\certificates\r\n# or\r\nCERTFY_DIR=./certificates\r\n```\r\n\r\n### Example\r\n\r\n```typescript\r\nimport { Certificate } from \"@geisonjr/certfy\";\r\n\r\nconst cert = new Certificate();\r\n\r\n// Create a new certificate\r\nawait cert.obtain({\r\n\tdomains: [\"www.example.com\", \"example.com\"],\r\n\temail: [\"username@example.com\"], // Optional\r\n});\r\n\r\n// Renew a certificate\r\nawait cert.renew({\r\n\tdomains: [\"www.example.com\", \"example.com\"],\r\n\temail: [\"username@example.com\"], // Optional\r\n  force: true, // Optional\r\n  revoke: true, // Optional\r\n  reason: REASON.unspecified, // Optional\r\n});\r\n\r\n// Revoke a certificate\r\nconst certificate: string = \"-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----\";\r\nconst privateKey: string = \"-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----\";\r\n\r\nawait cert.revoke(certificate, privateKey, {\r\n  reason: REASON.unspecified, // Optional\r\n});\r\n```\r\n\r\n#### Can you see a complete example [here](./example/index.ts), to run the example use the following commands:\r\n\r\n```bash\r\nnpm run example\r\n```\r\n\r\n```bash\r\nyarn example\r\n```\r\n\r\n## 📚 References\r\n\r\n- [Let's Encrypt](https://letsencrypt.org/docs)\r\n- [ACME Protocol](https://tools.ietf.org/html/rfc8555)\r\n\r\n## 📋 License\r\n\r\nThis project is under the\r\n[MIT License](https://github.com/geisonjr/certfy/blob/master/LICENSE)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeisonjr%2Fcertfy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeisonjr%2Fcertfy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeisonjr%2Fcertfy/lists"}