Clojure library to query Akismet
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

akismet -- A Clojure library for the Akismet API

Akismet filters out your comment and track-back spam for you, so you can focus on more important things.

This library provides a Clojure interface to use Akismet as part of your blog application. If you're using Ring, a wrap-akismet middleware is provided to automagically submit requests to Akismet.


A few functions are provided:

Sample use:

(use 'akismet)

(binding [*akismet-key* "123123YourApiKey"
          *akismet-blog* ""]
  (spam? {:user_ip ""
          :user_agent "foo bar"
          :referrer ""
          :permalink ""
          :comment_type "comment"
          :comment_author "skuro"
          :comment_author_email ""
          :comment_author_url ""
          :comment_content "Free viagra!"}


  • Write some tests

  • Fix the wrap-akismet middleware to extract meaningful parameters from the request before calling Akismet

  • Move to an async HTTP client library to avoid busy waits on Akismet calls


Copyright (C) 2011 Carlo Sciolla

Distributed under the Eclipse Public License, the same as Clojure.