Homelander – Simple shell command supervision powered by Erlang/OTP

Homelander is a small CLI utility that lets you supervise a bunch of shell commands, possibly recurring, all defined within one simple config file. It relies on Erlang/OTP for robustness.

I wanted to share it because it includes bits of code that could be useful to other Elixir developers:

  • packaged as a ~5MB self-contained executable using makeself (no dependencies on an existing Erlang runtime) with this script
  • filesystem watching in one file with no dependencies that you can easily add to your own project, it uses watchman
  • simple exponential backoff for Supervisor, in one file with no dependencies
  • simple parser in one file with no dependencies
5 Likes