From ea9402089eb700707a55f5ffc59f1a7a2151e377 Mon Sep 17 00:00:00 2001 From: David Cormier Date: Fri, 14 Feb 2014 12:30:16 -0500 Subject: [PATCH] Move templates to their own files --- index.html | 304 +------------------------------------ js/glowingbear.js | 8 +- templates/glowingbear.html | 156 +++++++++++++++++++ templates/index.html | 145 ++++++++++++++++++ 4 files changed, 309 insertions(+), 304 deletions(-) create mode 100644 templates/glowingbear.html create mode 100644 templates/index.html diff --git a/index.html b/index.html index 20897d2..c6ef548 100644 --- a/index.html +++ b/index.html @@ -31,308 +31,6 @@ -
-

- logo - glowing bear - - WeeChat web frontend - -

-
- Connection error The client was unable to connect to the WeeChat relay -
-
-
- -
-
- -
-
-
-
- -
-
-

Configuring the relay

-
To start using glowing bear, please enable the relay plugin in your WeeChat client: -
-/set relay.network.password yourpassword
-/relay add weechat 9001
-
- WeeChat version 0.4.2 or higher is required.
- The communication goes directly between your browser and your WeeChat relay in plain text. Check the instructions below for help on setting up encrypted communication. - Connection settings, including your password, are saved locally in your own browser between sessions. -
-

Shortcuts

- Glowing Bear has a few shortcuts: -
    -
  • ALT+n: Toggle nicklist
  • -
  • ALT+l: Focus on input bar
  • -
  • ALT-[0-9]: Focus on buffer
  • -
  • ALT-a: Focus on next buffer with activity
  • -
  • CTRL+G: Focus on buffer list filter
  • -
  • escape: disconnect
  • -
  • arrow keys: history navigation
  • -
-
-
-
-
-
- -
-
- If you check the encryption box, the communication between browser and WeeChat will be encrypted.
- Note: Due to a bug encryption will not work in Firefox. Unless you are using a certificate trusted by your browser, you must also first visit the URL https://weechathost:relayport/ to mark the certificate as trusted.

- If you want to use an encrypted session you first have to set up the relay to use SSL. It is easiest to use a self-signed certificate, which you can create like this: -
-$ mkdir -p ~/.weechat/ssl
-$ cd ~/.weechat/ssl
-$ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out relay.pem
-
- If WeeChat is already running, you can reload the certificate and private key and set up an encrypted relay on port 8000 with these commands: -
-/relay sslcertkey
-/relay add ssl.weechat 8000
-
-
-
-
-
- -
-
-

If you have a recent version of Firefox you can install glowing bear as an app. Click the button to install.

- -
-
-
-
- -
-
-

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 project page on GitHub!

-

If you're interested in contributing or simply want to say hello, head over to #glowing-bear on freenode! We won't bite, promise (-ish).

-
-
-
-
-
- -
-
-
- - brand - - -
-
-
- - - - -
-
- -
-
-
    -
  • - -
  • -
-
- - - - - - - - - - - - - - - - - - -
- Fetch more lines - Fetching more lines... -
- - : - - -
-
-
- -
-
-
-
-
-
-