Ghostty without the "G". Hostty shows each process through libghostty-vt, the terminal engine of Ghostty, and it serves your local hosts in a terminal.
Hostty starts the processes of a project, such as a Rails server, a Jekyll site, and Solid Queue, and shows each one in its own tab. It can give any process a local domain with SSL, such as https://shop.test, through ruby-nginx.
Hostty adds the domains before it starts any process, in your real terminal, so a password prompt works. Each process runs in its own terminal inside hostty, so binding.irb, debugger, and password prompts work inside a process too.
Hostty needs Ruby 3.2 or later, on macOS or Linux.
gem install hosttyThe gem for macOS and Linux, on both ARM and Intel, includes libghostty-vt, which shows each process in its tab. On another platform, install libghostty-vt with your package manager, or use the plain output.
-
Add a
.hostty.ymlfile to the root of your project:processes: web: command: "bin/rails server -p $PORT" domain: "shop.test" ssl: true docs: "bundle exec jekyll serve --port $PORT" jobs: "bin/jobs"
-
Run hostty from the same directory:
hostty
-
Open
https://shop.testin a browser. -
Press Ctrl-C twice to stop every process and quit.
- Features: the config file, the command line, domains, tabs, and stopping.
- Development: setup, tests, and how hostty works.
Hostty is open source under the MIT License. The gems with libghostty-vt inside also include code under other licenses, listed in the third-party notices.