Space - Server apps and automation in a nutshell

Space is a free, open source and GPL licensed automation tool with a very small footprint.

Space only depends on Bash and it's exported scripts only depends on the simpler POSIX shell, so it practically runs anywhere.

Space uses a modular decentralized system for the sharing and reusing of components.

You can build shell scripts applications using space, and you can use space as a command line tool to expand your terminal powers.

How about SSH'ing into a host behind a firewall using a jump host:

space -m ssh /ssh/ -e SSHHOST=jumpIP,hostIP -e SSHUSER=jumpUser,hostUser \
-e SSHKEYFILE=jumpKeyPath,hostKeyPath

How about running the OS module on that host to get some basic info. We just add -m os /info/

space -m ssh /ssh/ -e SSHHOST=jumpIP,hostIP -e SSHUSER=jumpUser,hostUser \
-e SSHKEYFILE=jumpKeyPath,hostKeyPath \
-m os /info/

It can become even more awesome, like tab auto completing filenames inside a container running on a host behind 10 jumphosts


With Space.sh you can do all the above and much, much more.

What is Space for?

Space is for building portable server apps and automation tasks. It is modular and can serve as the foundation of your own tools.

We built Simplenetes using Space

Space is very, very non-intrusive. If you want to manage servers remotely Space would SSH into those servers to run your tasks and never upload anything to the server, nor have any dependencies other than a POSIX shell (ash/dash/bash).

Installing

Space.sh is now in version 1.5.0 and is considered stable. Space.sh already has a bunch of modules you can use. Each module has its own documentation. Space.sh it self has technical documentation.

Automatic Install

curl -s https://get.space.sh | sudo sh

Manual Install

mkdir space
curl -L -O https://space.sh/static/download/space-1.5.0/space-1.5.0.tar.gz
tar xvzf space-1.5.0.tar.gz -C ./space && cd ./space && ./space /install/

To check the GPG signature of the tarball before installing follow these instructions.

Visit the Space.sh project on GitHub.

Community

See the docs about creating your own Space Modules.