gobox

Something like busybox in pure Go

  • 所有者: surma/gobox
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

GoBox v0.3.1

GoBox is supposed to be something like BusyBox. I.e.
a single, preferably small executable which bundles all important shell tools.
A swiss army knife for the command line, if you will.
It is being developed with a focus on Amazon EC2 or as
a small footprint basis for an OpenVZ template.

In order to keep the source code and executable small, I have cut a lot of options
you might be used to from GNU Coreutils or
similar. I might even have less options than BusyBox itself. I certainly have
fewer applets right now, and probably ever will. But I consider that a good thing.

Pitfalls

  • The shell is not a bash, sh or zsh. It is something original, written by me and
    is fairly limited. It does the job of acting as a shell, it‘s hardly adequate for
    scripting, though.
  • Telnetd has no authentication mechanism right now. It’s noting more than a
    network-capable pipe.

Installation

GoBox is now go get-able.

Developing applets

  • Copy applets/template and name the copy like your applet
  • Rename template.go and edit its contents to fit your applet
  • Add your applet to cmd/gobox/applets.go

The template provides the basic framework you should stick to.

Why is there not real shell?

I got this question a lot and I have 2 main reasons:

  • I seriously did not want to implement the broken and god-awful syntax of bash
    or any other currently used shell!
  • You have Go. Do you need anything more lightweight? The philosohpy behind this
    project is that it is cheap to (re)build and deploy. You don’t really use
    scripting anymore. If you need to automate some process, write an applet in Go and
    integrate it with GoBox and push it.

Bugs

Probably

Contact

If you have ideas for missing applets, found a bug or have a suggestion, use
this project’s issues.
If you want to participate, just fork and code away. For questions contact me:
surma@surmair.de

Thanks

Credits

(c) 2011-2014 Alexander "Surma" Surma surma@surmair.de

主要指标

概览
名称与所有者surma/gobox
主编程语言Go
编程语言Go (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2011-08-05 10:15:16
推送于2019-04-22 15:10:31
最后一次提交2017-03-06 22:33:27
发布数6
最新版本名称0.4.0 (发布于 2014-05-20 13:52:10)
第一版名称v0.1 (发布于 2011-08-10 02:47:22)
用户参与
星数239
关注者数9
派生数27
提交数135
已启用问题?
问题数4
打开的问题数0
拉请求数4
打开的拉请求数2
关闭的拉请求数7
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?