Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0x1nf3cted/updog

Updog is a chat app in c
https://github.com/0x1nf3cted/updog

c chat cli implementation lightweight network networking socket socket-programming terminal-based tui

Last synced: 9 days ago
JSON representation

Updog is a chat app in c

Awesome Lists containing this project

README

        

# Updog 🐶: nterminal chat app

## so what's Updog? (gotcha 😆😆)

Updog is a chat app written in c, it can listen to upcoming connections from 1 client and send then receive messages from the client

## Run:

- use the script:

`mkdir build` if build doesn't exist

then:

server side : `bash ./run.sh -l [port]`

client side: `bash ./run.sh -c [ipAdress] [port]`

or

- build it manually:

`mkdir build`

`cmake ..`

`make`

`./updog`

## Improvements:

- [x] start a connection between a server and client
- [x] send and receive messages
- [x] multiple clients to connect to a server
- [x] user can send multiple messages to the server
- [x] stop the connection when the client is inactive for 1min

### Features:
- [ ] show the username of the client, and the time when the message was sent
- [ ] access those rooms with a username and a password
- [ ] allow file transfer between client and server
- [ ] secure the file transfer process

### Todo:
- [ ] make the user disconnect when he type /q after ensuring the message was sent succesfully (Bug)

❤️you're more than welcome to contribute❤️

### Example:

![video](examples/example.png)

| :exclamation: this was tested only on linux |
|-----------------------------------------|

MIT License
Copyright (c) 2023 duckduckcodes