{"id":30668182,"url":"https://github.com/queaxtra/captchaxt","last_synced_at":"2026-04-18T15:39:42.950Z","repository":{"id":196349604,"uuid":"695154113","full_name":"Queaxtra/captchaxt","owner":"Queaxtra","description":"A CAPTCHA module made for Discord bot projects.","archived":false,"fork":false,"pushed_at":"2023-09-24T12:06:34.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-31T23:22:55.761Z","etag":null,"topics":["captcha","captcha-easy","dc","discord","discord-bot","discord-module","module","npm","npm-module","simple-captcha"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/captchaxt","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/Queaxtra.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}},"created_at":"2023-09-22T13:25:05.000Z","updated_at":"2024-07-22T12:39:48.000Z","dependencies_parsed_at":"2023-09-24T17:47:20.317Z","dependency_job_id":null,"html_url":"https://github.com/Queaxtra/captchaxt","commit_stats":null,"previous_names":["queaxtra/captchaxt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Queaxtra/captchaxt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Queaxtra%2Fcaptchaxt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Queaxtra%2Fcaptchaxt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Queaxtra%2Fcaptchaxt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Queaxtra%2Fcaptchaxt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Queaxtra","download_url":"https://codeload.github.com/Queaxtra/captchaxt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Queaxtra%2Fcaptchaxt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31974951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["captcha","captcha-easy","dc","discord","discord-bot","discord-module","module","npm","npm-module","simple-captcha"],"created_at":"2025-08-31T23:09:55.014Z","updated_at":"2026-04-18T15:39:42.895Z","avatar_url":"https://github.com/Queaxtra.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n# captchaxt\r\n\r\nA CAPTCHA module made for Discord bot projects.\r\n\r\n\r\n## ✨ Updates\r\n\r\n- Canvas option has been added; with this option, you can turn the CAPTCHA codes you create into a picture and personalize them as you wish.\r\n- Minor bugs fixed.\r\n## 🛠 Installation\r\n\r\nYou can download the module using NPM or PNPM.\r\n\r\n`npm i captchaxt` | `pnpm i captchaxt`\r\n## 📁 Usage\r\n- Creating a simple CAPTCHA;\r\n\r\n```js\r\nconst captchaxt = require('captchaxt');\r\n\r\ncaptchaxt.createCaptcha({\r\n    length: 10,\r\n    type: 'string', // or number, default: string\r\n    uppercase: true,\r\n    canvasOptions: {\r\n        enabled: true,\r\n        textColor: 'white', // red, black, blue etc.\r\n        backgroundColor: 'transparent', // gray, red, green etc.\r\n        width: 1000,\r\n        height: 500\r\n    }\r\n}).then(buffer =\u003e {\r\n    console.log(buffer);\r\n});\r\n\r\n```\r\n![Image](https://cdn.discordapp.com/attachments/1136591322208272385/1155471961800061009/brave_SFzZKgtZA0.png)\r\n\r\n- Creating a simple math CAPTCHA.\r\n```js\r\nconst captchaxt = require('captchaxt');\r\n\r\ncaptchaxt.mathCaptcha({\r\n    level: \"easy\" // or medium, hard\r\n}).then(captcha =\u003e {\r\n    console.log(captcha);\r\n})\r\n```\r\n![Image](https://cdn.discordapp.com/attachments/1136591322208272385/1155472512667361351/brave_JpDgnwTuCq.png)\r\n\r\n- Creating a simple question-answer CAPTCHA.\r\n\r\n```js\r\nconst captchaxt = require('captchaxt');\r\n\r\ncaptchaxt.answerCaptcha().then(captcha =\u003e {\r\n    console.log(captcha);\r\n})\r\n```\r\n![Image](https://cdn.discordapp.com/attachments/1136591322208272385/1155473545925754970/brave_7d6MXS3VKE.png)\r\n## ✨ Note\r\nPlease contact us if you have encountered a bug or error.\r\nhttps://t.me/unoxdevs","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueaxtra%2Fcaptchaxt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqueaxtra%2Fcaptchaxt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueaxtra%2Fcaptchaxt/lists"}