Skip to content

Stupid simple interface for sh/interp.

License

Notifications You must be signed in to change notification settings

Melkor333/web_shell

 
 

Repository files navigation

Proof-of-concept shell interface outside a terminal.

This works with bash and the Go sh/interp package.

Build with:

go generate
go build

Run:

./web_shell
# Or, to get rid of the controlling terminal:
# (requires using `kill` to exit)
setsid ./web_shell

Clean:

rm web_shell lib/inject_tcsetpgrp.so web/assets/*
# optionally delete all node modules
rm -r node_modules

Shift-Enter to enter a new line.
Ctrl-C to interrupt a running command.
Double-click to collapse a command's output.

It's horrible in many ways. Most notably, the shell interpreter instance is global.

About

Stupid simple interface for sh/interp.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 31.5%
  • Go 27.2%
  • Shell 19.0%
  • CSS 17.2%
  • C 3.7%
  • HTML 1.4%