An implementation of redsee-filter and redsee-server to provide a REST API server for english profanity, email and url filtering.
npm install --production
REDIS_HOST=127.0.0.1 PORT=3000 node app.js
Build your whitelist (important!) and blacklists. Examples are provided within lists/
, see below for instructions on how to generate your own.
Generates words-whitelist.txt based on /usr/share/dict/words
and ignores any words contained within words-blacklist.txt. May require sudo rights for word access.
node scripts/builder.js
Inserts blacklist and whitelist words stored in list/
via API
URL=http://localhost:3000 node scripts/insert.js