TL;DR bot for Telegram
This is my attempt to write Telegram bot in Go. TL;DR stands for "Too long; didn't read" if you're wondering.
Typical workflow:
- This bot is invited to some chat
- Someone sends a link to article
- Bot intercepts this message (don't worry, it skips all other messages)
- Bot retrieves the page that the link points too
- Bot tries to find main content area of that page
- Bot extracts most meaningful phrases from that article
- Bot then proceeds to publish this chewed content as a message to the chat where link appeared
- TLDR text summarizer (MIT License)
- Html Content / Article Extractor (Apache License 2.0)
Copyright (C) 2016 Oleg Chernovskiy
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.