A continuously-updated, managed database of profanity and slurs — delivered as an API, Python/Node package, or Linux library. Like IDS signatures, but for swearing. We’re building it now.
import slurdb
db = slurdb.Client(api_key="sk_live_...")
text = "This is a normal message"# Check if text contains profanity or slurs
if db.check(text):
print("✅ Clean")
else:
print("❌ Contains bad words")
# Clean the text (replace bad words)
clean_text = db.clean(text)
print(clean_text)
const slurdb = require('slurdb');
const db = new slurdb.Client({ apiKey: 'sk_live_...' });
const text = "This is a normal message";
// Check if text contains profanity or slursconst isClean = await db.check(text);
if (isClean) {
console.log("✅ Clean");
} else {
console.log("❌ Contains bad words");
}
// Clean the textconst cleanText = await db.clean(text);
console.log(cleanText);
# After installing the slurdb daemon
apt install slurdb-daemon
systemctl enable --now slurdb
# Check a string
echo "This is a normal message" | slurdb-check
# Or check a variable
text="This is a normal message"
if slurdb-check "$text"; then
echo "✅ Clean"
else
echo "❌ Contains bad words"
fi
142k+
terms planned
38
languages targeted
<8ms
target API latency
What’s planned
SIG
Always up to date
New slurs and evasion spellings pushed automatically. Every term carries a severity rating and category tags so you decide what to block.
INTL
Multilingual
38 languages with transliteration and unicode lookalike matching built in.
REF
Lookup & reference
Browse and search the full database without writing a line of code. Useful for researchers, content moderators, and DotA players seeking inspiration.
LIB
Works everywhere
Python, Node, Go packages. Linux shared lib + systemd daemon. REST API for everything else.
Pricing
📅Pricing is still being figured out, but here are the currently proposed plans. Join the waitlist and you’ll get early access pricing.