Socket
Book a DemoInstallSign in
Socket

meshchat

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meshchat

0.12.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

#Meshchat Core Build Status Code Climate Test Coverage

This is the core functionality for implementing a mesh-chat compatible client in ruby

Documentation

#Usage

See Spiced Rumby (GUI wrapper around this gem)

In order to use meshchat with your own interface, you only need to pass in your own implementation of Display::Base

Optionally, you may pass in a notifier to have the mesh-chat trigger notifications for your system

Meshchat.start(
  # name of your client
  client_name: Meshchat.name,
  # version of your client
  client_version: Meshchat::VERSION,
  # your class implementing `Meshchat::Ui::Display::Base`
  display: Meshchat::Ui::Display::Base,
  # your class implementing `Meshchat::Ui::CLI::Base`
  input: Meshchat::Ui::CLI::KeyboardLineInput,
  # (optional) your class implementing `Notifier::Base`
  # typically, this hooks in to libnotify on *nix
  notifier: Meshchat::Ui::Notifier::Base,
)

For a lightweight, runnable sample for how to invoke this, see the included run script.

Development

Running

./run

Tests

rspec

Line Count

loco

FAQs

Package last updated on 14 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.