Skip to content

caoccao/JavetShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javet Shell

Android Build Console Build

Javet Shell is a console or Android application that provides Node.js flavored console interactions. It is a sample application of Javet.

Features

Quick Start

Android

  • Download the apk file from the latest action.
  • Install the apk file.

Please refer to Android (Node) or Android (V8) for details.

Console

Usage: Javet Shell options_list
Options:
    --debugPort, -p [9229] -> Debug port { Int }
    --runtimeType, -r [V8] -> JS runtime type { Value should be one of [node, v8] }
    --scriptName, -s [main.js] -> Script name { String }
    --verbose, -v [false] -> Verbose
    --help, -h -> Usage info

Manual

  • Download the jar file from the latest action.
  • Run java -jar javet-shell-0.1.0.jar

Docker

  • Run the following command to run the Docker container.
# amd64
docker run --rm -it -p 9229:9229 --entrypoint bash sjtucaocao/javet-shell:amd64-latest
# arm64
docker run --rm -it -p 9229:9229 --entrypoint bash sjtucaocao/javet-shell:arm64-latest
  • Run the following command to start the JavetShell console.
# amd64
./javet-shell-node.sh
# arm64
./javet-shell-v8.sh

Please refer to this page for details.

License

APACHE LICENSE, VERSION 2.0

About

Javet Shell is a console or Android application that provides Node.js flavored console interactions. It is a sample application of Javet.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published