Giter Club home page Giter Club logo

nodebase's Introduction

NodeBase

Android NodeJS Platform to Build Sharable Application (Android as a Server)

Share application with your friends in the same Wi-Fi!

Build IoT edge on your phone; smart your home!

How to use

  • build to generate apk
  • install the apk on Android phone
  • click "Reset" in right-top menu will donwload NodeJS binary and copy to app scope target
  • (notice that in this repo, there is no NodeJS binary provided, download latest) put compiled NodeJS binary to /sdcard/.nodebase/.bin/node
  • click "Node Upgrade" to update NodeJS binary for NodeBase
  • do npm install in modules folder
    • to make node-gyp work, download GCC4droid from for example Google Play Store and then unzip the apk to get android gcc
  • adb push entire modules as /sdcard/.nodebase

How to share apps

  • Service Share
  Write nodeJS server program and listen on 0.0.0.0
  (set `app_manager` as an example; if listen on 127.0.0.1, local use only)
  "Start" app and share IP and port to near device
  • Copy Share
  read the label on top of another Nodebase "Network (xxx.xxx.xxx.xxx)"
  click "Install App Manager" in right-top menu
  "Refresh" application list
  "Start" app manager and "Open" in browser
  "Start" app manager in another Android
  type xxx.xxx.xxx.xxx:20180 under "Shared Application" and click "Enter"
  select an app and click to enter
  click "Import" to get app
  then NodeBase Application Manager will make a copy of the app on local

FAQ

  • "Network" shows 0.0.0.0?
    • A: probably not connect to Wi-Fi; not support start service on Internet.

Modules

Screenshots

nodebase's People

Contributors

dna2github avatar gabrielfern avatar

Watchers

James Cloos avatar Marcelo Darocha avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.