Awesome
a-Shell-commands
shell commands, pre-compiled to webAssembly, ready to use in a-Shell
Purpose
a-Shell is a terminal for iOS. Several commands are provided, pre-compiled to iOS format. With the latest release (1.4.x), you can also execute commands compiled to webAssemly (wasm). If the command creates, writes or reads local files, it is best to use the specific WASI-sdk to compile them.
Once compiled to webAssembly, binaries can be shared with other users of a-Shell. Click on the command you want, download it to your iPad or iPhone, move it to ~/Documents/bin/
and use it (a-Shell will add ".wasm" at the end and call the webAssembly JIT compiler on commands that are in the PATH).
file, ffmpeg, tree, ctags, readtags and xz are also part of the a-Shell AppStore release.
The idea is that we can share pre-compiled commands. Submit yours through pull-requests.
List of commands, with their source code:
- base64: http://base64.sourceforge.net
- f2c: http://www.netlib.org/f2c/
- json2csv: http://github.com/buger/jsonparser/
- lzmadec, lzmainfo: https://git.tukaani.org/xz
- sqlite3: https://www.sqlite.org/index.html
- zip, unzip, zipcloak, zipnote, zipsplit, funzip, unzipsfx: http://infozip.sourceforge.net/UnZip.html
Commands already included in a-Shell (with their source code):
- ctags/readtags: https://github.com/universal-ctags/ctags/
- file: https://github.com/file/file/
- ffmpeg: https://www.ffmpeg.org (a-Shell has a native version of ffmpeg, but you can try this webAssembly version for comparison)
- ffmpeg (all codecs enabled, external libs: libx264, zlib: 18 MB)
- ffprobe (all codecs enabled, external libs: libx264, zlib: 18 MB)
- ffmpeg_lite (decoders: H263, H264, Mpeg4, MKV, AAC, AC3 only, 3.2 MB)
- tree: http://mama.indstate.edu/users/ice/tree/
- xz, xzdec: https://git.tukaani.org/xz