{"id":18103849,"url":"https://github.com/simlf/network-teams","last_synced_at":"2025-04-06T05:47:53.100Z","repository":{"id":42454847,"uuid":"510756904","full_name":"simlf/network-teams","owner":"simlf","description":"A CLI server written in C to communicate with differents clients.","archived":false,"fork":false,"pushed_at":"2022-07-05T14:13:01.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T11:33:37.281Z","etag":null,"topics":["c","epitech-project","network","socket-programming"],"latest_commit_sha":null,"homepage":"https://simonlefourn.com","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simlf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-05T13:51:41.000Z","updated_at":"2023-07-26T21:35:39.000Z","dependencies_parsed_at":"2022-09-13T23:23:53.997Z","dependency_job_id":null,"html_url":"https://github.com/simlf/network-teams","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simlf%2Fnetwork-teams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simlf%2Fnetwork-teams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simlf%2Fnetwork-teams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simlf%2Fnetwork-teams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simlf","download_url":"https://codeload.github.com/simlf/network-teams/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247441006,"owners_count":20939235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","epitech-project","network","socket-programming"],"created_at":"2024-10-31T22:13:17.683Z","updated_at":"2025-04-06T05:47:53.062Z","avatar_url":"https://github.com/simlf.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My_teams\n\n## A CLI server written in C to communicate with differents clients.\n\nThe purpose of this project was to learn network programming, handling multi-clients, implementing a communication protocol.\nYou can create teams, in those teams, you can create channels, in those channels, you can create threads and you can reply to thoses threads.\n\n## Build\n\n``` zsh\nmake\n```\n\n## Usage\n\n- This will run the server on the specified port.\n\n``` zsh\n./my_teams_server \u003cPORT\u003e\n```\n\n- This will run the clients, you must specify the server IP address and port.\n\n``` zsh\n./my_teams_cli \u003cIP\u003e \u003cPORT\u003e\n```\n\nI made this project with 1 teammate:\n- [Victor Harri-Chal](https://github.com/VictorHarri-Chal \"VictorHarri-Chal\").\n\n## Features\n\n- `/help`: show help\n- `/login[“user_name”]`: set the user_name used by client\n- `/logout`: disconnect the client from the server\n- `/users`: get the list of all users that exist on the domain\n- `/user[“user_uuid”]`: get information about a user\n- `/send[“user_uuid”][“message_body”]`: send a message to a user\n- `/messages[“user_uuid”]`:list all messages exchange with an user\n- `/subscribe [“team_uuid”]`: subscribe to the event of a team and its sub directories (enable reception\nof all events from a team)\n- `/subscribed?[“team_uuid”]`: list all subscribed teams or list all users subscribed to a team\n- `/unsubscribe[“team_uuid”]`: unsubscribe from a team\n- `/use?[“team_uuid”]?[“channel_uuid”]?[“thread_uuid”]`: use specify a context team/channel/thread\n- `/create`: based on what is being used create the sub resource (see below)\n- `/list`: based on what is being used list all the sub resources (see below)\n- `/info`: based on what is being used list the current (see below)\n\n## Create\n\nWhen the context is not defined (`/use`):\n- `/create[“team_name”][“team_description”]`: create a new team\n\nWhen team_uuid is defined (`/use “team_uuid”`):\n- `/create[“channel_name”][“channel_description”]`: create a new channel\n\nWhen team_uuid and channel_uuid are defined (`/use “team_uuid” “channel_uuid”`):\n- `/create[“thread_title”][“thread_message”]`: create a new thread\n\nWhen team_uuid, channel_uuid and thread_uuid are defined (`/use “team_uuid” “channel_uuid” “thread_uuid”`):\n- `/create[“comment_body”]`: create a new reply\n___\nCheck my [portfolio](http://simonlefourn.com) for more informations on this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimlf%2Fnetwork-teams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimlf%2Fnetwork-teams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimlf%2Fnetwork-teams/lists"}