[tor-bugs] #4496 [Tor Support]: Create an IM bot that can send out software and documentation

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Dec 19 18:13:56 UTC 2011

#4496: Create an IM bot that can send out software and documentation
 Reporter:  runa         |          Owner:  runa                     
     Type:  task         |         Status:  needs_information        
 Priority:  normal       |      Milestone:  Sponsor E: March 15, 2012
Component:  Tor Support  |        Version:                           
 Keywords:               |         Parent:                           
   Points:               |   Actualpoints:                           
Changes (by mazda):

 * cc: mazda@… (removed)


 I've started to put some of the logic discussed above into code.
 At this time I will start creating a design document/proposal. Most of the
 Google Docs API commands are figured out. Their Documentations are
 outdated, because the latest version of the API which is in python is in
 the "Labs".

  1. We have the XMPP bot which logs into gmail and waits for a command.
    * We need to define a list of commands and actions. I am using a switch
 statement, we can also turn it into a sql database.
  1. Maintain a copy of https://www.torproject.org/dist/torbrowser/ on
 gogole docs so we don't have to upload files for each request.
    * We can rsync /torbrowser folder local and make zip files that
 include: tor-browser-LANGUAGE, short-manual-LANGUAGE and signature files.
    * Note: Do we need to checksum or sign the zip file aswell?
  1. Rate Limiting

  * sql lite database with date, email,action fields, we are saving hashes
 of the emails for more privacy
  * We can define rate limiting features based on the hash and time-stamp
 information. For example, we only respond to a specific hash only once 3
  * we can store other statistical data such as language of the tor-browser
 being shared.

 4. Local Cache of Google Doc IDs, every-time we upload a file to Google
 Docs, we are given an ID in this format:

   We use sql table with file name and id fileds.

   To test the Bot I have started with a test command which runs when you
 send it "test" command:python share.py runa.sandvik at gmail.com password

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4496#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online

More information about the tor-bugs mailing list