Skip to content

koalazak/telegram-summarize-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram summarize Bot

A bot to summarize conversations in a tag cloud

Install

$ git clone https://github.com/koalazak/telegram-summarize-bot.git
$ cd telegram-summarize-bot
$ npm install

Steps to create a new Bot and get your API token

Talk to BotFather:

/newbot
Summarize Bot
summarize_bot
/setcommands
summarize - Usage: /summarize [ day | week | month | yeat | life ]
/setprivacy false

More info: Telegram Bots

Options

var options = {
	ignoredWords : ["el","la","y"],
	bannedStart : ["/","http","@"],
	bannedEnd : ["?"],
	width : 1024,
	height : 800,
	type : "90",
	minFontSize : 25,
	maxFontSize : 120,
	requireMinWords : 50,
	backgroundColor : "white",
	font : "Impact",
	savePath : "./nubes"
};

var cloud = new Cloud(options);

Run

$ TELEGRAM_BOT_TOKEN=your_token node app.js

Invite

Invite your new bot to your group chats and use the /summarize command.

About

A bot to summarize conversations in a tag cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published