Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clostra/newnode
NewNode decentralized Content Distribution Network
https://github.com/clostra/newnode
bittorrent cdn content-delivery decentralized ledbat library network p2p sdk
Last synced: 2 months ago
JSON representation
NewNode decentralized Content Distribution Network
- Host: GitHub
- URL: https://github.com/clostra/newnode
- Owner: clostra
- License: gpl-2.0
- Created: 2017-02-20T06:46:00.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-10T05:39:05.000Z (6 months ago)
- Last Synced: 2024-08-10T06:36:52.549Z (6 months ago)
- Topics: bittorrent, cdn, content-delivery, decentralized, ledbat, library, network, p2p, sdk
- Language: C
- Homepage: http://newnode.com
- Size: 106 MB
- Stars: 447
- Watchers: 27
- Forks: 39
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NewNode
## Integration status
[![GitHub release](https://img.shields.io/github/release/clostra/newnode.svg)](https://github.com/clostra/newnode/releases/)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)## Android
Add to your build.gradle:
```groovy
implementation 'com.clostra.newnode:newnode:+'
```Add to your Application or Activity:
```java
import com.clostra.newnode.NewNode;@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
NewNode.init();
}
```See [`android/examples/WebViewSample`](https://github.com/clostra/newnode/tree/master/android/examples/WebViewSample) for an example.
## iOS
Add this repo as a Swift Package.
ObjC:
```objc
NSURLSessionConfiguration *config = NSURLSessionConfiguration.defaultSessionConfiguration;
config.connectionProxyDictionary = NewNode.connectionProxyDictionary;
NSURLSession *session = [NSURLSession sessionWithConfiguration:config];
```Swift:
```swift
let config = URLSessionConfiguration.default
config.connectionProxyDictionary = NewNode.connectionProxyDictionary
let session = URLSession(configuration: config)
```See [`ios/examples/CustomHTTPProtocol`](https://github.com/clostra/newnode/tree/master/ios/examples/CustomHTTPProtocol) for an example.
## macOS / Linux
Clone this repo and build NewNode:
```bash
git clone --recurse-submodules https://github.com/clostra/newnode.git
cd newnode
./build.sh
```Then, run it:
```bash
./client
```