Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amirhnajafiz/chat-rtc
Real time server for chatting with Golang.
https://github.com/amirhnajafiz/chat-rtc
chat go golang real-time realtime rtc websocket websocket-server websockets
Last synced: 3 months ago
JSON representation
Real time server for chatting with Golang.
- Host: GitHub
- URL: https://github.com/amirhnajafiz/chat-rtc
- Owner: amirhnajafiz
- Created: 2022-10-03T07:36:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-21T10:26:22.000Z (over 1 year ago)
- Last Synced: 2024-06-21T15:43:40.482Z (8 months ago)
- Topics: chat, go, golang, real-time, realtime, rtc, websocket, websocket-server, websockets
- Language: HTML
- Homepage:
- Size: 148 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chat RTC
In this project we are going to use ```fiber``` websockets and Golang
```channels``` to create a Real Time Server in order to make
a Real Time Communication system.
## What is RTC?
Real-Time Communication (RTC) is a
development platform for delivering
real-time audio and video content, or
any kind of media around the world.## Connections
Each user connects to server by calling ```/ws``` endpoint
to create a websocket. After that each data is being processed
by our rtc server.
## Run
In order to start application you can use in terminal build
commands or Docker.### In terminal
```shell
go build -o main
chmod +x ./main
./main --port 8080
```### Docker
```shell
docker build . --build-args PORT=8080 -t chat-rtc:v0.1
docker run -d -it --port 8080:8080 char-rtc:v0.1
```In your browser open ```localhost:8080```.