/parrot

A TUI irc-like chat written in go.

Primary LanguageGo

Parrot 🐦 💬

Licence Go Report Card

forthebadge

A TUI irc-like chat written in go.

Launch

options:
    -server
        default: false
        launch parrot as a server

    -addr <ip:port>
        default: 127.0.0.1:3333
        server mode: address of the server
        client mode: address to connect to
    
    -nick <nickname>
        default: guest
        nickname used to connect to a server

    -sound
        default: false
        play a sound a every new message

Note that when a client doesn't provide a nickname, a random number will be appended to 'guest' in order to avoid duplicates nicknames.

Usage

Typical use as a server:

parrot -server -addr 192.168.0.20:3333

as a client:

parrot -addr 192.168.0.20:3333 -nick JohnDoe -sound

Commands

    /date
        print the date following "Monday, 2006/01/02" format

Roadmap 🔜

  • Manage rate limiting
  • Add notification sound
  • Add a disconnect message
  • Embed notification sound in the binary file
  • Add the following commands:
    • /nick [new nick] - change the nickname
    • /who - list all users
    • /quit - quit the room
  • Write tests (in progress...)
  • Add encryption
  • Add basic UTF-8 emojis support