Crystal library that generates image CAPTCHAs, use numbers.
All credits goes to @yanecc
For how to use this shard, check the sisiter shard captcha.
These two libraries should be interchangeable without the need to change you code.
The different is:
- SimpleCaptcha has no external dependencies other than Crystal,so, you can built static binary (if this is your's need)
- this shard captcha code only support number.
-
Add the dependency to your
shard.yml
:dependencies: simple_captcha: github: crystal-china/simple_captcha
-
require "simple_captcha"
- Fork it (https://github.com/crystal-china/simple_captcha/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Sunrise - creator and maintainer
- Billy.Zheng - maintainer