Skip to content

clojure-tw/telegram-bot-clojuretwbot

Repository files navigation

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 <[email protected]>

Copyright © 2016 Yen-Chin, Lee <[email protected]>

Distributed under the GPLv3 or any later version.