Skip to content
Hangouts chatbot that mimics your friends
Branch: master
Clone or download
Latest commit db08ffe May 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore update ignores Oct 6, 2017
LICENSE Initial commit Mar 20, 2017
README.md Simplify readme May 9, 2019
requirements-dev.txt remove nltk Aug 2, 2017
requirements.txt
wynbot.py Remove delay, add stdout option, minor fixes May 9, 2019

README.md

wynbot

Sends or generates a message mimicking your friends based on your Hangouts chat history.

Requirements
  • GMail or Google Apps account which can use Hangouts
  • Python 3.6+
Installation

git clone https://github.com/ammgws/wynbot.git
cd wynbot
pip install -r requirements.txt

Before Use
  1. Go to Google Takeout and export your Hangouts chat data.
  2. Go to Google APIs and generate secret client ID/password.
Usage
Usage: wynbot.py [OPTIONS] RECIPIENT

  Login to Hangouts, send generated message and disconnect.

Options:
  --config-path PATH        Path to directory containing config file. Defaults
                            to $XDG_CONFIG_HOME/wynbot.
  --cache-path PATH         Path to directory to store logs and such. Defaults
                            to $XDG_CACHE_HOME/wynbot.
  -n, --num_chars INTEGER   max character length for the generated message.
  -s, --state_size INTEGER  state size for Markov model.
  --print-only              Print message to stdout, not Hangouts.
  --prefix TEXT             String to prefix message with.
  --help                    Show this message and exit.
You can’t perform that action at this time.