{"id":15777253,"url":"https://github.com/healeycodes/captcha-api","last_synced_at":"2025-08-08T05:32:59.112Z","repository":{"id":44045802,"uuid":"220792182","full_name":"healeycodes/captcha-api","owner":"healeycodes","description":"🔒 An API for generating CAPTCHAs from scratch (Node.js)","archived":false,"fork":false,"pushed_at":"2023-01-24T00:45:06.000Z","size":349,"stargazers_count":3,"open_issues_count":17,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T17:34:47.073Z","etag":null,"topics":["canvas","captcha","captcha-generator","jest","nodejs"],"latest_commit_sha":null,"homepage":"https://healeycodes.com/javascript/webdev/node/tutorial/2019/11/11/lets-generate-captchas.html","language":"JavaScript","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/healeycodes.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-11-10T13:13:05.000Z","updated_at":"2022-10-30T19:09:21.000Z","dependencies_parsed_at":"2023-02-13T06:31:02.704Z","dependency_job_id":null,"html_url":"https://github.com/healeycodes/captcha-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/healeycodes/captcha-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Fcaptcha-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Fcaptcha-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Fcaptcha-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Fcaptcha-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/healeycodes","download_url":"https://codeload.github.com/healeycodes/captcha-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Fcaptcha-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269371263,"owners_count":24406265,"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-08-08T02:00:09.200Z","response_time":72,"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":["canvas","captcha","captcha-generator","jest","nodejs"],"created_at":"2024-10-04T17:43:20.360Z","updated_at":"2025-08-08T05:32:58.829Z","avatar_url":"https://github.com/healeycodes.png","language":"JavaScript","readme":"# CAPTCHA API ![](https://github.com/healeycodes/captcha-api/workflows/Node%20CI/badge.svg)\n\n\u003e My blog post: [Let's Build a CAPTCHA Generator with Node.js](https://healeycodes.com/javascript/webdev/node/tutorial/2019/11/11/lets-generate-captchas.html)\n\n\u003cbr\u003e\n\n🔒 Keep those nasty bots out with a home-grown CAPTCHA!\n\n![](https://github.com/healeycodes/captcha-api/blob/master/preview.jpg)\n\n\u003cbr\u003e\n\n### Install\n\n`npm i`\n\n### Run\n\n`npm start`\n\n### API\n\nAll routes default to 200x100 size unless specified.\n\n- `/test/:width?/:height?/`\n    - Get a web page with an image element to manually test the API.\n\n- `/captcha/:width?/:height?/`\n    - Get a CAPTCHA object for proper usage.\n    - `{ \"image\": \u003cdata url\u003e, \"text\": \u003cvalidation text\u003e }`\n\n### Test\n\nUses Jest to run integration tests.\n\n`npm test`\n\n\u003cbr\u003e\n\nn.b. CAPTCHAs are [not accessible](https://www.w3.org/TR/turingtest/) and in some cases not even effective.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Fcaptcha-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhealeycodes%2Fcaptcha-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Fcaptcha-api/lists"}