Giter Club home page Giter Club logo

peerbot's People

Contributors

calvinmetcalf avatar feross avatar flet avatar ungoldman 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

peerbot's Issues

add help & version info

would be nice to meet some basic CLI expectations, e.g.

$ peerbot --version
0.1.1
$ peerbot --help
<peerbot CLI usage info goes here>

improve channel specification method

As of 0.1.1 you need to specify a --channel= arg for each channel you want peerbot to seed, as in

peerbot --channel=cats --channel=friends-ui --channel=dat

This is not ideal! I think a better pattern would be

peerbot --channel=cats,friends-ui,dat

Use node-webrtc

Wouldn't it make more sense to use node-webrtc for the webrtc-swarm to avoid having to use electron-spawn to run the bot?

Example from webrtc-swarm:

var sw = swarm(hub, {
  wrtc: wrtc
})

Or am I missing something crucial?

add rebuild command

The local leveldb database often needs to be rebuilt during development. It would be nice to have a command to do so without needing to either clone the repo and develop locally or uninstall and reinstall the module globally. Something like

peerbot rebuild

makes sense to me

module design

This seems to be running fine without globally installed electron-prebuilt & electron-spawn.

Tested on two machines after npm uninstall -g electron-prebuilt electron-spawn.

Other than the undesirable requirement of a large download during the npm install step, this seems to be in working shape.

Wanted to open it up for discussion in case I'm missing something as I know @maxogden had reservations about doing it this way.

edit: this is a bad idea

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.