dev.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Converse.js</title>
  5. <meta charset="utf-8">
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8. <meta name="description" content="Converse.js: A free chat client for your website" />
  9. <meta name="author" content="JC Brand" />
  10. <meta name="keywords" content="xmpp chat webchat converse.js" />
  11. <link rel="shortcut icon" type="image/ico" href="css/images/favicon.ico"/>
  12. <link type="text/css" rel="stylesheet" media="screen" href="components/bootstrap/dist/css/bootstrap.min.css" />
  13. <link type="text/css" rel="stylesheet" media="screen" href="components/fontawesome/css/font-awesome.min.css" />
  14. <link type="text/css" rel="stylesheet" media="screen" href="css/theme.css" />
  15. <link type="text/css" rel="stylesheet" media="screen" href="css/converse.css" />
  16. <script data-main="main" src="components/requirejs/require.js"></script>
  17. </head>
  18. <body id="page-top" data-spy="scroll" data-target=".navbar-custom">
  19. <nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
  20. <div class="container">
  21. <div class="navbar-header page-scroll">
  22. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
  23. <i class="fa fa-bars"></i>
  24. </button>
  25. <a class="navbar-brand" href="#page-top">
  26. <i class="fa fa-play-circle"></i> <span class="light">Home</span>
  27. </a>
  28. </div>
  29. <!-- Collect the nav links, forms, and other content for toggling -->
  30. <div class="collapse navbar-collapse navbar-right navbar-main-collapse">
  31. <ul class="nav navbar-nav">
  32. <!-- Hidden li included to remove active class from about link when scrolled up past about section -->
  33. <li class="hidden">
  34. <a href="#page-top"></a>
  35. </li>
  36. <li class="page-scroll">
  37. <a href="#about">About</a>
  38. </li>
  39. <li class="page-scroll">
  40. <a href="#features">Features</a>
  41. </li>
  42. <!--
  43. <li class="page-scroll">
  44. <a href="#donate">Donate</a>
  45. </li>
  46. -->
  47. <li class="page-scroll">
  48. <a href="#contact">Contact</a>
  49. </li>
  50. <li>
  51. <a href="/docs/html/index.html">Documentation</a>
  52. </li>
  53. <li>
  54. <a href="https://github.com/jcbrand/converse.js/releases" class="button" target="_blank">Download</a>
  55. </li>
  56. </ul>
  57. </div>
  58. <!-- /.navbar-collapse -->
  59. </div>
  60. <!-- /.container -->
  61. </nav>
  62. <section class="intro">
  63. <div class="intro-body">
  64. <div class="container">
  65. <div class="row">
  66. <div class="col-md-8 col-md-offset-2">
  67. <h1 class="brand-heading"><i class="icon-conversejs"></i>Converse.js</h1>
  68. <p class="intro-text">A free and open-source XMPP chat client for your website</p>
  69. <div class="page-scroll">
  70. <a href="#about" class="btn btn-default btn-lg"><span class="btn-text">Learn More</span></a>
  71. </div>
  72. </div>
  73. </div>
  74. <div class="row">
  75. <div class="col-md-8 col-md-offset-2 banner-social-buttons">
  76. <ul class="list-inline">
  77. <li><a href="https://twitter.com/jcopkode" class="btn btn-circle btn-lg" title="Twitter" target="_blank"><i class="fa fa-twitter"></i></a>
  78. </li>
  79. <li><a href="https://github.com/jcbrand/converse.js" class="btn btn-circle btn-lg" title="GitHub" target="_blank"><i class="fa fa-github"></i></a>
  80. </li>
  81. </ul>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. </section>
  87. <section id="about" class="container content-section text-center">
  88. <div class="row">
  89. <div class="col-lg-8 col-lg-offset-2">
  90. <h2><strong>Converse.js</strong> is a free and open source chat client that runs in your browser. It can be integrated into any website.</h3>
  91. <p>Similar to <a href="https://www.facebook.com/sitetour/chat.php" target="_blank">Facebook chat</a> but it also supports multi-user chatrooms.</p>
  92. <p>
  93. <strong>Converse.js</strong> can connect to any accessible <a href="http://xmpp.org" target="_blank">XMPP/Jabber</a> server,
  94. either from a public provider such as <a href="http://jabber.org">jabber.org</a>, or one you have set up yourself.
  95. </p>
  96. <p>
  97. It's possible to enable single-site-login, whereby users already authenticated in your website will also automatically be logged in on the chat server.
  98. Please refer to the <strong><a href="/docs/html/index.html">documentation</a></strong> for more info.
  99. </p>
  100. </div>
  101. </div>
  102. </section>
  103. <section class="features-section content-section" id="features">
  104. <div class="container">
  105. <div class="row">
  106. <div class="col-lg-4">
  107. <section>
  108. <span class="feature-icon page-scroll"><a class="fa fa-globe" href="#features" title="Integration"></a></span>
  109. <header>
  110. <h2>Integration</h2>
  111. </header>
  112. <ul class="integration">
  113. <li><a href="http://github.com/collective/collective.xmpp.chat" target="_blank">Plone</a></li>
  114. <li><a href="https://pypi.python.org/pypi/django-conversejs" target="_blank">Django</a></li>
  115. <li><a href="https://github.com/priyadi/roundcube-converse.js-xmpp-plugin" target="_blank">Roundcube</a></li>
  116. <li><a href="http://wordpress.org/plugins/conversejs" target="_blank">Wordpress</a></li>
  117. <li><a href="https://github.com/jcbrand/patterns.converse" target="_blank">Patternslib</a></li>
  118. <li><a href="https://github.com/keensoft/alfresco-js-chat-share" target="_blank">Alfresco</a></li>
  119. </ul>
  120. </section>
  121. </div>
  122. <div class="col-lg-4">
  123. <section>
  124. <span class="feature-icon page-scroll"><a class="fa fa-check-square-o" href="#features" title="Features"></a></span>
  125. </section>
  126. <header>
  127. <h2>Features</h2>
  128. </header>
  129. <ul class="features">
  130. <li>Single-user chat</li>
  131. <li>Multi-user chatrooms (<a href="http://xmpp.org/extensions/xep-0045.html" target="_blank">XEP 45</a>)</li>
  132. <li>vCard support (<a href="http://xmpp.org/extensions/xep-0054.html" target="_blank">XEP 54</a>)</li>
  133. <li>Service discovery (<a href="http://xmpp.org/extensions/xep-0030.html" target="_blank">XEP 30</a>)</li>
  134. <li>Contact rosters and groups</li>
  135. <li>Contact subscriptions</li>
  136. <li>Accept or decline contact requests</li>
  137. <li>Roster item exchange (<a href="http://xmpp.org/extensions/tmp/xep-0144-1.1.html" target="_blank">XEP 144</a>)</li>
  138. <li>Chat statuses (online, busy, away, offline)</li>
  139. <li>Custom status messages</li>
  140. <li>Typing notifications</li>
  141. <li>Third person messages (/me )</li>
  142. <li>Translated into 15 languages</li>
  143. <li>Off-the-record encryption
  144. </ul>
  145. </div>
  146. <div class="col-lg-4">
  147. <section>
  148. <span class="feature-icon page-scroll"><a class="fa fa-video-camera" href="#features" title="Screencasts"></a></span>
  149. <header>
  150. <h2>Screencasts</h2>
  151. </header>
  152. <ul class="screencasts">
  153. <li>
  154. <a href="http://opkode.com/media/blog/instant-messaging-for-plone-with-javascript-and-xmpp" target="_blank">
  155. In a Plone site
  156. </a>
  157. </li>
  158. <li>
  159. <a href="http://opkode.com/media/blog/2013/04/02/converse.js-xmpp-instant-messaging-with-javascript" target="_blank">
  160. Chatting with buddies from Jabber.org and Gmail
  161. </a>
  162. </li>
  163. <li>
  164. <a href="https://opkode.com/media/blog/2013/11/11/conversejs-otr-support" target="_blank">
  165. Off-the-record encryption
  166. </a>
  167. </li>
  168. </ul>
  169. </section>
  170. </div>
  171. </div>
  172. </div>
  173. </section>
  174. <!--
  175. <section id="donate" class="donate-section content-section text-center">
  176. <div class="container">
  177. <div class="row">
  178. <div class="col-lg-8 col-lg-offset-2">
  179. <h3>Donate</h3>
  180. <p class="bitcoin-header">Most of the work done on <strong>converse.js</strong> is unpaid and a labor of love.</p>
  181. <p>Thanks to those have donated already.</p>
  182. <p class="bitcoin-header"><strong>Bitcoin</strong></p>
  183. <img src="css/images/bitcoin_qr_code.png"/>
  184. <p>16FsPqE9DhFTryxrUenpsGX4LJ1TPu8GqS</p>
  185. </div>
  186. </div>
  187. </div>
  188. </section>
  189. -->
  190. <section class="outro content-section" id="contact">
  191. <div class="intro-body">
  192. <div class="container">
  193. <div class="row">
  194. <div class="col-lg-8 col-lg-offset-2">
  195. <h2>Contact</h2>
  196. <ul class="contact">
  197. <li>Follow me on <a href="http://twitter.com/jcopkode" target="_blank">Twitter</a>.</li>
  198. <li>Chat with me via XMPP: <a href="xmpp:jc@opkode.com" class="xmpp JSnocheck" title="XMPP/Jabber">jc@opkode.com</a>.</li>
  199. <li>For technical support, please write to the mailing list: <a href="mailto:conversejs@librelist.com">conversejs@librelist.com</a>.</li>
  200. <li>Or ask in the Converse.js chat room: <a href="xmpp:discuss@conference.conversejs.org" class="xmpp JSnocheck" title="Converse.js chat room">discuss@conference.conversejs.org</a>.</li>
  201. <li>Also check out the <a href="http://librelist.com/browser/conversejs" target="_blank">mailing list archives</a>.</li>
  202. <li>Please file <a target="_blank" href="https://github.com/jcbrand/converse.js/issues">bugs on Github</a>.</li>
  203. <li>I'm available for features and <a href="http://opkode.com/contact" target="_blank">consulting</a>.</li>
  204. </ul>
  205. </div>
  206. </div>
  207. </div>
  208. </div>
  209. </section>
  210. </body>
  211. <script>
  212. require(['converse'], function (converse) {
  213. (function () {
  214. /* XXX: This function initializes jquery.easing for the https://conversejs.org
  215. * website. This code is only useful in the context of the converse.js
  216. * website and converse.js itself is NOT dependent on it.
  217. */
  218. var $ = converse.env.jQuery;
  219. $(window).scroll(function() {
  220. if ($(".navbar").offset().top > 50) {
  221. $(".navbar-fixed-top").addClass("top-nav-collapse");
  222. } else {
  223. $(".navbar-fixed-top").removeClass("top-nav-collapse");
  224. }
  225. });
  226. //jQuery for page scrolling feature - requires jQuery Easing plugin
  227. $('.page-scroll a').bind('click', function(event) {
  228. var $anchor = $(this);
  229. $('html, body').stop().animate({
  230. scrollTop: $($anchor.attr('href')).offset().top
  231. }, 700, 'easeInOutExpo');
  232. event.preventDefault();
  233. });
  234. })();
  235. converse.initialize({
  236. bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
  237. i18n: locales['en'], // Refer to ./locale/locales.js to see which locales are supported
  238. keepalive: true,
  239. message_carbons: true,
  240. play_sounds: true,
  241. roster_groups: true,
  242. show_controlbox_by_default: true,
  243. xhr_user_search: false
  244. });
  245. });
  246. </script>
  247. </html>