All Projects → InstantWebP2P → Node Android

InstantWebP2P / Node Android

Licence: other
Run Node.js on Android by rewrite Node.js in Java

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Node Android

Swarm
swarm docs
Stars: ✭ 403 (-30.03%)
Mutual labels:  p2p
Kraken
P2P Docker registry capable of distributing TBs of data in seconds
Stars: ✭ 4,849 (+741.84%)
Mutual labels:  p2p
Firo
The privacy-focused cryptocurrency
Stars: ✭ 528 (-8.33%)
Mutual labels:  p2p
Decentralized Internet
A SDK/library for decentralized web and distributing computing projects
Stars: ✭ 406 (-29.51%)
Mutual labels:  p2p
Awesome Ethereum
⚡️ Awesome Ethereum Resources
Stars: ✭ 459 (-20.31%)
Mutual labels:  p2p
Xamarin.forms.googlemaps
Map library for Xamarin.Forms using Google maps API
Stars: ✭ 483 (-16.15%)
Mutual labels:  andriod
Torrent
Full-featured BitTorrent client package and utilities
Stars: ✭ 4,138 (+618.4%)
Mutual labels:  p2p
Sciencefair
The futuristic, fabulous and free desktop app for working with scientific literature 🔬 📖
Stars: ✭ 561 (-2.6%)
Mutual labels:  p2p
Berty
Berty is a secure peer-to-peer messaging app that works with or without internet access, cellular data or trust in the network
Stars: ✭ 5,101 (+785.59%)
Mutual labels:  p2p
Awesome Anti Censorship
curated list of open-source anti-censorship tools
Stars: ✭ 521 (-9.55%)
Mutual labels:  p2p
Intellij Generateallsetmethod
Intellij plugin to generate call to setter method value for class
Stars: ✭ 410 (-28.82%)
Mutual labels:  andriod
Fluence
Peer-to-peer computing protocol and licensing system
Stars: ✭ 453 (-21.35%)
Mutual labels:  p2p
Gsnova
Private proxy solution & network troubleshooting tool.
Stars: ✭ 509 (-11.63%)
Mutual labels:  p2p
Reactjs101
從零開始學 ReactJS(ReactJS 101)是一本希望讓初學者一看就懂的 React 中文入門教學書,由淺入深學習 ReactJS 生態系 (Flux, Redux, React Router, ImmutableJS, React Native, Relay/GraphQL etc.)。
Stars: ✭ 4,004 (+595.14%)
Mutual labels:  andriod
Nsmartproxy
NSmartProxy是一款开源免费的内网穿透工具。采用.NET CORE的全异步模式打造。(NSmartProxy is an open source reverse proxy tool that creates a secure tunnel from a public endpoint to a locally service.)
Stars: ✭ 547 (-5.03%)
Mutual labels:  p2p
P
Peer-to-peer networking with browsers
Stars: ✭ 400 (-30.56%)
Mutual labels:  p2p
Cabal Cli
Terminal client for Cabal, the p2p chat platform.
Stars: ✭ 479 (-16.84%)
Mutual labels:  p2p
Peer Pad
📝 Online editor providing collaborative editing in really real-time using CRDTs and IPFS.
Stars: ✭ 564 (-2.08%)
Mutual labels:  p2p
Webtorrent
⚡️ Streaming torrent client for the web
Stars: ✭ 25,554 (+4336.46%)
Mutual labels:  p2p
Pearplayer.js
支持WebRTC的多源多协议混合P2P-CDN的流媒体播放器
Stars: ✭ 512 (-11.11%)
Mutual labels:  p2p

node-android

Android CI

Run Node.js on Android by rewrite Node.js in Java with the compatible API.

third-party: libuvpp, libuv-java JNI code by Oracle.

Build

Clone the code, open Android Studio (1.*) and import the project.

For Eclipse ADT user, refer to ADT branch

Javascript code injection

> adb shell am start -a android.intent.action.VIEW -n com.iwebpp.nodeandroid/.MainActivity -e js "var run = function () { return 'hello world'; } run();"

Features

JS runtime

  • Rhino supported
  • Exposed node-android packages: com.iwebpp.node.http, com.iwebpp.node.stream, com.iwebpp.node.net, etc
  • Exposed node-android classes: com.iwebpp.node.EventEmitter2, com.iwebpp.node.Dns, com.iwebpp.node.Url, etc
  • Exposed node-android native context in JS standard scope as NodeCurrentContext alias NCC
  • Exposed Android API: android.util.Log
  • NodeJS compatible internal modules are available in JS standard scope
  • Exposed WebSocket classes: com.iwebpp.wspp.WebSocket, com.iwebpp.wspp.WebSocketServer

JS usage

  • In case Rhino, create class 'MyScript' extends from com.iwebpp.node.js.rhino.Host
  • Implement 'public String content()' in 'MyScript' to return user script
  • Execute JS engine in a separate Java Thread with 'MyScript.execute()'
  • When authoring script, please use NodeCurrentContext(alias NCC) in node-android API
  • JS API usages details

TODO

  • API doc, more demos
  • JS runtime CommonJS/AMD compliance

Support us

  • Welcome contributing on document, codes, tests and issues

### License

(see LICENSE file)

Copyright (c) 2014-present Tom Zhou([email protected])

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].