{"id":21476109,"url":"https://github.com/amirhnajafiz/chat-rtc","last_synced_at":"2025-07-15T10:32:01.510Z","repository":{"id":76922775,"uuid":"544770132","full_name":"amirhnajafiz/chat-rtc","owner":"amirhnajafiz","description":"Real time server for chatting with Golang.","archived":false,"fork":false,"pushed_at":"2023-05-21T10:26:22.000Z","size":152,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-21T15:43:40.482Z","etag":null,"topics":["chat","go","golang","real-time","realtime","rtc","websocket","websocket-server","websockets"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"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/amirhnajafiz.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":"2022-10-03T07:36:08.000Z","updated_at":"2023-05-31T19:12:15.000Z","dependencies_parsed_at":"2024-06-21T14:36:19.408Z","dependency_job_id":null,"html_url":"https://github.com/amirhnajafiz/chat-rtc","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhnajafiz%2Fchat-rtc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhnajafiz%2Fchat-rtc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhnajafiz%2Fchat-rtc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhnajafiz%2Fchat-rtc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amirhnajafiz","download_url":"https://codeload.github.com/amirhnajafiz/chat-rtc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033272,"owners_count":17563125,"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":["chat","go","golang","real-time","realtime","rtc","websocket","websocket-server","websockets"],"created_at":"2024-11-23T10:47:16.418Z","updated_at":"2024-11-23T10:47:18.016Z","avatar_url":"https://github.com/amirhnajafiz.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat RTC\n\nIn this project we are going to use ```fiber``` websockets and Golang\n```channels``` to create a Real Time Server in order to make\na Real Time Communication system.\n\n\u003cbr /\u003e\n\n## What is RTC?\n\nReal-Time Communication (RTC) is a \ndevelopment platform for delivering \nreal-time audio and video content, or\nany kind of media around the world.\n\n## Connections\n\nEach user connects to server by calling ```/ws``` endpoint\nto create a websocket. After that each data is being processed \nby our rtc server.\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./assets/schema.png\" alt=\"schema\" width=\"500\" /\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n## Run\n\nIn order to start application you can use in terminal build\ncommands or Docker.\n\n### In terminal\n\n```shell\ngo build -o main\nchmod +x ./main\n./main --port 8080\n```\n\n### Docker\n\n```shell\ndocker build . --build-args PORT=8080 -t chat-rtc:v0.1\ndocker run -d -it --port 8080:8080 char-rtc:v0.1\n```\n\nIn your browser open ```localhost:8080```.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirhnajafiz%2Fchat-rtc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirhnajafiz%2Fchat-rtc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirhnajafiz%2Fchat-rtc/lists"}