GiTTY is a CLI tool built in Go that simplifies SSH connections by managing pre-configured servers directly from your terminal
Find a file
2025-12-15 19:05:05 +01:00
.gitignore Initial commit 2025-02-15 00:00:07 +00:00
gitty.ico Add app icon on windows 2025-03-03 23:14:50 +01:00
go.mod Switch configuration format from JSON to TOML 2025-12-14 15:24:14 +01:00
go.sum Switch configuration format from JSON to TOML 2025-12-14 15:24:14 +01:00
LICENSE Create LICENSE 2025-02-15 14:38:43 +01:00
main.go Make username config field optional 2025-12-15 19:05:05 +01:00
README.md Make username config field optional 2025-12-15 19:05:05 +01:00
resource.rc Add app icon on windows 2025-03-03 23:14:50 +01:00

GiTTY

GiTTY Logo

Go Report Card

An efficient and user-focused command-line tool developed in Go for simplified SSH management. GiTTY allows you to pre-configure your frequently accessed SSH servers in a structured configuration file. Subsequently, establishing connections to these servers is made seamless by utilizing your default terminal emulator.

Uses bubbletea and lipgloss for terminal UI.

Configuration (TOML)

GiTTY reads its configuration from .gitty.toml in the working directory. Connections are defined as an array of tables under [[connection]].

A minimal example is shown below; copy it into .gitty.toml and adjust values.

[[connection]]
hostname = "example.com"      # required
username = "admin"            # optional
comment  = "Test server"      # optional
command  = "echo 'Connected'" # optional
args     = ["-p", "22"]       # optional

[[connection]]
username = "guest"
hostname = "another-server.net"

Building

Linux

go build

Windows

windres -o resource.syso resource.rc
go build

The windres command is optional, but without it, the final executable won't have the GiTTY icon. windres is included in mingw-w64-binutils.

License

GPL-3.0