Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
markov chain text generator off a couchbase view
Clojure JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
resources
src/marky
.gitignore
README.md
project.clj

README.md

marky is a nonsensical tweet bot that leverages Couchbase

Looks for a marky-config.clj file in current directory.

Sample:

{:bucket "default"
 :pass ""
 :cburl "http://localhost:8091/"
 :twitter {:app-key "XXXXXXXXX"
           :app-secret "XXXXXXXXXX"
           :user-token "XXXXXXXX"
           :user-secret "XXXXXXXX"}
 :jobs
 [; :period, :after is in seconds, :ttl is in days.
  {:type :twitter :user "damienkatz" :period 3600 :ttl 60}
  {:type :twitter :user "apage43" :period 3600 :ttl 60}
  {:type :send-tweet :period 3600 :after 600}
  {:type :atom :url "http://damienkatz.net/rss.php" :period 86400 :ttl 60}]}

Run the bot process

$ lein run -m marky.app

or with the standalone JAR (see downloads)

$ java -jar marky-version-standalone.jar
Something went wrong with that request. Please try again.