Coder Social home page Coder Social logo

jabber-bot's People

Contributors

brettstimmerman avatar lucaswilric avatar nstielau avatar phinze avatar thelarkinn avatar tit avatar vivien 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jabber-bot's Issues

Crash when accidentally outputting bash color codes

Hi,

I use jabber-bot to (basically) execute some shell commands, and return the output to the user.

The output sometimes contains bash color codes, and when I try to return this output, the jabber-bot goes offline without any error message, but the script still running (and doing nothing).

That error was really hard to find out.

For now I solved it (for my case) by a

output.gsub(/\x1b\[.{1,5}m/, '').gsub(/\x1b\[K/, '');

Before returning the command output.

To help others to not get into the same problem, maybe jabber-bot should "disarm" strings sent back to the server (or at least raise an exception when it fails).

100% usage

Program using jabber-bot gem will cause 100% CPU usage by ruby interpreter in case one of the masters' jid is on the server which is currently unavailable due to network conditions.

How to use this bot for a dumb beginner

Hi, this is not really an issue but more me being a newbie, but I can't find any ressources, I've never heard of ruby gems in the past, I'm documenting myself but I'm no dev.

Could you help me understand how to install and get this bot to work ? I've installed rubygems (I'm under devuan jessie GNU/Linux) and also I found jabber::simple (aka xmpp4-something) and git cloned the two repositories, I then tried a lot of ruby commands:
ruby build
ruby rake
...
but I just don't get it. What do I need to do to build from the sources ?

Thanks in advance for any help.

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.