<!DOCTYPE html>
<html lang="en">
<head>
    <title>Converse.js</title>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="Converse.js: A free chat client for your website" />
    <meta name="author" content="JC Brand" />
    <meta name="keywords" content="xmpp chat webchat converse.js" />
    <link type="text/css" rel="stylesheet" media="screen" href="components/bootstrap/dist/css/bootstrap.min.css" />
    <link type="text/css" rel="stylesheet" media="screen" href="components/fontawesome/css/font-awesome.min.css" />
    <link type="text/css" rel="stylesheet" media="screen" href="css/theme.css" />
    <link type="text/css" rel="stylesheet" media="screen" href="css/converse.min.css" />
    <!-- Only for development: <script data-main="main" src="components/requirejs/require.js"></script> -->
    <![if gte IE 9]>
        <script src="builds/converse.website.min.js"></script>
    <![endif]>
    <!--[if lt IE 9]>
        <script src="builds/converse.website-no-otr.min.js"></script>
    <![endif]-->
</head>

<body id="page-top" data-spy="scroll" data-target=".navbar-custom">

    <nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header page-scroll">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
                    <i class="fa fa-bars"></i>
                </button>
                <a class="navbar-brand" href="#page-top">
                    <i class="fa fa-play-circle"></i>  <span class="light">Home</span>
                </a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse navbar-right navbar-main-collapse">
                <ul class="nav navbar-nav">
                    <!-- Hidden li included to remove active class from about link when scrolled up past about section -->
                    <li class="hidden">
                        <a href="#page-top"></a>
                    </li>
                    <li class="page-scroll">
                        <a href="#about">About</a>
                    </li>
                    <li class="page-scroll">
                        <a href="#features">Features</a>
                    </li>
                    <!--
                    <li class="page-scroll">
                        <a href="#donate">Donate</a>
                    </li>
                    -->
                    <li class="page-scroll">
                        <a href="#contact">Contact</a>
                    </li>
                    <li class="page-scroll">
                        <a href="https://github.com/jcbrand/converse.js/releases" class="button" target="_blank">Download</a>
                    </li>
                    <li class="page-scroll">
                        <a href="/docs/html/index.html" target="_blank">Documentation</a>
                    </li>
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container -->
    </nav>

    <section class="intro">
        <div class="intro-body">
            <div class="container">
                <div class="row">
                    <div class="col-md-8 col-md-offset-2">
                        <h1 class="brand-heading">Converse.js</h1>
                        <p class="intro-text">A free and open-source XMPP chat client for your website</p>
                        <div class="page-scroll">
                            <a href="#about" class="btn btn-default btn-lg">Learn More</a>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-8 col-md-offset-2 banner-social-buttons">
                        <ul class="list-inline">
                            <li><a href="https://twitter.com/jcopkode" class="btn btn-circle btn-lg" title="Twitter" target="_blank"><i class="fa fa-twitter"></i></a>
                            </li>
                            <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>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <section id="about" class="container content-section text-center">
        <div class="row">
            <div class="col-lg-8 col-lg-offset-2">
                <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>
                <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>
                <p>
                    <strong>Converse.js</strong> can connect to any accessible <a href="http://xmpp.org" target="_blank">XMPP/Jabber</a> server,
                    either from a public provider such as <a href="http://jabber.org">jabber.org</a>, or one you have set up yourself.
                </p>
                <p>
                    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.
                    Please refer to the <strong><a target="_blank" href="/docs/html/index.html">documentation</a></strong> for more info.
                </p>
            </div>
        </div>
    </section>

    <section class="features-section content-section" id="features">
        <div class="container">
            <div class="row">
                <div class="col-lg-4">
                    <section>
                        <span class="feature-icon page-scroll"><a class="fa fa-globe" href="#features" title="Integration"></a></span>
                        <header>
                            <h2>Integration</h2>
                        </header>
                        <ul class="integration">
                            <li><a href="http://github.com/collective/collective.xmpp.chat" target="_blank">Plone</a></li>
                            <li><a href="https://pypi.python.org/pypi/django-conversejs" target="_blank">Django</a></li>
                            <li><a href="https://github.com/priyadi/roundcube-converse.js-xmpp-plugin" target="_blank">Roundcube</a></li>
                            <li><a href="http://wordpress.org/plugins/conversejs" target="_blank">Wordpress</a></li>
                        </ul>
                    </section>
                </div>
                <div class="col-lg-4">
                    <section>
                        <span class="feature-icon page-scroll"><a class="fa fa-check-square-o" href="#features" title="Features"></a></span>
                    </section>
                        <header>
                            <h2>Features</h2>
                        </header>
                        <ul class="features">
                            <li>Single-user chat</li>
                            <li>Multi-user chatrooms (<a href="http://xmpp.org/extensions/xep-0045.html" target="_blank">XEP 45</a>)</li>
                            <li>vCard support (<a href="http://xmpp.org/extensions/xep-0054.html" target="_blank">XEP 54</a>)</li>
                            <li>Service discovery (<a href="http://xmpp.org/extensions/xep-0030.html" target="_blank">XEP 30</a>)</li>
                            <li>Contact rosters and groups</li>
                            <li>Contact subscriptions</li>
                            <li>Accept or decline contact requests</li>
                            <li>Roster item exchange (<a href="http://xmpp.org/extensions/tmp/xep-0144-1.1.html" target="_blank">XEP 144</a>)</li>
                            <li>Chat statuses (online, busy, away, offline)</li>
                            <li>Custom status messages</li>
                            <li>Typing notifications</li>
                            <li>Third person messages (/me )</li>
                            <li>Translated into 14 languages</li>
                            <li>Off-the-record encryption
                        </ul>
                </div>
                <div class="col-lg-4">
                    <section>
                        <span class="feature-icon page-scroll"><a class="fa fa-video-camera" href="#features" title="Screencasts"></a></span>
                        <header>
                            <h2>Screencasts</h2>
                        </header>
                        <ul class="screencasts">
                            <li>
                                <a href="http://opkode.com/media/blog/instant-messaging-for-plone-with-javascript-and-xmpp" target="_blank">
                                    In a Plone site
                                </a>
                            </li>
                            <li>
                                <a href="http://opkode.com/media/blog/2013/04/02/converse.js-xmpp-instant-messaging-with-javascript" target="_blank">
                                    Chatting with buddies from Jabber.org and Gmail
                                </a>
                            </li>
                            <li>
                                <a href="https://opkode.com/media/blog/2013/11/11/conversejs-otr-support" target="_blank">
                                    Off-the-record encryption
                                </a>
                            </li>
                        </ul>
                    </section>
                </div>
            </div>
        </div>
    </section>

    <!--
    <section id="donate" class="donate-section content-section text-center">
        <div class="container">
            <div class="row">
                <div class="col-lg-8 col-lg-offset-2">
                    <h3>Donate</h3>
                    <p class="bitcoin-header">Most of the work done on <strong>converse.js</strong> is unpaid and a labor of love.</p>
                    <p>A heartfelt thanks to those have donated already.</p>
                    <p class="bitcoin-header"><strong>Bitcoin</strong></p>
                    <img src="css/images/bitcoin_qr_code.png"/>
                    <p>16FsPqE9DhFTryxrUenpsGX4LJ1TPu8GqS</p>
                </div>
            </div>
        </div>
    </section>
    -->

    <section class="outro content-section" id="contact">
        <div class="intro-body">
            <div class="container">
                <div class="row">
                    <div class="col-lg-8 col-lg-offset-2">
                        <h2>Contact</h2>
                        <p>
                            <ul class="contact">
                                <li>Follow me on <a href="http://twitter.com/jcopkode" target="_blank">Twitter</a>.</li>
                                <li>Chat with me via XMPP: <a href="xmpp:jc@opkode.com" class="xmpp JSnocheck" title="XMPP/Jabber">jc@opkode.com</a>.</li>
                                <li>For technical support, please write to the mailing list: <a href="mailto:conversejs@librelist.com">conversejs@librelist.com</a>.</li>
                                <li>Also check out the <a href="http://librelist.com/browser/conversejs" target="_blank">mailing list archives</a>.</li>
                                <li>Please file <a target="_blank" href="https://github.com/jcbrand/converse.js/issues">bugs on Github</a>.</li>
                                <li>I'm available for features and <a href="http://opkode.com/contact" target="_blank">consulting</a>.</li>
                            <ul>
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </section>
</body>

<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">try { var pageTracker = _gat._getTracker("UA-2128260-8"); pageTracker._trackPageview(); } catch(err) {}</script>

<script>
    require(['converse'], function (converse) {
        converse.initialize({
            auto_reconnect: false,  // This feature still seems buggy
            allow_otr: true,
            auto_list_rooms: false,
            auto_subscribe: false,
            bosh_service_url: 'https://bind.conversejs.org', // Please use this connection manager only for testing purposes
            debug: true ,
            hide_muc_server: false,
            i18n: locales['en'], // Refer to ./locale/locales.js to see which locales are supported
            prebind: false,
            show_controlbox_by_default: true,
            xhr_user_search: false,
            roster_groups: true
        });
    });
</script>
</html>