moose-team/peerbot

Name: peerbot

Owner: MOOSE Team

Description: :radio: Message seeding utility for friends P2P chat.

Created: 2015-04-29 23:57:01.0

Updated: 2018-05-08 21:29:48.0

Pushed: 2016-08-26 01:59:58.0

Homepage:

Size: 16

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

peerbot

npm travis

Message seeding utility for friends p2p chat.

Run this on a server to ensure that there will always be a peer available to connect to for a given channel on friends.

Install
  1. Use newest io.js and npm (>= 1.8.1, >= 2.8.3).
  2. Install electron-prebuilt & electron-spawn globally.
  3. Install peerbot globally.
install -g peerbot
Usage
bot

peerbot always seeds the #friends channel. Pass --channel=mychannel to also seed another channel.

bot --channel=cats

You can specify as many channels as you want with multiple --channel flags.

Running on headless Ubuntu

If you're running peerbot on headless Ubuntu, you will need to use xvfb-run to create a virtual display so that Chromium can run:

do apt-get install xvfb
fb-run peerbot

Also you may need to apt-get install libgconf-2-4

Build and run peerbot locally

Same requirements as in Install.

clone git@github.com:moose-team/peerbot.git
eerbot
install
run rebuild-leveldb
start
Contributing

Contributions welcome! Please read the contributing guidelines first.

License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.