Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

planktos

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

planktos

A library for making p2p web apps

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by166.67%
Maintainers
1
Weekly downloads
 
Created
Source

Planktos

Join the chat at https://gitter.im/planktos-xyz/planktos Build Status

Planktos is a library for building p2p web applications. A simple push/pull interface is provided for storing and retreiving data in a distributed way; so all the data is stored on the peers visiting the website and not on any servers. The code is in an early alpha state so there are bound to be bugs and inefficiencies. If you want to help out, join us on gitter or try out our live demo at chatter.planktos.xyz.

Setup - start hacking

To get setup, NodeJs and it's package manager npm will need to be installed. Once installed, clone the repo and run npm install from within the project root to install all the dependcies. Once the project moves out of the alpha state, npm and bower modules will be made available for the code.

Running and Building

There are three main components to this repo:

  1. Server - keeps track of the peers in the network and forwards webrtc signaling information
  2. Library - Browser code that handles all the storing, retrieving, and discovering data in the network. All of this code is written in typescript.
  3. App - A demo application that utilizes the library to run a post-based website were users can create and view posts.

Running npm start from within the project root will compile everything and start an http server on port 8000 serving the demo app. When file changes are detected, the code is automatically recompilled. Alternatively, you can run npm run gulp -- build-lib to just build the lib, but not start the server.

Opening up a web browser and pointing it to http://localhost:8000/ will load the demo app.

Project layout

├── test        # Stores the tests
├── app         # Demo web app that utilizes planktos
├── lib         # Meat of the project. Houses the p2p code written in typescript
├── build       # Compiled output for `app` and `lib`
└── README.md   # This file

Keywords

FAQs

Package last updated on 12 Jun 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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc