Skip to content

hack-pad/hush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

abf2132 · Aug 1, 2021

History

8 Commits
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 29, 2021
Jul 30, 2021
Aug 1, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021
Jul 30, 2021

Repository files navigation

hush CI Coverage Status

A simple Bourne-like shell, compatible with Wasm. Written in Go.

Getting started

Install like any other go library:

go install github.com/hack-pad/hush/cmd/hush@latest

Alternatively, import hush in your own projects:

package main

import (
    "os"
    "github.com/hack-pad/hush"
)

func main() {
    exitCode := hush.Run()
    os.Exit(exitCode)
}

Wasm compatibility

Today, Go's Web Assembly support does not include running processes. To make this possible, Hush is built with hackpad's go fork. The fork contains patches that spawn and manage processes using Node.js's APIs, similar to the Node.js file system API used upstream.

About

A simple Bourne-like shell, compatible with Wasm. Written in Go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published