{"id":13787407,"url":"https://github.com/JohnRSim/jet-captcha","last_synced_at":"2025-05-12T00:31:00.849Z","repository":{"id":41775510,"uuid":"201630237","full_name":"JohnRSim/jet-captcha","owner":"JohnRSim","description":"Oracle JET - Gamified captcha web component. Using JSEcoins bot detection algorithm.","archived":false,"fork":false,"pushed_at":"2022-12-09T21:55:22.000Z","size":363,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-18T00:37:26.457Z","etag":null,"topics":["captcha","captcha-alternative","jet","oracle","oracle-jet","oraclejet","web-component"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohnRSim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-10T12:55:05.000Z","updated_at":"2022-05-14T23:08:04.000Z","dependencies_parsed_at":"2023-01-25T23:45:58.274Z","dependency_job_id":null,"html_url":"https://github.com/JohnRSim/jet-captcha","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnRSim%2Fjet-captcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnRSim%2Fjet-captcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnRSim%2Fjet-captcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnRSim%2Fjet-captcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnRSim","download_url":"https://codeload.github.com/JohnRSim/jet-captcha/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253655802,"owners_count":21943068,"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":["captcha","captcha-alternative","jet","oracle","oracle-jet","oraclejet","web-component"],"created_at":"2024-08-03T20:00:34.015Z","updated_at":"2025-05-12T00:30:58.543Z","avatar_url":"https://github.com/JohnRSim.png","language":"JavaScript","funding_links":[],"categories":["Awesome Oracle JavaScript Extension Toolkit (JET) [![Awesome](https://awesome.re/badge.svg)](https://awesome.re)"],"sub_categories":["UI Components"],"readme":"# JET/JSE Captcha\n\n**[JSECOIN](https://jsecoin.com/)** [THE FUTURE BLOCKCHAIN \u0026 ECOSYSTEM FOR ECOMMERCE AND DIGITAL ADVERTISING]\n\n## WARNING\n\nWe are still working on the interface and know there are still a number of bugs and cross browser issues - please be patient..\n\n## Overview\nJET-Captcha is a webcomponent designed to be used with other Oracle JET projects - and provides first level of defence against automated bot requests.\n\nJSEcoin servers provides the endpoint to query against to confirm the likelyhood of an automated request.\n\n\n## Server-side Verification\nIt is essential that you also check the captcha has been completed using server-side code to protect your endpoints. We do this using the clients IP address (IPV4) and the following URL: \n\n```\nhttps://api.jsecoin.com/captcha/check/:ipAddress/\n```\n\n## Demo\n[JSE Captcha Demo](https://jsecoin.com/iCaptcha/).\n\n## Technology:\nThe webcomponent is a JET component that incorporates a Svelte JS amd compatible library https://github.com/JSEcoin/captcha which is used to build the interface.\n\n### DOM\n```html\n\u003cjet-captcha size=\"S\" debug=\"true\" theme=\"flat\" captcha-server=\"\" on-failed-captcha=\"[[fail]]\" on-passed-captcha=\"[[success]]\"\u003e\u003c/jet-captcha\u003e\n```\n\n## Attributes\n\n- **size** controls the UI display\n  - 'S' - Small\n  - 'M' - Medium\n  - 'L' - Large\n- **theme** available themes\n  - '' - dropshadow popup theme\n  - 'flat' - flat simple theme\n- **captchaServer** only used by devs for testing tweaking server side algorithms.\n  - url of server (https://load.jsecoin.com)\n- **debug** only used by devs for testing tweaking server side algorithms.\n  - false - Production\n  - true - Disable interactive options\n- **on-failed-captcha** - Emitted if user passes captcha bot detection tests.\n- **on-passed-captcha** - Emitted if user fails captcha bot detection tests.\n\n## Event Response (JSON)\n\n#### Success\n```json\n{\"rating\":87,\"pass\":true, \"ip\":\"148.252.129.187\"}\n```\n\n#### Fail\n```json\n{\"rating\":0,\"pass\":false, \"ip\":\"148.252.129.187\"}\n```\n\n## Developers\n### Quickstart\n\n1. Install [Node.js](https://nodejs.org) v8.0.0 or higher.\n2. Clone this repository: `git clone https://github.com/JohnRSim/jet-captcha`\n3. Install dependencies `npm install`\n4. launch sample project `ojet serve`\n\n## JET-composite location\n[/src/js/jet-composites/jet-captcha](https://github.com/JohnRSim/jet-captcha/tree/master/src/js/jet-composites/jet-captcha).\n\n\n## Contribute\nIf you'd like to assist and help the team please first review our [Contribution Guidelines](./CONTRIBUTING.md).\n\n## License\nThis project is under the [GNU General Public License v3.0](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJohnRSim%2Fjet-captcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJohnRSim%2Fjet-captcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJohnRSim%2Fjet-captcha/lists"}