Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/couchbaselabs/marky
markov chain text generator off a couchbase view
https://github.com/couchbaselabs/marky
Last synced: 2 days ago
JSON representation
markov chain text generator off a couchbase view
- Host: GitHub
- URL: https://github.com/couchbaselabs/marky
- Owner: couchbaselabs
- Created: 2012-11-09T23:58:34.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-12T22:40:27.000Z (about 12 years ago)
- Last Synced: 2024-04-12T16:19:15.476Z (9 months ago)
- Language: Clojure
- Size: 120 KB
- Stars: 4
- Watchers: 157
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# marky is a nonsensical tweet bot that leverages Couchbase
Looks for a marky-config.clj file in current directory.
Sample:
```clojure
{: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