{"id":21066021,"url":"https://github.com/vavarm/projet_far","last_synced_at":"2025-08-11T06:09:39.055Z","repository":{"id":237311986,"uuid":"627839913","full_name":"vavarm/projet_far","owner":"vavarm","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-02T04:11:52.000Z","size":851,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T01:48:00.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vavarm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-14T10:09:19.000Z","updated_at":"2024-04-30T18:23:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"bfc96098-071d-4cd2-95f7-989e33aa6ef9","html_url":"https://github.com/vavarm/projet_far","commit_stats":null,"previous_names":["vavarm/projet_far"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vavarm/projet_far","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vavarm%2Fprojet_far","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vavarm%2Fprojet_far/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vavarm%2Fprojet_far/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vavarm%2Fprojet_far/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vavarm","download_url":"https://codeload.github.com/vavarm/projet_far/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vavarm%2Fprojet_far/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269838444,"owners_count":24483200,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-19T17:57:51.944Z","updated_at":"2025-08-11T06:09:39.027Z","avatar_url":"https://github.com/vavarm.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# projet_far\n\nIT Engineering project of 3rd years students at Polytech Montpellier. Messaging and file transfer client/server application written in C.\n\n## Getting Started\n\n### Prerequisites\n\n- gcc\n- [ optionnals (for the python lancher ``run.py``) ] :\n  - Gnome Terminal\n  - python3\n  - python3-tk (on debian systems: ``sudo apt install python3-tk``)\n  - install the requirements with ``pip3 install -r requirements.txt``\n- [ recommended ] :\n    - GNU/Linux system\n\n### Compiling\n\nUse the script ``compile.sh`` to compile the project. It will create a ``.out`` folder and put the compiled files in it.\n\n### Running\n\nStart the server with ``.out/server.o \u003cport1\u003e \u003cport2\u003e`` and the client with ``.out/client.o \u003cserver's address\u003e \u003cport1\u003e \u003cport2\u003e``.\n- the server's port1 is the same as the client's port1\n- the server's port2 is the same as the client's port2\n- port1 is used for the messaging, port2 is used for the file transfer, so don't use the same port for both\n- the address of the server is the IP address of the machine hosted the server or ``127.0.0.1`` if the server is on the same machine as the client\n\n#### Use the python launcher\n\nYou can also use the python launcher ``run.py`` to start servers and clients. It will open a new terminal for each one.\n\n## Project structure\n- .out: The compiled files of the final project\n- examples: Some dev examples\n- src/sprint.: The source files of the different states of the project. The final project is in ``src/sprint.4``\n- files_Client: The folder that contains the files the client can send to the server\n- files_Server: The folder that contains the files the server can send to the clients\n- run.py: The python launcher\n- channels.txt: The file that contains the channels of the server\n- manual.txt: The file that contains the list of commands usable by the client\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvavarm%2Fprojet_far","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvavarm%2Fprojet_far","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvavarm%2Fprojet_far/lists"}