Skip to content
forked from clostra/newnode

NewNode decentralized Content Distribution Network

License

Notifications You must be signed in to change notification settings

Sajjad0000/newnode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewNode

Integration status

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

Add this repo as a Swift Package.

ObjC:

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

Swift:

let config = URLSessionConfiguration.default
config.connectionProxyDictionary = NewNode.connectionProxyDictionary
let session = URLSession(configuration: 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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 59.9%
  • Objective-C 21.9%
  • Java 9.1%
  • Dart 4.4%
  • Swift 2.3%
  • Shell 2.1%
  • Other 0.3%