A web client for WeeChat [](https://travis-ci.org/glowing-bear/glowing-bear)
A web client for WeeChat [](https://travis-ci.org/glowing-bear/glowing-bear?branch=master)
========================
========================
Glowing Bear is an HTML5 web frontend for [WeeChat](http://weechat.org) that strives to be a modern and slick interface. It relies on WeeChat to do all the heavy lifting (connections, servers, history, etc) and then provides some nice features on top of that, like content embedding (images, video) and desktop notifications. The main advantage, though, is that you can access it from any modern internet device without having to worry about ssh connections or terminal emulators.
Glowing Bear is an HTML5 web frontend for [WeeChat](http://weechat.org) that strives to be a modern and slick interface. It relies on WeeChat to do all the heavy lifting (connections, servers, history, etc) and then provides some nice features on top of that, like content embedding (images, video) and desktop notifications. The main advantage, though, is that you can access it from any modern internet device without having to worry about ssh connections or terminal emulators.
@ -15,7 +15,7 @@ To use the web interface you first need to set a relay and a password:
/relay add weechat 9001
/relay add weechat 9001
/set relay.network.password YOURPASSWORD
/set relay.network.password YOURPASSWORD
Then go to the GitHub hosted version of [Glowing Bear](http://glowing-bear.github.io/glowing-bear)!
Then go to our hosted version of [Glowing Bear](http://www.glowing-bear.org)!
You can run Glowing Bear in multiple ways: use it like any other webpage, as a Firefox or Chrome app, or a full-screen Chrome app on Android ("Add to homescreen"). We also provide an [Android app](https://play.google.com/store/apps/details?id=com.glowing_bear) that you can install from the Google Play Store.
You can run Glowing Bear in multiple ways: use it like any other webpage, as a Firefox or Chrome app, or a full-screen Chrome app on Android ("Add to homescreen"). We also provide an [Android app](https://play.google.com/store/apps/details?id=com.glowing_bear) that you can install from the Google Play Store.
@ -29,7 +29,7 @@ FAQ
---
---
- *Can I use Glowing Bear to access a machine or port not exposed to the internet by passing the connection through my server?* No, that's not what Glowing Bear does. You can use a websocket proxy module for your webserver to forward `/weechat` to your WeeChat instance though. Here are some pointers you might find helpful for setting this up with [nginx](http://nginx.com/blog/websocket-nginx/) or [apache](https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html).
- *Can I use Glowing Bear to access a machine or port not exposed to the internet by passing the connection through my server?* No, that's not what Glowing Bear does. You can use a websocket proxy module for your webserver to forward `/weechat` to your WeeChat instance though. Here are some pointers you might find helpful for setting this up with [nginx](http://nginx.com/blog/websocket-nginx/) or [apache](https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.html).
- *How does the encryption work?* TLS is used for securing the connection if you enable encryption. You can find more detailed instructions on how to communicate securely in the "encryption instructions" tab on the [landing page](http://glowing-bear.github.io/glowing-bear). Note that your browser will perform the certificate validation, so it is strongly recommended to use a certificate that your browser trusts.
- *How does the encryption work?* TLS is used for securing the connection if you enable encryption. You can find more detailed instructions on how to communicate securely in the "encryption instructions" tab on the [landing page](http://www.glowing-bear.org). Note that your browser will perform the certificate validation, so it is strongly recommended to use a certificate that your browser trusts.
Development
Development
-----------
-----------
@ -45,7 +45,7 @@ python -m SimpleHTTPServer
Now you can point your browser to [http://localhost:8000](http://localhost:8000)!
Now you can point your browser to [http://localhost:8000](http://localhost:8000)!
Remember that **you don't need to host Glowing Bear yourself to use it**, you can just use the [GitHub hosted version](http://glowing-bear.github.io/glowing-bear), and we'll take care of updates for you. Your browser connects to WeeChat directly, so it does not matter where Glowing Bear is hosted.
Remember that **you don't need to host Glowing Bear yourself to use it**, you can just use [our hosted version](http://www.glowing-bear.org) powered by GitHub pages, and we'll take care of updates for you. Your browser connects to WeeChat directly, so it does not matter where Glowing Bear is hosted.
If you'd prefer a version hosted with HTTPS, GitHub serves that as well with an undocumented, not officially supported (by GitHub) link. Be careful though, it might break any minute. Anyway, here's the link: [secret GitHub HTTPS link](https://glowing-bear.github.io/glowing-bear/) (the trailing forward slash in the URL seems to make all the difference).
If you'd prefer a version hosted with HTTPS, GitHub serves that as well with an undocumented, not officially supported (by GitHub) link. Be careful though, it might break any minute. Anyway, here's the link: [secret GitHub HTTPS link](https://glowing-bear.github.io/glowing-bear/) (the trailing forward slash in the URL seems to make all the difference).
<strong>Secure connection error</strong> Unable to connect to unencrypted relay when your are connecting to Glowing Bear over HTTPS. Please use an encrypted relay or load the page without using HTTPS.
<strong>Secure connection error</strong> Unable to connect to unencrypted relay when your are connecting to Glowing Bear over HTTPS. Please use an encrypted relay or load the page without using HTTPS.
<div>To start using glowing bear, please enable the relay plugin in your WeeChat client:
<div>To start using glowing bear, please enable the relay plugin in your WeeChat client:
@ -115,26 +125,28 @@
<ul>
<ul>
<li>ALT-n: Toggle nicklist</li>
<li>ALT-n: Toggle nicklist</li>
<li>ALT-l: Focus on input bar</li>
<li>ALT-l: Focus on input bar</li>
<li>ALT-[0-9]: Focus on buffer</li>
<li>ALT-[0-9]: Switch to buffer number N</li>
<li>ALT-a: Focus on next buffer with activity</li>
<li>ALT-a: Focus on next buffer with activity</li>
<li>ALT-<: Switch to previous buffer</li>
<li>ALT-<: Switch to previous active buffer</li>
<li>ALT-g: Focus on buffer list filter</li>
<li>ALT-g: Focus on buffer list filter</li>
<li>Esc-Esc: disconnect (double-tap)</li>
<li>Esc-Esc: Disconnect (double-tap)</li>
<li>arrow keys: history navigation</li>
<li>Arrow keys: Navigate history</li>
<li>Tab key: Complete nick</li>
<li>The following readline/emacs style keybindings can be enabled with a setting: <spantitle="Move cursor to beginning of line">Ctrl-a</span>, <spantitle="Move cursor to te end of the line">Ctrl-e</span>, <spantitle="Delete from cursor to beginning of the line">Ctrl-u</span>, <spantitle="Delete from cursor to the end of the line">Ctrl-k</span>, <spantitle="Delete from cursor to previous space">Ctrl-w</span></li>
<p>If you check the encryption box, the communication between browser and WeeChat will be encrypted with SSL.</p>
<p>If you check the encryption box, the communication between browser and WeeChat will be encrypted with SSL.</p>
<p><strong>Note</strong>: If you are using a self-signed certificate, you have to visit <ahref="https://{{ host }}:{{ port }}/">https://{{ host || 'weechathost' }}:{{ port || 'relayport' }}/</a> in your browser first to add a security exception. You can close that tab once you confirmed the certificate, no content will appear. The necessity of this process is a bug in <ahref="https://bugzilla.mozilla.org/show_bug.cgi?id=594502">Firefox</a> and other browsers.</p>
<p><strong>Note</strong>: If you are using a self-signed certificate, you have to visit <ahref="https://{{ host }}:{{ port }}/">https://{{ host || 'weechathost' }}:{{ port || 'relayport' }}/</a> in your browser first to add a security exception. You can close that tab once you confirmed the certificate, no content will appear. The necessity of this process is a bug in <ahref="https://bugzilla.mozilla.org/show_bug.cgi?id=594502">Firefox</a> and other browsers.</p>
<p>You don't need to install anything to use this app, it should work with any modern browser. Start using it <adata-toggle="collapse"data-parent="#accordion"href="#collapseOne">right now</a>! However, there are a few ways to improve integration with your operating system.</p>
<p>You don't need to install anything to use this app, it should work with any modern browser. Start using it <adata-toggle="collapse"data-parent="#accordion"href="#collapseOne">right now</a>! However, there are a few ways to improve integration with your operating system.</p>
<p>Glowing bear is built by a small group of developers in their free time. As we're always trying to improve it, we would love getting your feedback and help. If that sounds like something you might enjoy, check out our <ahref="https://github.com/glowing-bear/glowing-bear">project page</a> on GitHub!</p>
<p>Glowing bear is built by a small group of developers in their free time. As we're always trying to improve it, we would love getting your feedback and help. If that sounds like something you might enjoy, check out our <ahref="https://github.com/glowing-bear/glowing-bear">project page</a> on GitHub!</p>
<p>If you're interested in contributing or simply want to say hello, head over to <strong>#glowing-bear</strong> on <strong>freenode!</strong> We won't bite, promise (-ish).</p>
<p>If you're interested in contributing or simply want to say hello, head over to <strong>#glowing-bear</strong> on <strong>freenode!</strong> We won't bite, promise (-ish).</p>
<tdclass="prefix"><ang-click="addMention(bufferline.prefix)"><spanng-repeat="part in bufferline.prefix"bo-class="part.classes"bo-html="part.text"></span></a></td>
<tdclass="prefix"><ang-click="addMention(bufferline.prefix)"><spanng-repeat="part in bufferline.prefix"bo-class="part.classes"bo-html="part.text"></span></a></td>
<tdclass="message">
<tdclass="message">
<divng-repeat="metadata in bufferline.metadata"plugindata="metadata"></div>
<divng-repeat="metadata in bufferline.metadata"plugindata="metadata"></div>
<spanng-repeat="part in bufferline.content"class="text"bo-class="part.classes"bo-html="part.text|irclinky:'_blank'"></span>
<spanng-repeat="part in bufferline.content"class="text"bo-class="part.classes"bo-html="part.text|irclinky:'_blank' | inlinecolour"></span>