All Projects → dna2github → Nodebase

dna2github / Nodebase

Licence: apache-2.0
Android NodeJS Platform to Build Sharable Application

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Nodebase

Protime
📱⏰ Mobile application for tracking projects time written in Flutter!
Stars: ✭ 31 (-63.95%)
Mutual labels:  apk
Node Google Play Cli
command line tools using the node-google-play library
Stars: ✭ 58 (-32.56%)
Mutual labels:  apk
Gradle Android Apk Size Plugin
Gradle plugin that generates CSV files with apk size per output and variant of an apk
Stars: ✭ 79 (-8.14%)
Mutual labels:  apk
Apkverifier
APK Signature verification in Go. Supports scheme v1, v2 and v3 and passes Google apksig's testing suite.
Stars: ✭ 39 (-54.65%)
Mutual labels:  apk
Hellomello
Experiments with writing Android apps in Nim
Stars: ✭ 47 (-45.35%)
Mutual labels:  apk
Website 2 Apk Builder
Convert your Website to a working Android App. Supports html, php, htm, js, css. Build app from any website or from local directory.
Stars: ✭ 67 (-22.09%)
Mutual labels:  apk
Android Classyshark
Android and Java bytecode viewer
Stars: ✭ 6,930 (+7958.14%)
Mutual labels:  apk
Updater
基于DownloadManager封装的更新器,使用超简单!
Stars: ✭ 82 (-4.65%)
Mutual labels:  apk
Nfpm
NFPM is Not FPM - a simple deb, rpm and apk packager written in Go
Stars: ✭ 1,088 (+1165.12%)
Mutual labels:  apk
Vab
V Android Bootstrapper
Stars: ✭ 77 (-10.47%)
Mutual labels:  apk
Goreleaser
Deliver Go binaries as fast and easily as possible
Stars: ✭ 9,290 (+10702.33%)
Mutual labels:  apk
Apkupdater
APKUpdater is an open source tool that simplifies the process of finding updates for your installed apps.
Stars: ✭ 1,028 (+1095.35%)
Mutual labels:  apk
Kivy Apk
Vbox+Ubuntu16.04打包生成kivy apk
Stars: ✭ 74 (-13.95%)
Mutual labels:  apk
Apk Dependency Graph Plugin
Displays dependencies between classes as fancy graph.
Stars: ✭ 36 (-58.14%)
Mutual labels:  apk
Chatter App
This is a flutter based modern messaging app where users can sign up and log in to chat with their friends, family, colleagues among groups with enriched User-Experience.
Stars: ✭ 80 (-6.98%)
Mutual labels:  apk
Phonesploit
Using open Adb ports we can exploit a Andriod Device
Stars: ✭ 854 (+893.02%)
Mutual labels:  apk
Mlmanager
A modern, easy and customizable app manager for Android with Material Design
Stars: ✭ 1,118 (+1200%)
Mutual labels:  apk
Androidanimationexercise
Android 动画各种实现,包括帧动画、补间动画和属性动画的总结分享
Stars: ✭ 1,254 (+1358.14%)
Mutual labels:  apk
Backgroundupdate
后台更新APP(两句代码实现)
Stars: ✭ 80 (-6.98%)
Mutual labels:  apk
Mobile Security Framework Mobsf
Mobile Security Framework (MobSF) is an automated, all-in-one mobile application (Android/iOS/Windows) pen-testing, malware analysis and security assessment framework capable of performing static and dynamic analysis.
Stars: ✭ 10,212 (+11774.42%)
Mutual labels:  apk

NodeBase

Android NodeJS Platform to Build Sharable Application

Running Node.js application over Wifi and share with your friends.

For previous mature version, please explore source code on kotlin branch.

Currently we are redesigning whole NodeBase based on Flutter.

How to use

  • Create a new platform, for example named node
    • fill node url like file:///sdcard/bin-node-v10.10.0 or https://example.com/latest/arm/node
    • click download button and wait for task complete
    • (NodeBase will copy the binary to its app zone and make it executable)
    • Wow; now we not only support node binary but also customized exectuables.
  • Create a new app, for example named test and its platform is node
    • click into the new app
    • download an app zip into for example /sdcard/test.zip
    • fill Import / Export text field with /sdcard/test.zip
    • click upload button and wait for task complete
    • (NodeBase will extract zip app as a app folder into app zone)
    • fill Params text field (for example, file manager need to config target folder as first param)
    • click play button to start node app
    • click open in browser button to open the app in a webview / pop-out button to open in external browser
    • click stop button to stop node app

App folder structure

/<app_name>/config.json
{
   "host": "http://127.0.0.1"
   "port": 0,
   "home": "/index.html",
   "entry": "index.js"
}

/<app_name>/static/index.html
[...] source code frontend client

/<app_name>/index.js
ref: https://github.com/stallpool/halfbase/tree/master/nodejs/tinyserver/index.js
[...] source code for backend server
[...] hook `/index.html` to load `/app/static/index.html`

App examples: https://github.com/nodebase0, includes file-viewer-uploader, nodepad, ...

Development

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

NodeJS/Python binary for ARM

ref: https://github.com/dna2github/dna2oslab/releases/tag/0.2.0-android-gt6-arm

Java binary

write a shell script java and adb push java /sdcard

#!/system/bin/sh

exec dalvikvm [email protected]

create a new platform in NodeBase and download java wrapper from file:///sdcard/java

then write a command line tool to have a try. ref: https://github.com/dna2github/dna2sevord/tree/master/past/others/walkserver/javacmd

Golang binary
# download go source package and extract
cd src
GOOS=android GOARCH=arm64 ./bootstrap.bash

tar zcf go-android-arm64-bootstrap.tar.gz go-android-arm64-bootstrap
adb push go-android-arm64-bootstrap.tar.gz /sdcard/
# we suggest write a javascript script to set up golang environment on your Android
# to extract tar package to NodeBase app zone /data/user/0/net.seven.nodebase/
# e.g. /data/user/0/net.seven.nodebase/go-android-arm64-bootstrap

write a shell script go and adb push go /sdcard

#!/system/bin/sh

SELF=$(cd `dirname $0`; pwd)
BASE=/data/user/0/net.seven.nodebase/go-android-arm64-bootstrap
CACHEBASE=${BASE}/cache
mkdir -p ${CACHEBASE}/{cache,tmp,local}
export GOROOT=${BASE}
export GOPATH=${CACHEBASE}/golang/local
export GOCACHE=${CACHEBASE}/golang/cache
export GOTMPDIR=${CACHEBASE}/golang/tmp
export CGO_ENABLED=0
exec ${BASE}/bin/go run [email protected]

create a new platform in NodeBase and download go wrapper from file:///sdcard/go;

then write a tiny server to have a try. ref: https://github.com/stallpool/halfbase/blob/master/golang/tinyserver/main.go

Notice

currently NodeBase support kill a program with 1-level children, for example go run main.go will spawn a child process main; if click on stop button, NodeBase can kill the go run and its child main.

if remove exec in the go wrapper shell script, the shell script will run in sh, it spawn go run and the go run spawn main; when stop the application, NodeBase will merely kill sh and its child go run; but main will still be running there, which may cause next start failure (like port has already been used) and need to kill whole NodeBase for cleanup.

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].