This is a barebone IRC client.
Requirements:
- Latest Google Chrome
- Firefox doesn’t work.
lein clean
lein deps
java -cp 'lib/*:src/' clojure.main src/start_server.clj
Wait 10 seconds. Then navigate to: http://localhost:3005/
Within a minute, you’ll see irc freenode server output. The client will automatically join irc://irc.freenode.org/#bot-testing. Type message in textbox to chat in channel.
If you don’t see any server output. Try refreshing the browser. Then PM the clj-powered-bot to cause server output.
Out of curiosity.
Here are some of the technologies I played around with:
- websockets
- clojure (and futures)
- lamina (like GO channels)
- aleph (serving http requests with channels)
- compojure (like django)
- hiccup (DSL for HTML)