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]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,
Dependencies base (>=4.7 && <4.8) [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 2014-05-07T05:41:14Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables txtblk
Downloads 2243 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2015-06-10 [all 6 reports]

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.