Neoclassical Piano Montage
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    homosapienpublic

    homosapien

    Authentication Security: Simple Human Cognition Easily Beats Out Automated Graphic Image Detection

    Challenge Generation Utility

    A new utility has been added to generate the YAML input file for your Node.js server. It is set to automatically create a file of 70,000+ unique text based prompts. Each one is simple and clear for humans to correctly answer, yet extremely difficult for bots.

    Go to challenges directory and execute the following file:

    gen_challenges.js
    

    It will create another file:

    homosapien_challenges.yml
    

    Copy this file (and rename if necessary) into your Node.js app directory structure, which will read into memory to be used to create the prompt for the UI in the client front end.

    Refer to apptest.js to understand how to use the generated YAML file.

    Have fun!

    2014-04-27

    Gerry Gold

    P.S. Additional documentation will be forthcoming; for now, please read the source code. :)

    install

    npm i homosapien

    Downloadsweekly downloads

    32

    version

    0.6.3

    license

    MIT

    last publish

    collaborators

    • avatar