{"id":25443924,"url":"https://github.com/sayoonnn/ft_irc","last_synced_at":"2025-05-16T01:09:19.387Z","repository":{"id":277989334,"uuid":"766449075","full_name":"sayoonnn/ft_irc","owner":"sayoonnn","description":"ft_irc","archived":false,"fork":false,"pushed_at":"2025-02-17T11:27:57.000Z","size":1206,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T12:25:44.653Z","etag":null,"topics":["cpp","irc","socket"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sayoonnn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-03-03T09:51:31.000Z","updated_at":"2025-02-17T11:28:01.000Z","dependencies_parsed_at":"2025-02-17T12:25:57.153Z","dependency_job_id":"2c3b6c03-dcc1-49b3-9a64-6008e3fd5f65","html_url":"https://github.com/sayoonnn/ft_irc","commit_stats":null,"previous_names":["sayoonnn/ft_irc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayoonnn%2Fft_irc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayoonnn%2Fft_irc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayoonnn%2Fft_irc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayoonnn%2Fft_irc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sayoonnn","download_url":"https://codeload.github.com/sayoonnn/ft_irc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448627,"owners_count":22072765,"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":["cpp","irc","socket"],"created_at":"2025-02-17T15:17:50.797Z","updated_at":"2025-05-16T01:09:14.380Z","avatar_url":"https://github.com/sayoonnn.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IRC 서버 (ft_irc)\n\n![npm](https://img.shields.io/badge/cmake-064F8C?style=for-the-badge\u0026logo=cmake\u0026logoColor=white)\n![npm](https://img.shields.io/badge/cpp-A8B9CC?style=for-the-badge\u0026logo=cplusplus\u0026logoColor=white)\n\n이 프로젝트는 `C++98` 표준을 기반으로 작성된 IRC 서버 구현 프로젝트입니다.  \nIRC(Internet Relay Chat)는 실시간 텍스트 기반 채팅 시스템으로, \n이 프로젝트 에서는 클라이언트 연결, 채널 관리, 메시지 브로드캐스팅 등 IRC의 핵심 기능들을 지원합니다.\n\n\u003cbr/\u003e\n\n## 구현 기술\n\n- **네트워크 프로그래밍**: TCP/IP 소켓을 이용한 클라이언트-서버 통신 구현\n- **이벤트 처리**: `kqueue`를 사용하여 비동기 이벤트 기반 처리를 수행\n- **파일 구성**\n  - `src/` 디렉터리: 서버 및 클라이언트 관련 소스 파일과 명령어 구현\n  - `include/` 디렉터리: 헤더 파일 (명령어 응답, 데이터 타입, 유틸리티 함수 등)\n  - `Makefile`: 빌드 자동화 스크립트\n\n\u003cbr/\u003e\n\n## 빌드 및 실행\n\n1. 터미널에서 프로젝트 루트 디렉터리로 이동합니다.\n2. 다음 명령어로 프로젝트를 빌드합니다:\n   ```bash\n   make\n   ```\n3. 빌드가 완료되면, 아래와 같이 서버를 실행합니다:\n   ```bash\n   ./ircserv \u003c포트번호\u003e \u003c비밀번호\u003e\n   ```\n   예:\n   ```bash\n   ./ircserv 6667 secret\n   ```\n\n\u003cbr/\u003e\n\n## 주요 기능\n\n- **클라이언트 연결 및 인증**\n  - 클라이언트는 서버에 접속 후 `NICK`, `USER`, `PASS` 등의 명령어를 통해 인증을 완료합니다.\n  - 인증 실패 시, 적절한 에러 메시지가 전송됩니다.\n\n- **채널 생성 및 관리**\n  - `JOIN` 명령어를 통해 새로운 채널에 참여하거나, 채널이 없을 경우 자동으로 생성됩니다.\n  - 채널에 대한 최대 인원 제한 및 비밀번호(key)를 설정할 수 있습니다.\n  - `TOPIC` 명령어를 통해 채널의 주제를 설정하거나 확인할 수 있습니다.\n  - `INVITE` 및 `KICK` 명령어를 통해 사용자를 초대하거나 강제 퇴장시킬 수 있습니다.\n\n- **메시지 전송**\n  - `PRIVMSG` 명령어를 사용하여 특정 사용자 또는 채널에 메시지를 보낼 수 있습니다.\n  - 서버는 명령어에 따른 응답 메시지와 에러 메시지를 정의된 포맷(RPL, ERR)을 통해 클라이언트에 전송합니다.\n\n- **모드 및 권한 관리**\n  - `MODE` 명령어를 통해 채널 모드(예: +i, +t, +k, +l, +o)를 설정하고 변경할 수 있습니다.\n  - 채널 운영자(OP) 권한을 부여하거나 회수하는 기능이 포함되어 있습니다.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayoonnn%2Fft_irc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsayoonnn%2Fft_irc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayoonnn%2Fft_irc/lists"}