{"id":51490151,"url":"https://github.com/codesuab/verifyjs","last_synced_at":"2026-07-07T11:00:53.097Z","repository":{"id":280253822,"uuid":"941427218","full_name":"codesuab/verifyJS","owner":"codesuab","description":"Go to Source","archived":false,"fork":false,"pushed_at":"2026-05-23T19:55:29.000Z","size":52,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-23T21:20:50.806Z","etag":null,"topics":["captcah","security","security-tools","to-factor","website-security"],"latest_commit_sha":null,"homepage":"https://codesuab.github.io/verifyJS/","language":"HTML","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/codesuab.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-02T09:09:12.000Z","updated_at":"2026-05-23T19:55:33.000Z","dependencies_parsed_at":"2025-03-02T10:22:34.622Z","dependency_job_id":"351bdd96-5a40-4cde-be01-45f5b9eb5e22","html_url":"https://github.com/codesuab/verifyJS","commit_stats":null,"previous_names":["sahab-uab/verifyjs","codesuab/verifyjs","codesuab-project/verifyjs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/codesuab/verifyJS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesuab%2FverifyJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesuab%2FverifyJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesuab%2FverifyJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesuab%2FverifyJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codesuab","download_url":"https://codeload.github.com/codesuab/verifyJS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesuab%2FverifyJS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35225029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-07T02:00:07.222Z","response_time":90,"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":["captcah","security","security-tools","to-factor","website-security"],"created_at":"2026-07-07T11:00:52.168Z","updated_at":"2026-07-07T11:00:53.088Z","avatar_url":"https://github.com/codesuab.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VerifyJS - Simple JavaScript CAPTCHA System\n\n## Overview\n\n**VerifyJS** is a lightweight, customizable JavaScript-based CAPTCHA system that helps prevent automated bot interactions on web forms. It generates random CAPTCHA images that users must solve to verify their human identity.\n\n## Features\n\n- ✅ Customizable CAPTCHA settings (digits, uppercase, special characters)\n- 🔄 Refresh button to generate a new CAPTCHA\n- 🎨 Adjustable CAPTCHA image size\n- 📜 Simple validation method\n- 🛡️ Prevents bots from automated form submissions\n\n## Demo\n\nCheck out a live demo: [Click for demo](https://codesuab.github.io/verifyJS/)\n\n## Installation\n\n1. Clone the repository or download the files:\n   ```sh\n   git clone https://github.com/codesuab/verifyjs.git\n   ```\n2. Include the JavaScript file in your HTML:\n   ```html\n   \u003cscript src=\"core/verify.js\"\u003e\u003c/script\u003e\n   ```\n3. Or include the minified JavaScript file in your HTML:\n   ```html\n   \u003cscript src=\"core/verify.min.js\"\u003e\u003c/script\u003e\n   ```\n\n## Usage\n\n### 1. HTML Structure\n\nInclude the following code in your HTML file:\n\n```html\n\u003cdiv id=\"captchaForm\"\u003e\n  \u003cdiv class=\"captchawraper\"\u003e\n    \u003cimg id=\"captcha\" width=\"200\" height=\"50\" alt=\"CAPTCHA\" /\u003e\n  \u003c/div\u003e\n  \u003cdiv class=\"fild\"\u003e\n    \u003cinput type=\"text\" id=\"captchaInput\" required /\u003e\n    \u003cbutton type=\"button\" onclick=\"captchaRefresh()\"\u003eRefresh\u003c/button\u003e\n  \u003c/div\u003e\n  \u003cbutton onclick=\"validate()\"\u003eSubmit\u003c/button\u003e\n\u003c/div\u003e\n```\n\n### 2. JavaScript Configuration\n\nConfigure VerifyJS in your script:\n\n```js\n// Configure VerifyJS\nverifyJS({\n  totalDigit: 4,        // Number of characters in CAPTCHA\n  number: true,         // Allow numbers\n  uppercase: false,     // Disable uppercase letters\n  specialsCharacter: false, // Disable special characters\n  width: 140,           // CAPTCHA image width\n  height: 50,           // CAPTCHA image height\n}).vJSConfig();\n\n// Set image on page load\nwindow.onload = () =\u003e {\n  verifyJS().vJSImgSrc(\"#captcha\");\n};\n\n// Refresh CAPTCHA image\nfunction captchaRefresh() {\n  verifyJS().vJSImgRefreshSrc(\"#captcha\");\n}\n\n// Validate CAPTCHA input\nfunction validate() {\n  const captchaField = document.getElementById(\"captchaInput\").value;\n  let status = verifyJS().vJSCheck(captchaField);\n  if (status) {\n    alert(\"You passed the CAPTCHA!\");\n  } else {\n    alert(\"Sorry, try again!\");\n  }\n}\n```\n\n## Customization Options\n\nModify these settings to customize your CAPTCHA:\n\n| Option              | Description                         | Default |\n| ------------------- | ----------------------------------- | ------- |\n| `totalDigit`        | Number of characters in the CAPTCHA | `6`     |\n| `number`            | Include numbers in CAPTCHA          | `true`  |\n| `uppercase`         | Include uppercase letters           | `true` |\n| `specialsCharacter` | Include special characters          | `true` |\n| `width`             | Width of CAPTCHA image              | `200`   |\n| `height`            | Height of CAPTCHA image             | `50`    |\n\n## Contributing\n\nIf you'd like to improve VerifyJS, feel free to fork the repository and submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\n⭐ **Star this repo if you found it useful!** ⭐\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesuab%2Fverifyjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesuab%2Fverifyjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesuab%2Fverifyjs/lists"}