Skip to content
/ Birdly Public

🐦 Birdly is a P2P (Peer-To-Peer) chat client that allows you to chat with your friends in a terminal. It uses TCP sockets to establish a connection between two clients and then allows them to chat with each other.

Notifications You must be signed in to change notification settings

Matelz/Birdly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

    ____  _          ____     
   / __ )(_)________/ / /_  __
  / __  / / ___/ __  / / / / /
 / /_/ / / /  / /_/ / / /_/ / 
/_____/_/_/   \__,_/_/\__, /  
                     /____/   

🐦 A terminal based chat client.

Birdly is a P2P (Peer-To-Peer) chat client that allows you to chat with your friends in a terminal. It uses TCP sockets to establish a connection between two clients and then allows them to chat with each other.

It is built using Go and some charmbracelet's libraries like bubbletea and lipgloss witch makes it more gramourous.

πŸ“¦ Installation

You can install Birdly by running the following command:

go get -u github.com/Matelz/Birdly

go build -o birdly <path-to-installation>

πŸš€ Usage

To start Birdly, you need to run the following command:

./birdly.exe <command> ...flags
Command Description
host Use to host a server, this will open a listener on the port you specified (default: 8080)
connect Use to connect to a server, using this with no flags will connect to the localhost
Flag Description
--host Use to set the ip of the server you are connecting (default: 127.0.0.1)
--port Use to set the port of the server you are connecting or hosting (default: 8080)
--name Use to set the your username in the chat (default: anon)

Example:

./birdly.exe host --name=john --port=25565
./birdly.exe connect --name=doe --host=192.168.0.5 --port=25565

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

disclaimer: this is not meant to be a finished product, it's just a project for me to learn more about Go and networking

About

🐦 Birdly is a P2P (Peer-To-Peer) chat client that allows you to chat with your friends in a terminal. It uses TCP sockets to establish a connection between two clients and then allows them to chat with each other.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages