Skip to content

Blize/zignal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zignal

An easy simple terminal chatting app, for the rare occasions you are on some device where
you don't wanna install anything properly and you wanna talk with people on your local network

Installation

  1. Clone the repo:
git clone https://github.com/Blize/Zignal
  1. Build the Application:
cd Zignal
zig build
cd zig-out/bin
  1. Go to Usage

Usage

Note

Currently there is max of 10 users (defined in config.zig)
You can change that, just know that one user is one OS thread!

Inside zig-out/bin or wherever the binary is, you have the following options:

Server

Write following command:

./Zignal server

Now people in your netowrk should be able to join on your IP and PORT.
For joining go to the following step.

Client

Note

Sometimes your PC doesnt allow Network connections from unknown binary's
Either try to give the correct rights to the binary or disable your firewall

To join as a Client you can either use localhost (if the Server is on the same device) or join with IP and PORT. Command:

./Zignal client [IP] [PORT]

Help

For help write:

./Zignal -h

Output:

Usage: ./Zignal <server|client> [IP] [PORT]

Options:
  server                Start the server.
  client <IP> <PORT>    Start the client and connect to the specified IP and PORT.

Examples:
  ./Zignal server
  ./Zignal client 127.0.0.1 8080

Example

example_image

Future Work

I want to make an actual clean TUI for the Clients and then the Server with Vaxis. That includes:

  1. Client:

    • Input Box
    • Chat Box
    • Add other Chats box
  2. Server:

    • Server Log Box
    • Nicer colors / Filtering between certain types of logs

About

simple, multi user, TCP chatting app in the terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages