A special telegram bot designed for clojure-tw group.
Clojure Shell HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docker
resources
screenshot
src/clojuretwbot
test/clojuretwbot/db
.gitignore
LICENSE
README.md
circle.yml
config.example.edn
deploy.sh fix push openshift error Apr 12, 2016
project.clj

README.md

clojuretwbot - A telegram bot for clojure.tw channel

Circle CI Dependencies Status License Stories in Ready

This is a special telegram bot designed for clojure.tw community.

What this bot do ?

  1. Fetch and send latest rss feed in: Planet Clojure to telegram.
  2. Fetch and send any news in Clojure Mailing-list which start with [ANN] to telegram.
  3. Fetch some Chinese/Taiwanese blog post about clojure/clojurescript

Screenshots

So you want to know what this bot do in real-life example, here's the screenshot:

Screenshot

Usage

We switch to use docker to host this bot on raspberry pi 2, you can add your docker-compose.xml file like below:

version: '2'
services:
  lein:
    build: ./docker
    container_name: lein
    restart: always
    volumes:
     - $PWD:/data
    environment:
      NODE_ENV: production
      TOKEN:    <YOUR TELEGRAM BOT TOKEN>
      CHAT_ID:  <YOUT TELEGRAM CHANNEL CHAT ID>
      DATABASE: <YOUR DATABASE FILE>

Then use docker-compose up -d to make this bot running on background.

For more info, please refer Docker Compose Doc

License

Copyright © 2016 Yu-Fu, Wu <wennynnewenny@gmail.com>

Copyright © 2016 Yen-Chin, Lee <coldnew.tw@gmail.com>

Distributed under the GPLv3 or any later version.