txtblk: A text blocker.

[ bsd3, library, text ] [ Propose Tags ]

This is a text blocker - it blocks sexual texts. It is intended for use in other contexts, such as an Andorid app or irssi extension.

[Skip to Readme]
Dependencies base (==4.7.*) [details]
License BSD-3-Clause
Author Peter Harpending
Maintainer pharpend2@gmail.com
Category Text
Source repo head: git clone https://github.com/pharpend/txtblk
Uploaded by pharpend at Wed May 7 05:41:14 UTC 2014
Distributions NixOS:
Executables txtblk
Downloads 997 total (12 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2015-06-10 [all 6 reports]
Hackage Matrix CI


Maintainer's Corner

For package maintainers and hackage trustees

Readme for txtblk-

[back to package description]


This is a ridiculously simple text blocker.

You can install it with cabal install txtblk. You should run cabal update beforehand to ensure that you have the latest version.

To use it, just run

txtblk "some string containing words"

It will check the words for curse words and print out a list of the dirty words. If there are no dirty words, then it will print []. Really simple.

It's not really intended for API usage, but there's no reason you couldn't use it for that purpose.

Boring stuff

txtblk is BSD-3 licensed. So, you can pretty much do whatever you want with it, as long as you credit me. See the LICENSE file for details.

If you have any questions, you can email me at <pharpend2@gmail.com>. The best way to contact me is via IRC - I am l0cust on FreeNode.