Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.
/ wynbot Public archive

Hangouts chatbot that mimics your friends

License

Notifications You must be signed in to change notification settings

ammgws/wynbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wynbot

(No longer maintained as do not use Google Hangouts anymore)

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.
  3. Generate corpus for wynbot to use: python build_db.py Hangouts.json
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.
  --no-log                  Disables logging.
  -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.

Example: python wynbot.py --print-only --prefix="[Robot] " "recipientJID@public.talk.google.com"

About

Hangouts chatbot that mimics your friends

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages