Gtalk Chat bot

From XinCheJian
Jump to navigation Jump to search

Based on: http://code.google.com/p/pygtalkrobot/

user account

  1. xcjtalk@gmail.com
  2. <standard router password> + 2nd factor code
  3. registered to recover password from info@xinchejian.com
  4. phone number registered to Ricky
  5. use application password to access

Installing on Linux

  1. sudo apt-get install python-jabberbot
  2. svn checkout http://pygtalkrobot.googlecode.com/svn/trunk/pygtalkrobot/src pygtalkrobot-read-only
  3. cd pygtalkrobot-read-only/
  4. Edit sampleRobot.py to change admin, username, password

run as a service

  1. chmod 700 ./sampleRobot.py
  2. nohup ./sampleRobot.py

Using

  • Invite xcjtalk@gmail.com to chat

See also