Tools

orbit – Distributed, serverless, peer-to-peer chat application on IPFS

orbit

orbit –  Distributed, serverless, peer-to-peer chat application on IPFS

Run

Orbit can be run either in a browser or as a native desktop application. The browser application uses js-ipfs implementation of IPFS. The desktop version uses the go-ipfs implementation of IPFS Electron. Orbit uses orbit-db as its underlaying distributed database.
Desktop

git clone https://github.com/haadcode/orbit.git
cd orbit
npm install
npm start

Browser

Chrome is recommended to run Orbit in the browser.

git clone https://github.com/haadcode/orbit.git
cd orbit
npm install
npm start

Development
Requirements

    Node.js v6.x.x
    npm v3.x.x
    g++, gcc, make (for building native modules)
    python 2 (for building, some native modules need it, node-fibers perhaps?)

Get the source code

git clone https://github.com/haadcode/orbit.git
cd orbit/

Install dependencies

npm install

Run Tests

npm test

Browser app development

NOTE! This is currently not working as described. We’re working to fix it.

cd client/
npm install
npm run dev
# This won’t work. See bug here: __TODO__

This will open webpack dev-server at https://localhost:8000/webpack-dev-server.
Build

cd client/
npm install
npm run build

This will create client/dist directory which contains all the files needed to distribute the Orbit browser application.
Desktop app development

First, start the desktop app in developer mode:

npm run dev:electron

Then, start the UI development environment:

cd client/
npm install
npm run dev

Build

Run this is in project’s root directory, not in client/.

npm run build

The builds are in dist/.

DOWNLOAD

You Might Also Like

Leave a Reply