{"id":17491785,"url":"https://github.com/wille-io/deno-acme","last_synced_at":"2025-04-22T20:14:05.928Z","repository":{"id":178656488,"uuid":"662140322","full_name":"wille-io/deno-acme","owner":"wille-io","description":"Get certificates for your domains and subdomains via http or dns challenges from an acme server.","archived":false,"fork":false,"pushed_at":"2024-10-04T20:55:19.000Z","size":79,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T20:13:57.505Z","etag":null,"topics":["acme","acme-client","acme-dns","acme-http","acme-v2","cloudflare","cloudflare-dns","cloudflare-dns-api","cloudflare-dns-challenge","deno","dns-01","dns-01-acme-challenge","dns-01-challenge","http-01","https","tls","tls-certificate","tls-certificates"],"latest_commit_sha":null,"homepage":"https://deno.land/x/acme","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/wille-io.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":"2023-07-04T12:47:57.000Z","updated_at":"2025-04-05T17:15:12.000Z","dependencies_parsed_at":"2024-07-15T23:34:30.100Z","dependency_job_id":"456ecee4-ee54-4f71-92e5-3e7123f1ebc9","html_url":"https://github.com/wille-io/deno-acme","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"1105a53554de7b2c7bf09065ce6c9fc830c0b5b1"},"previous_names":["wille-io/deno-acme"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille-io%2Fdeno-acme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille-io%2Fdeno-acme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille-io%2Fdeno-acme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille-io%2Fdeno-acme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wille-io","download_url":"https://codeload.github.com/wille-io/deno-acme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250316058,"owners_count":21410476,"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","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","acme-dns","acme-http","acme-v2","cloudflare","cloudflare-dns","cloudflare-dns-api","cloudflare-dns-challenge","deno","dns-01","dns-01-acme-challenge","dns-01-challenge","http-01","https","tls","tls-certificate","tls-certificates"],"created_at":"2024-10-19T08:04:58.302Z","updated_at":"2025-04-22T20:14:05.907Z","avatar_url":"https://github.com/wille-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deno-acme\n[![Latest version](https://deno.land/badge/acme/version)](https://deno.land/x/acme)\n\nGet certificates for your domains and or your domains their subdomains from an acme server.\nSupports http-01 challenges and dns-01 challenges with domains hosted with Cloudflare's DNS server.\nUse the CLI as a standalone acme client, or use the acme.ts library to use it in your own application.\n\n## Prerequisites for HTTP challenge\n- Port 80 needs to be available on the maschine running the acme cli or ...\n- (optional) Port 80 needs to be forwarded to the maschine running the acme cli\n- The requested domain name(s) need to point the IP address of the maschine running the acme cli\n\n## Prerequisites for Cloudflare DNS challenge\n- Domain and / or subdomain(s) with nameservers pointing to Cloudflare\n- Cloudflare API token with edit privileges for the given domain(s) / subdomain(s) DNS zone\n\n## CLI\nHow to get \u0026 use the CLI:\n```bash\nsudo deno install -A --name acme --root /usr/local/ https://deno.land/x/acme@v0.4.1/cli.ts\n# http challenge:\nsudo acme http example.com,subdomain.example.com\n# cloudflare dns challenge:\nacme cloudflare example.com,subdomain.example.com\n```\nNote: For http challenges permissions to bind to port 80 are needed. Otherwise use the root user or use `sudo` - like in the example above.\n\n## Library\nTo use acme as a library in your application, add the following (minimal example with temporary \u0026 anonymous acme account creation):\n```typescript\nimport * as ACME from \"https://deno.land/x/acme@v0.4.1/acme.ts\"\n\n// http challenge:\nconst { domainCertificates } = await ACME.getCertificatesWithHttp(\"example.com\");\nconsole.log(domainCertificates);\n\n// cloudflare dns challenge:\nconst cloudflareToken = Deno.env.get(\"CLOUDFLARE_TOKEN\");\nconst { domainCertificates } = await ACME.getCertificatesWithCloudflare(cloudflareToken, \"example.com\");\nconsole.log(domainCertificates);\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwille-io%2Fdeno-acme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwille-io%2Fdeno-acme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwille-io%2Fdeno-acme/lists"}