Tired of context-switching between your terminal and chat apps? Wish your command line was a bit more... conversational?
chatsh is an innovative interactive shell that seamlessly blends powerful command-line operations with real-time chat, all within your familiar terminal environment!
Built with Go and powered by gRPC, chatsh aims to be your go-to interface for both productive work and engaging discussions.
demo.mp4
The easiest way to install chatsh is using Homebrew (macOS or Linux):
brew install ponyo877/tap/chatsh- Conversational CLI: Imagine an
lsthat understands context, or avim-like interface not just for files, but for dedicated chat rooms! - Real-time Chat Rooms: Jump into persistent chat rooms directly from your terminal. Discuss projects, share snippets, or just hang out.
- Familiar Shell Experience: Use common commands in a new, interactive way.
- gRPC Powered: Robust and efficient client-server communication.
- Interactive Shell: A dynamic prompt that's more than just a command executor.
vim-like Chat Interface: Navigate and participate in chat rooms using a familiar modal UI (vimsubcommand).- Standard CLI Commands: Access essential commands like
ls,cd,cat,mkdir,pwd,rm,mv,cp,echo,grep,tail,touchwithin the chatsh environment.
- Clone the repo:
git clone https://github.com/ponyo877/chatsh.git cd chatsh - Run the server:
Run server yourself
(Default: chatsh-app-1083612487436.asia-northeast1.run.app:443 in ~/.chatsh.yaml)go run server/main.go
- In another terminal, run the client:
Build CLI
Run interractive mode
go build -o chatsh cli/main.go
Or, to jump directly into a chat room:./chatsh
./chatsh cd /home # Go to home directory ./chatsh touch test # Create new chat room ./chatsh vim test # Login new chat room
Happy Chatting & Shelling!