Html 在网页中嵌入 IRC 客户端的最佳方式
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/778430/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Best way to embed an IRC client in a webpage
提问by John Nilsson
I'm looking for a good, free, preferrably open source, IRC client to be embedded in a web page.
我正在寻找一个好的、免费的、最好是开源的 IRC 客户端来嵌入网页。
The obvious requirements of supporting most browsers, if requiering a plug-in it should be a plug-in that is allready widley deployed and it should not put too much strain on the webserver serving the page.
支持大多数浏览器的明显要求,如果需要一个插件,它应该是一个已经广泛部署的插件,并且它不应该对提供页面的网络服务器施加太大的压力。
回答by Chad Birch
Not really a programming question, but Mibbitis quite capable, I've used it for a few different applications, it's always worked well.
不是真正的编程问题,但Mibbit非常有能力,我已经将它用于一些不同的应用程序,它总是运行良好。
Note that it will work best if your channel is on one of the networks listed here that support WEBIRC.
请注意,如果您的频道位于此处列出的支持 WEBIRC 的网络之一上,则效果最佳。
回答by xtranophilist
An iframe can be embedded. http://webchat.freenode.net/?channels=channel_name
可以嵌入 iframe。 http://webchat.freenode.net/?channels=channel_name
回答by anarcat
A commonly used open source platform is QwebIRC. In python with a javascript frontend, but has all sorts of packaging issues. KiwiIRCseems really interesting but I haven't tried it yet so I can't vouch for it. KiwiIRC is all javascript. Both can be embeded in an iframe or something similar.
一个常用的开源平台是QwebIRC。在带有 javascript 前端的 python 中,但有各种打包问题。KiwiIRC看起来很有趣,但我还没有尝试过,所以我不能保证。KiwiIRC 都是 javascript。两者都可以嵌入到 iframe 或类似的东西中。
回答by Bob
I have seen these before, but I have never really liked them. I think the best overall one was Mibbit. I think the best way to go about it would be to ask the user to install a client and use the irc:// linking syntax to launch a native client.
我以前看过这些,但我从来没有真正喜欢过它们。我认为最好的整体是Mibbit。我认为最好的方法是要求用户安装客户端并使用 irc:// 链接语法来启动本机客户端。