Node.js 并与 Pidgin 等本机聊天交互?
使用 Node.js 时是否有一种方法可以轻松地与本机消息客户端(例如 Pidgin)交互?
我尝试使用 Node.js 的 XMPP 协议创建一个简单的聊天系统(使用 https://github.com /astro/node-xmpp 然后 https://github.com/amiadogroup/candy) 。 但我没有工作,事情很复杂。
Is there a way to interact easily with a native messaging client (for example Pidgin) when using Node.js ?
I tried to create a simple chat system with the XMPP protocol with Node.js (with https://github.com/astro/node-xmpp then https://github.com/amiadogroup/candy).
But I didn't work and it was complicated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用其他协议,例如 IRC。相关节点模块:node-irc
You can use another protocol like IRC. Relevant node module: node-irc
我围绕 pidgin dbus api 创建了简单的包装器: https://github.com/sidorares/node-pidgin
I created simple wrapper around pidgin dbus api: https://github.com/sidorares/node-pidgin