All Projects → CleanTalk → ruby-antispam

CleanTalk / ruby-antispam

Licence: other
API to have CleanTalk anti-spam on Ruby

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to ruby-antispam

bitrix-antispam
1C Bitrix anti-spam mod.
Stars: ✭ 10 (-37.5%)
Mutual labels:  anti-spam, spam-protection, antispam, spam-filtering
joomla2.x-antispam
Anti-spam plugin for Joomla 2.x
Stars: ✭ 10 (-37.5%)
Mutual labels:  anti-spam, spam-protection, antispam, spam-filtering
spamtoberfest
Fight against PR spammers
Stars: ✭ 51 (+218.75%)
Mutual labels:  anti-spam, antispam, spam-filtering
mediawiki-antispam
Antispam extension for MediaWiki.
Stars: ✭ 15 (-6.25%)
Mutual labels:  anti-spam, spam-protection, antispam
blogspam-api
Implementation of the blogspam.net server in golang
Stars: ✭ 22 (+37.5%)
Mutual labels:  spam-protection, spam-filtering
ChatControl-Pro
The ultimate chat solution. Prevent spam, ads, swears and even bots on your server. Replaced by ChatControl Red: https://mineacademy.org/chatcontrol-red
Stars: ✭ 65 (+306.25%)
Mutual labels:  anti-spam, antispam
PoW-Shield
Project dedicated to fight Layer 7 DDoS with proof of work, featuring an additional WAF. Completed with full set of features and containerized for rapid and lightweight deployment.
Stars: ✭ 99 (+518.75%)
Mutual labels:  spam-protection, spam-filtering
v3
E.F.A version 3.x.x.x
Stars: ✭ 38 (+137.5%)
Mutual labels:  spam-protection, spam-filtering
antispam-it
lists to spam a lot of rubbish ... hand-curated to fight spammers harassing poor italian (domain.it) mailboxes #spamrevenge
Stars: ✭ 15 (-6.25%)
Mutual labels:  antispam, spam-filtering
ChineseSensitiveVocabulary
暴恐违禁 文本色情 政治敏感 恶意推广 低俗辱骂
Stars: ✭ 53 (+231.25%)
Mutual labels:  anti-spam, antispam
TLG AntiJoin2SpamBot
Telegram Bot that figths against Spammers who join groups to publish their annoying and unwanted info. The Bot will watch for all new users that join the group and don't let them to publish messages that contains URLs until they have been in the group long as an specific time, and they have written an enough number of messages (configurable).
Stars: ✭ 16 (+0%)
Mutual labels:  anti-spam, antispam
caldera-forms-anti-spam
Caldera Forms Anti Spam WordPress plugin. This adds Google's reCAPTCHA field to your Caldera Form.
Stars: ✭ 24 (+50%)
Mutual labels:  anti-spam, antispam
flood-protection
Flood protection for realtime applications
Stars: ✭ 19 (+18.75%)
Mutual labels:  anti-spam, spam-protection
tgGuard
frist antispam and group moderator TeleGram bot with fast speed, high power and low space
Stars: ✭ 22 (+37.5%)
Mutual labels:  anti-spam, antispam
stop-spammers
Stop Spammers — WordPress Plugin
Stars: ✭ 31 (+93.75%)
Mutual labels:  spam-protection, spam-filtering
Nginx Ultimate Bad Bot Blocker
Nginx Block Bad Bots, Spam Referrer Blocker, Vulnerability Scanners, User-Agents, Malware, Adware, Ransomware, Malicious Sites, with anti-DDOS, Wordpress Theme Detector Blocking and Fail2Ban Jail for Repeat Offenders
Stars: ✭ 2,351 (+14593.75%)
Mutual labels:  spam-protection, spam-filtering
php-antispam
A PHP API for antispam service cleantalk.org. Invisible protection from spam, no captches, no puzzles, no animals and no math.
Stars: ✭ 50 (+212.5%)
Mutual labels:  spam-protection, antispam
Stop.Google.Analytics.Ghost.Spam.HOWTO
How to stop Google Analytics "Ghost" Spam using a well curated list of spam referrer domains and web sites. Simple and easy to use with instructions for creating Segments in Google Analytics using our google-exclude files.
Stars: ✭ 21 (+31.25%)
Mutual labels:  spam-protection, spam-filtering
Raid-Protect-Discord-Bot
A Discord Bot that allows you to protect your Discord server with captcha, anti profanity, anti nudity image, anti spam, account age required, logs...
Stars: ✭ 182 (+1037.5%)
Mutual labels:  anti-spam, antispam
yform spam protection
Addon für REDAXO 5, das effektiv Anfragen von Spambots blockiert – ganz ohne Captcha!
Stars: ✭ 34 (+112.5%)
Mutual labels:  spam-protection

ruby-cleantalk

API to have CleanTalk anti-spam on Ruby

Install

Install via bundler

gem 'cleantalk'

Usage

require 'cleantalk'

# Create a check_newuser request
request = Cleantalk::CheckNewuser.new({ auth_key: 'ur_api_key', sender_email: '[email protected]' }) # Can initialize with values
request.sender_ip       = '127.0.0.1' # and also mutate object directly
request.sender_nickname = 'test nickname'
request.js_on           = 1 # you should check for JavaScript by yourself
request.submit_time     = 11 # you should calculate time for submitting form by youself

request.allowed? # => true or false
request.result   # => <Object Cleantalk::CheckNewuserResult> with all response data

# Create a check_message request
request = Cleantalk::CheckMessage.new({
  auth_key: 'ur_api_key', sender_email: '[email protected]',
  sender_ip: '127.0.0.1', sender_nickname: 'test nickname',
  js_on: 1, submit_time: 11
}) # Can initialize with values
request.message = '<p>Hello World!</p>'  # and also mutate object directly

request.allowed? # => true or false
request.result   # => <Object Cleantalk::CheckMessageResult> with all response data

# You can also pass auth_key has global configuration (still overridable by passing auth_key to request):
Cleantalk.auth_key = 'ur_api_key'

# Create a legacy request instance
request = Cleantalk::Request.new
request.auth_key        = 'your_key'
request.message         = 'test message' # don't use this field for registration check
request.sender_email    = '[email protected]'
request.sender_nickname = 'test nickname'
request.sender_ip       = '127.0.0.1'
request.js_on           = 1 # you should check for JavaScript by yourself
request.submit_time     = 11 # you should calculate time for submitting form by youself
request.sender_info     = {cms_lang: 'en_US'} # here put locale for your language

cleantalk = Cleantalk.new
result = cleantalk.is_allowed_message(request) # for message checking
result = cleantalk.is_allowed_user(request)    # for registration checking

# result['allow'] contains our decision: 1 for allowed message, 0 for blocked
# result['comment'] contains comment for our decision
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].