XMPP service
As part of legacy/trac#12817 (moved), a new service is being implemented for GetTor. This service receives and replies requests via XMPP. The design of the module for this new service is quite simple:
1) User credentials must be specified on the configuration file.
2) The module works as a bot; it uses the given credentials to go online.
3) A user using XMPP can send a message to the bot asking for links/help.
The bot reads the message received and tries to look for a supported
operating system. If it doesn't find any, it sends help. Then it looks
for a supported locale. If it doesn't find any, it uses english by
default. For example, the message 'linux en' should return a message
in english with the links for downloading the bundles for linux. If
the user sends 'help es', it should return a message with help
information in spanish.
4) If the user also specify terms related to built-in pluggable
transports, it sends info about them when sending the links. For
this, it looks for the words 'obfs', 'pt', 'pluggable transport'.
The bot has been tried successfully on dukgo.com, jabber.ccc.de, and riseup.net It also worked for a while on jit.si, but not anymore (no clue why).
What are better ways of doing this?