moose-team / peerbot Goto Github PK
View Code? Open in Web Editor NEW:radio: Message seeding utility for friends P2P chat.
License: MIT License
:radio: Message seeding utility for friends P2P chat.
License: MIT License
would be nice to meet some basic CLI expectations, e.g.
$ peerbot --version
0.1.1
$ peerbot --help
<peerbot CLI usage info goes here>
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
Would be nice for stuff like moose-team/friends#80.
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?
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.