93

UPDATE
Stacksguru address is now [email protected] (in the plural form) remove the old contact ([email protected]) and use the new one.

StacksGuru is a Jabber/XMPP bot which gives you a command line interface to Stack Apps sites, including Stack Overflow, Server Fault and Super User.

The bot allows you to follow questions tags by giving you a notification each time a new question is asked on the followed tag. You can also follow a question which will send you a notification each time someone post a comment or an answer on the question.

How To Use It

Take your favorite Jabber/XMPP client (Google Talk for example) and add [email protected] as a contact.

Stack Guru

Commands

  • domain [domain or alias] Set the active domain on which the bot commands will work. For example, domain serverfault will set the default domain to serverfault.com and follow,unfollow and rank commands will work upon the Server Fault API. You can use common aliases (so, sf and su) instead of the full domain names. The default domain is stackoverflow.com in case no domain name is set.

  • follow [tag],[question id],... Start following a question tag or a question. Each time a question is posted with the tag(s) you requested you will get notified. You can follow up to 10 tags. Wildcards are supported (since update 6). You can provide a question id in order to follow a specific question. When following a question you will get notified each time a user posts a comment on the question or if a new answer has been posted for that question.
    Calling follow without any parameters will return the topics and questions that you're following.

  • unfollow [tag],[question id],... Stop following a question tag or a question.
    Passing *, all or everything will make you unfollow everything.

  • mute You will get only notifications for question you follow, you will not get any notification for tags you follow.

  • unmute Resume questions notifications.

  • search [free text] Free text search in the titles of Stack Overflow.

  • google [free text] Free text search using a Google custom search engine.
    This works only on the Stack Overflow domain.

  • rank [user id] Calculates the rank of user id, limited to the top 10000 users.

  • help [command name] Help on a specific command.

License

GPL v3

Platform

Google App Engine

Contact

Shay Erlichmen erlichmen[at]gmail.com
Google Code Page

Code

Written in Python under Google App Engine.


Update 1

You can now follow questions using follow [question id]. When following questions, you will be notified each time a new comment or an answer has been posted on the question.

Notify Questions

Update 2

Add the rank command, see where you stand in the race to be in the second place.

Rank Command

Update 3

ALL Stack Apps sites are supported now, you can use the bot to follow question/tags on all Stack Apps sites.

Update 4

The source code of the bot is available on Google Code as promised, enjoy!.

Update 5

Chrome extension! Read more about it here.

Update 6

Wildcards: It wasn't easy, and it required some cool algorithm and four liters of carbonated drinks in order to support following tags using wildcard for example: jquery* will follow both jQuery and jQuery UI. You can put the wildcard at the beginning of the tag or at the end (or both).

Update 7 09/18/2011

Google has changed the app engine pricing and that forces me to-do some changes to the way StacksGuru works.

For starters, tag following will only get you notified if you are currently online, question following will be deleted two weeks after the initial follow.
You can always refollow the question or better yet mark the question as favorite and Stack Exchange will let you know once the question has new answers. It's not near real time but it's good enough.

The rank command is deprecated - use Stack Exchange leagues instead.

27
  • @shay Rank doesn't seem to be working fine ? me:rank 92837 stackguru:Calculating the rank of Sathya, this might take some time. Couldn't find rank of user 92837, sorry Couldn't find rank of user 92837, sorry Couldn't find rank of user 92837, sorry Commented Jun 8, 2010 at 23:04
  • @Sathya rank only works for the top 10000 (10K) users, which currently is at ~820 points. Commented Jun 9, 2010 at 5:55
  • @Shay What is the frequency of the polling to check for new questions? Commented Jun 11, 2010 at 10:06
  • Currently it is every 2 minutes Commented Jun 11, 2010 at 21:19
  • @Shay it workes fine now. Thanks... edit: rank 48387 gives me No such user
    – Cristian
    Commented Jun 18, 2010 at 14:03
  • @Cristian I have updated the command to return "No such user on [domain]". Can you tell me on which domain does it search your user? Commented Jun 18, 2010 at 14:40
  • @Shay a couple of feature-requests :) 1. Add a /filter command to exclude tags. 2.Add a /status command to recap the tags followed. Commented Jun 24, 2010 at 13:20
  • @systempuntoout for /status you can use /follow without any params. good idea abut the exclude I will look into that Commented Jun 24, 2010 at 13:39
  • I'm getting this: "you follow too much stuff, please /unfollow some." what's the limit of it? I'm just following two tags. Maybe I have followed some questions by their id... how can I get a list of questions&tags I'm following? thank you!
    – Cristian
    Commented Jun 30, 2010 at 13:53
  • @Cristian just type follow without any params Commented Jun 30, 2010 at 13:56
  • Nice app! Any news about opening the source code?
    – jbochi
    Commented Jul 2, 2010 at 12:41
  • @jbochi once the world cup is over I will spend time on posting the project code Commented Jul 3, 2010 at 4:37
  • @Shay Great work! I have a question though, does this support tag synonyms? For example, if I follow visual-studio, will visual-studio-2010, etc, included as well? Commented Sep 22, 2010 at 6:15
  • 1
    I'm having a problem adding the 'c' tag. How is this achieved? 'follow c' shows an error message about wildcards.
    – Matthew
    Commented Feb 28, 2011 at 22:11
  • 2
    Is this still working? I am using google talk desktop client and I am online...
    – johnbk
    Commented Oct 27, 2011 at 13:55

5 Answers 5

7

Is this app still working?
I installed pidgin, added my gtalk account and included [email protected] in the contact list, then I started following the [java] tag, but I'm not getting any alerts even if new java questions are asked.

Am I missing anything?

5

StackGuru is great, I was looking for something like this for months.

Still the limitation of 10 tags pe user is far too small, probably I would be interested to have a limit of 100 tags or over.

I know that I could install my own instance, but this would take too much time.

1
  • This is work in progrees, in the next version while offline you won't get notify about new question on the tags you follow. Commented Jun 28, 2011 at 8:52
3

I am not sure if this is a bug with Google Talk but I keep getting messages from stackguru in my inbox while I am offline. Instead I would prefer to get them via the chat client when I became available.

Does anyone knows how to tune this?

PS. I do not want to disable my chat history because this is very useful feature.

1
  • It's a feature of Google talk. It's a feature request for StackGuru that should not send messages when you are offline.
    – rds
    Commented Aug 19, 2011 at 8:51
3

Multiple domains? Is it possible to follow multiple domains from one client? I find that would be a useful feature.

5
  • you can, just call the domain command follow what ever you want to follow and than call domain again to follow different topics on a different domain. Commented Jul 24, 2011 at 6:41
  • @Shay, I meant simultaneously. I could not get that from the feature description. I am trying to follow certain topics across the domains simultaneously from single client. Commented Jul 24, 2011 at 15:02
  • @ShayErlichmen gamedev doesn't seem to be supported. When I try command 'domain gamedev' or 'domain gamedev.stackexchange.com' I get no acknowledgment. Commented Jan 1, 2013 at 22:27
  • @DuckMaestro There is currently a problem with the xmpp stack on AppEngine. I open an issue which you can follow by staring it. Commented Jan 2, 2013 at 11:39
  • @DuckMaestro OK, this a problem with the StacksGuru I opened an issue for it. Commented Jan 2, 2013 at 12:50
2

Is there anyway to use Physics SE with the bot? I tried domain phy,domain phySE etc. None of them worked!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .