slacky
Memes-as-a-Service for Slack. Live instance and registration at https://slacky-server.herokuapp.com.
Demo
Installation
All ready for Heroku deployment. Requires the following buildpacks:
- https://github.com/heroku/heroku-buildpack-apt.git
- heroku/ruby
- heroku/clojure
Examples
The generic template is:
/meme search term | upper text | lower text
The search term can optionally include the keyword :anim
to search for animated images, e.g.
/meme :anim gandalf vs balrog | you shall not | pass!
You can provide an image to use by providing the url instead:
/meme http://path/to/image.jpg | upper text | lower text
Some pre-defined memes are also provided, documentation will follow shortly:
/meme create all the memes!
Build
Development
memecaptain gem
You will need:
Run ./install-memecaptain
to install the memecaptain binstub under bin/memecaptain
.
ClojureScript
Sources files are in resources/src/cljs
.
Run lein figwheel
for a live-reloading development environment. Once the homepage has been loaded
in a browser, the figwheel terminal will provide a REPL running inside the browser's Javascript engine.
Alternatively run (dev/cljs-repl)
to obtain a fresh CLJS REPL running inside the Clojure JVM, and type :cljs/quit
to exit it.
Run lein cljsbuild auto dev
to automatically build during development without figwheel.
To build for production use run lein cljsbuild once prod
.
Copyright © 2015 oliyh
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.