whisper

module
v0.0.0-...-30dba9e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2025 License: GPL-3.0

README

whisper

Terminal chat client and server built with grpc and bubbletea

Developing locally

[!NOTE] In order for the below-mentioned wbuild script, you need to have fswatch installed. You can get this by running: brew install fswatch.
If on Linux, apt install fswatch.

For working on the project locally, and if on macOS, you can use the wbuild script, to watch for changes to the client package, if any files are changed inside the directory, it will find the process running from the build directory and kill it, then rebuild and rerun the most recently built binary.

I took this idea from this article about building bubbletea projects.

This project also requires that you have golangci installed in order to lint and apply proper formatting on any go code in the project, to install golangci:

macos: brew install golangci 
linux: brew install golangci 

To then run golangci run:

golangci-lint run 

whilst at the root of the module.

Building and installing the project

This project uses v1.24.2 of go, and this is required in order to compile and install the project. To make compilation easier you can find a Makefile at the root of the project, this allows you to build both binaries for the client and the server.

To properly install the client binary, run the below commands:

  cd ~/Downloads
  chmod +x whisper
  mv ./whisper /usr/local/bin/

Once moved you should be able to run whisper from any terminal on your machine!

Directories

Path Synopsis
cmd
client command
Package main provides an entrypoint for the client TUI
Package main provides an entrypoint for the client TUI
server command
pkg
client
Package client is the logical responsible for creating the TUI
Package client is the logical responsible for creating the TUI

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL