Project

spamcaster

0.0
No release in over 3 years
Low commit activity in last 3 years
A [Sinatra](https://sinatrarb.com/)-based web endpoint that accepts JSON payloads and fires off Slack notifications upon detection of spam.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

A Sinatra-based web endpoint that accepts JSON payloads and fires off Slack notifications upon detection of spam.

To install as a Ruby gem:

Open a terminal and type gem install spamcaster. Once installed, type spamcaster to invoke the command.

The Sinatra web framework should run, listening on the default port (4567). To test payloads, use an HTTP client to send POST requests passing the JSON payloads to the endpoint http://localhost:4567/api/v1/spamcheck

Payloads containing spam should trigger notifications to the Spamcaster channel of Dube Software's Slack workspace. Please request an invitation if you would like to test in this workspace. Alternatively, change the webhook URL in the parts_bin.rb file to point to your own Slack integration.