/dokky-telegram-bot

Send me office document and I'll show you its content in Telegram

Primary LanguageGoMIT LicenseMIT

dokky-telegram-bot

dokky-telegram-bot

Install

First, follow install instructions for go-libreofficekit, then type this into your terminal:

$ apt-get install libmagic-dev
$ go get -u github.com/robotics-notes/dokky-telegram-bot

Usage

$ export TELEGRAM_BOT_TOKEN="your-bot-token-here"
$ $GOPATH/bin/dokky-telegram-bot
# Will print something like this:
# 2016/09/09 18:29:44 Started.
# 2016/09/09 18:29:44 LibreOfficeKit pool size: 1.
# 2016/09/09 18:29:44 Loaded LibreOfficeKit #1.
# 2016/09/09 18:29:45 Authorized on account DokkyBot.