Git Product home page Git Product logo

weecloud's Introduction

WeeCloud

Node.js library for relaying WeeChat to a webapp

Relaying with weechat.js

Usage

WeeChat

Require WeeChat 0.3.7.
Start WeeChat Relay Protocol:

/set relay.network.password test
/relay add weechat 8000

Running locally

git clone https://github.com/eirikb/weecloud
cd weecloud
npm install
node app.js

weechat will run on a default port of 3000.

Contribution

Contributers:

Special thanks to:

  • xt
  • FlashCode

License

MIT License (c) Eirik Brandtzæg

weecloud's People

Contributors

eirikb avatar ioga avatar taiyoh avatar victorioberra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

weecloud's Issues

Tab activity

Current tab activity does not work, as it's difficult to know if a message was from a real nick or some event.
Using nicklist to check prefix against might help

Tabs dropdown

Use bootstrap tab dropdown for windows containing several buffers

crash when close browser

When i just close the browser, weecloud crashed

TypeError: Object # has no method 'disconnect'
at Socket. (/home/markuman/weecloud/lib/weecloud.js:113:12)
at Socket.EventEmitter.emit as $emit
at Socket.onDisconnect (/home/markuman/weecloud/node_modules/socket.io/lib/socket.js:153:10)
at SocketNamespace.handleDisconnect (/home/markuman/weecloud/node_modules/socket.io/lib/namespace.js:229:46)
at Manager.onClientDisconnect (/home/markuman/weecloud/node_modules/socket.io/lib/manager.js:501:29)
at WebSocket.Transport.end (/home/markuman/weecloud/node_modules/socket.io/lib/transport.js:467:20)
at WebSocket.Transport.onSocketEnd (/home/markuman/weecloud/node_modules/socket.io/lib/transport.js:147:8)
at Socket.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:910:16
at process._tickCallback (node.js:415:13)

or am i blind and haven't found an exist button?

Mobile navigation

Need a new and fancy way to navigate when using mobile. Tabs does not work very well on small screens

Colors

Colors does not work. Also unwanted dependency to format.
FlashCode will make docs for color codes

weecloud fail on ssl.weechat relay.

Hi,

I have created a relay with /relay add ssl.weechat port.
The Weechat Android application is working well with it, but weecloud is making this error:

relay: la poignée de main (handshake) de TLS a échoué pour le client 5/ssl.weechat/::ffff:165.225.134.101: erreur -15 Un paquet TLS incorrect a été reçu.

Local weecloud is worse, gives me:

Wed Apr 03 2013 22:57:43 GMT+0200 (CEST) '10.8.0.2'

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: read ECONNRESET
    at errnoException (net.js:878:11)
    at TCP.onread (net.js:539:19)

Numbers before Usernames

I have the strange occurence of numbers before usernames

Like "user" becomes "2user" in the chat pane, but not in the nicklist.

Nick-Completion works without the number in front.

Any questions let me know.

best regards
Chris

Hotkeys

Implement some of the standard hotkeys, such as alt+a, alt+h, ctrl+n and ctrl+p

Channels don't close on /close ?

Either from weecloud or weechat, either with "/close" or "/close #channel" (the latter from the channel itself or another tab).

From weechat, a channel will close as per normal, but the channel remains open in weecloud. Nothing happens at all from weecloud.

Secure connection

Connection between weecloud and clients is currently insecure.
Don't think weechat support this, so stunnel might be a workaround.
Look at require('tls')

_nicklist

_nicklist is frequently sent to clients, this is causing large amount of bytes going over the cable.
Disabling nicklist sync might help

Running locally

The current version can be run locally without any problems, but it is not aimed at one single user, and
it is not locked down. Would simply be like running weecloud.jit.su just from another computer.
Should support:

  • 1 global password, then autoconnect to defined (configured) host, port and weechat password.
  • Defined (configured) host, can set port and pass. This allows running on multi-user systems. weechat password will suffice
  • WeeCloud version, totally open. Users set host, port and password

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.