Skip to content

Gossht is a terminal user interface aiming so provide a graphical solution to maintain your ssh config and establish ssh connections written in go using tview.

License

Notifications You must be signed in to change notification settings

Skryvvara/gossht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


G(h)ossht Logo

G(h)ossht - A TUI for ssh written in Go

Description

! This is a very early proof of concept

Gossht is a graphical ssh helper written in Go using tview.

Build

You can build gossht using make, all the dependencies are in the vendor directory so not even an internet connection is required to build gossht.

First, verify that go and make is installed

go version

# example
#❯ go version
#go version go1.22.5 darwin/arm64

make --version

# example
#❯ make --version
#GNU Make 3.81
#Copyright (C) 2006  Free Software Foundation, Inc.
#This is free software; see the source for copying conditions.
#There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
#PARTICULAR PURPOSE.
#
#This program built for i386-apple-darwin11.3.0

now either let the makefile automatically determine your platform and architecture

make build
./bin/<platform>-<arch>

# example
#❯ make build
#rm -rf ./bin
#mkdir -p ./bin
#Building for darwin-arm64
#GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -o ./bin/gossht-darwin-arm64 ./cmd
#./bin/gossht-darwin-arm64

or to build binaries for all platforms, simply run make

make

# example
#❯ make
#Building for linux-amd64
#GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o ./bin/gossht-linux-amd64 ./cmd
#Building for linux-arm64
#GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -o ./bin/gossht-linux-arm64 ./cmd
#Building for darwin-amd64
#GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o ./bin/gossht-darwin-amd64 ./cmd
#Building for darwin-arm64
#GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -o ./bin/gossht-darwin-arm64 ./cmd
#Building for windows-amd64
#GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o ./bin/gossht-windows-amd64.exe ./cmd
#Building for windows-arm64
#GOOS=windows GOARCH=arm64 go build -ldflags "-s -w" -o ./bin/gossht-windows-arm64.exe ./cmd
#Building for freebsd-amd64
#GOOS=freebsd GOARCH=amd64 go build -ldflags "-s -w" -o ./bin/gossht-freebsd-amd64 ./cmd
#Building for freebsd-arm64
#GOOS=freebsd GOARCH=arm64 go build -ldflags "-s -w" -o ./bin/gossht-freebsd-arm64 ./cmd

alternatively you can build the binary for the exact platform and architecture you want

make build-<platform>-<arch>

#example
#❯ make build-windows-amd64
#Building for windows-amd64
#GOOS=windows GOARCH=amd64 go build -ldflags "-s -w -X main.Version=v0.0.1-dev" -o ./bin/gossht-windows-amd64.exe ./cmd

License

Gossht is licensed under the MIT License.

About

Gossht is a terminal user interface aiming so provide a graphical solution to maintain your ssh config and establish ssh connections written in go using tview.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published