keybase / client

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron
BSD 3-Clause "New" or "Revised" License
8.9k stars 1.23k forks source link

Chat API: Retrieving new messages without polling in a loop #10432

Open scy opened 6 years ago

scy commented 6 years ago

The keybase chat command only allows me to check for new messages by polling my conversations repeatedly, which not only introduces a delay, but is also wasting resources at both the client and the server side. According to the example JS chat bot docs, there should be “a realtime stream in the API” “soon”. That was over a year ago. The example Go chat bot polls as well.

Is that API available already but just not in the client yet? How are the GUI apps doing it?

I’m interested in writing a terminal chat client for Keybase, probably as a WeeChat plugin, but I really don’t want to base this on polling. 🙁

maxtaco commented 6 years ago

cc @patrickxb

if we don't have this feature, let's make a ticket for it

lokedhs commented 6 years ago

I am also interested in writing a client, specifically one for Emacs. Is there any news about this feature request?