Skip to content

Aksh-Bansal-dev/go-terminal-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal-Chat

An awesome terminal chat application built using Golang.

TUI mode

Screenshot from 2022-06-30 22-34-22

CLI mode

Screenshot from 2022-06-30 22-34-58

How to use?

  • Start the server using go run cmd/server/main.go [-addr]
  • Start the client using go run cmd/client/main.go [-addr] [-user] [-tui] [-room]

Don't have golang installed? Download the executables from here.

  • Use :<emoji-code>: to send emoji.
  • Use >username <msg> to send a private message to username.

How it works?

It uses websockets for server-client communication and Sqlite for storing all messages.

How can I add more emojis?

Add emojis which you want to add in internal/textParser/emoji.go and create a PR.