elamperti / bastardbot

A bot to follow and interact with Google Hangouts conversations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BastardBot

Welcome to the bastardbot project

This bot connects to Google Hangouts conversations using hangups, by Tom Dryer. It will let you use/interact with the conversations soon. We are working on it as much as we can.

For more information read the wiki!

Objectives

  • Follow an ongoing conversation, acting upon its messages according to its filters.
  • Give information back to conversations when an event is triggered or by request of the users (via slash commands or a web API).
  • We would like this to eventually evolve into a logging tool for chats.

Installation

The bot is not ready yet!

IMPORTANT: Python 3.3 or higher is required by hangups. You can install pyenv, which will make your life a lot easier. Here's a good tutorial about pyenv.


Before starting you must get the hangups submodule.

git submodule init
git submodule update

Install the required packages with pip: pip install -r requirements.txt

The first time you start BastardBot, you will be prompted to log into your Google account by the hangups library. It only sends your credentials to Google, and it stores session cookies locally.


Documentation, help and feedback are welcome.

About

A bot to follow and interact with Google Hangouts conversations

License:MIT License


Languages

Language:Python 98.6%Language:Shell 1.4%