Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JohnRSim/jet-captcha
Oracle JET - Gamified captcha web component. Using JSEcoins bot detection algorithm.
https://github.com/JohnRSim/jet-captcha
captcha captcha-alternative jet oracle oracle-jet oraclejet web-component
Last synced: about 1 month ago
JSON representation
Oracle JET - Gamified captcha web component. Using JSEcoins bot detection algorithm.
- Host: GitHub
- URL: https://github.com/JohnRSim/jet-captcha
- Owner: JohnRSim
- License: gpl-3.0
- Created: 2019-08-10T12:55:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T21:55:22.000Z (about 2 years ago)
- Last Synced: 2024-08-03T20:02:59.747Z (5 months ago)
- Topics: captcha, captcha-alternative, jet, oracle, oracle-jet, oraclejet, web-component
- Language: JavaScript
- Homepage:
- Size: 354 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.md
- License: LICENSE
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
- awesome-jet - JET-Captcha - Alternative Captcha solution that enables support for automated bot detection via gamified UI. By [@JRSim_UIX](https://twitter.com/JRSim_UIX). (Awesome Oracle JavaScript Extension Toolkit (JET) [![Awesome](https://awesome.re/badge.svg)](https://awesome.re) / UI Components)
README
# JET/JSE Captcha
**[JSECOIN](https://jsecoin.com/)** [THE FUTURE BLOCKCHAIN & ECOSYSTEM FOR ECOMMERCE AND DIGITAL ADVERTISING]
## WARNING
We are still working on the interface and know there are still a number of bugs and cross browser issues - please be patient..
## Overview
JET-Captcha is a webcomponent designed to be used with other Oracle JET projects - and provides first level of defence against automated bot requests.JSEcoin servers provides the endpoint to query against to confirm the likelyhood of an automated request.
## Server-side Verification
It 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:```
https://api.jsecoin.com/captcha/check/:ipAddress/
```## Demo
[JSE Captcha Demo](https://jsecoin.com/iCaptcha/).## Technology:
The 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.### DOM
```html```
## Attributes
- **size** controls the UI display
- 'S' - Small
- 'M' - Medium
- 'L' - Large
- **theme** available themes
- '' - dropshadow popup theme
- 'flat' - flat simple theme
- **captchaServer** only used by devs for testing tweaking server side algorithms.
- url of server (https://load.jsecoin.com)
- **debug** only used by devs for testing tweaking server side algorithms.
- false - Production
- true - Disable interactive options
- **on-failed-captcha** - Emitted if user passes captcha bot detection tests.
- **on-passed-captcha** - Emitted if user fails captcha bot detection tests.## Event Response (JSON)
#### Success
```json
{"rating":87,"pass":true, "ip":"148.252.129.187"}
```#### Fail
```json
{"rating":0,"pass":false, "ip":"148.252.129.187"}
```## Developers
### Quickstart1. Install [Node.js](https://nodejs.org) v8.0.0 or higher.
2. Clone this repository: `git clone https://github.com/JohnRSim/jet-captcha`
3. Install dependencies `npm install`
4. launch sample project `ojet serve`## JET-composite location
[/src/js/jet-composites/jet-captcha](https://github.com/JohnRSim/jet-captcha/tree/master/src/js/jet-composites/jet-captcha).## Contribute
If you'd like to assist and help the team please first review our [Contribution Guidelines](./CONTRIBUTING.md).## License
This project is under the [GNU General Public License v3.0](./LICENSE.md).