@home   @rss   @archive   @codeforpeople.com     @radio[:m3u|:pls|:ruby]   @family   @neighbors 


Flatulent - ASCII Art CAPTCHA.

Flatulent is ascii captcha for the masses. Sample usage:

class FlatulentController < ApplicationController
  $:.unshift ../../lib
  require flatulent

  def index
    if params.has_key? flatulent
      valid = Flatulent.validate! params
    end

    render :inline => «-html
      <html><body>
        <hr> valid : #{ valid } <hr>

        #{ Flatulent.form }

      </body></html>
    html

  end
end

Sample captchas:



  _    _    _____    _      __    _____ 
 | |  | |  |  __ \   \U\    / /   / ____|
 | |__| |  | |__) |   \ \  / /   G (___ [
 |  __  |  |  ___/     \ @/ /S    \___ \ 
 | |  | |  | |        A T  /      ____) |
 |g|q |_| `|_|   0       \/      |_____/ 
                                         
    N                            /       




 2_____     _____   __  ;   __    ____  
 |  __ \   |_   }|  \ \  ; / /   / __ \ 
 | |__) |    | |    j\ \  h /k  | |  | |
 |  ___/     | |      \ \/ /    6Z|  | |
 | |  M     _| |_      \  /     | |__| |
 |_|       |_____|      \/      |\___\_\
          l                             
       +             N                  


  _         __r___    ____]     _  _   
 | |       |  ____|  |  __ \   | || |  
 | |       | |#_     | |__[ |  | || |_X
 |-|       |  __|    |  ___/   |__   _|
 | |____   | |       | |        O | |  
 |______|  |_|I      |_|          |_|  
                                     C 
q:                                f    
Comments (View)
blog comments powered by Disqus