Harrm / newnode

NewNode decentralized Content Distribution Network

Home Page:http://newnode.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NewNode

Integration status

Codacy Badge GitHub release Carthage compatible

Android

Add to your build.gradle:

implementation 'com.clostra.newnode:newnode:+'

Add to your Application or Activity:

import com.clostra.newnode.NewNode;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    NewNode.init();
    ...
}

See android/examples/WebViewSample for an example.

iOS

Carthage

Add to your Cartfile:

github "clostra/newnode"

Cocoapods

Add to your Podfile:

pod 'NewNode'

Add to your NSURLSession:

NSURLSessionConfiguration *config = NSURLSessionConfiguration.defaultSessionConfiguration;
config.connectionProxyDictionary = NewNode.connectionProxyDictionary;
NSURLSession *session = [NSURLSession sessionWithConfiguration:config];

See ios/examples/CustomHTTPProtocol for an example.

macOS / Linux

Clone this repo and build NewNode:

git clone --recurse-submodules https://github.com/clostra/newnode.git
cd newnode
./build.sh

Then, run it:

./client

About

NewNode decentralized Content Distribution Network

http://newnode.com

License:GNU General Public License v2.0


Languages

Language:C 60.6%Language:Objective-C 25.2%Language:Dart 5.6%Language:Java 4.6%Language:Shell 2.3%Language:Swift 1.4%Language:HTML 0.2%Language:Ruby 0.1%