https://github.com/kr1sp1n/devon
deno as cross-plattform shell
https://github.com/kr1sp1n/devon
deno shell
Last synced: about 2 months ago
JSON representation
deno as cross-plattform shell
- Host: GitHub
- URL: https://github.com/kr1sp1n/devon
- Owner: kr1sp1n
- License: mit
- Created: 2020-08-13T18:59:21.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-17T23:16:40.000Z (almost 6 years ago)
- Last Synced: 2025-01-30T23:30:57.525Z (over 1 year ago)
- Topics: deno, shell
- Language: JavaScript
- Homepage:
- Size: 36.1 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# devon
[](https://travis-ci.com/kr1sp1n/devon)
deno as cross-plattform shell
The idea is to have most of the busybox commands in some kind of shell inside deno runtime.
I try to use only runtime API and standard library. No third party modules.
## run
```bash
git clone git@github.com:kr1sp1n/devon.git
cd devon
deno run -A --unstable --quiet src/index.js
```
## install as executable
```bash
deno install -A --unstable -n devon -f -q https://raw.githubusercontent.com/kr1sp1n/devon/master/src/index.js
```
## current commands
* `add` - load command with own alias from URL -> `add ls http://localhost:5000/src/commands/ls.js`
* `cat`
* `cd`
* `curl` - simple http client -> `curl https://example.com`
* `env`
* `exit`
* `gemini` - a simple gemini client -> `gemini gemini.circumlunar.space`
* `grep`
* `ls`
* `mkdir` - the default is with `-p`
* `pwd`
* `touch`
## run tests
```bash
deno test --unstable -A
```
## build docker image
```bash
docker build -t kr1sp1n/devon .
```
## run with docker
```bash
docker run -it --rm kr1sp1n/devon
```