Project

hostty

0.0
The project is in a healthy, maintained state
Process manager with a CLI that runs the processes of a project and gives each one an optional local domain with SSL through ruby-nginx.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 1.17
 Project Readme

Hostty Hostty

Hostty

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.

Contents

  • Installation
  • Quick Start
  • Documentation
  • License

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 a domain, then shows a Rails server, a Jekyll site, and Solid Queue in tabs, with the URL of each domain in the tab bar and a line of output selected for copying

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.

Installation

Hostty needs Ruby 3.2 or later, on macOS or Linux.

gem install hostty

The 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.

Quick Start

  1. Add a .hostty.yml file 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"
  2. Run hostty from the same directory:

    hostty
  3. Open https://shop.test in a browser.

  4. Press Ctrl-C twice to stop every process and quit.

Documentation

  • Features: the config file, the command line, domains, tabs, and stopping.
  • Development: setup, tests, and how hostty works.

License

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.