ReallyTinyChat is a really tiny chat powered by the WebRTC technology.
Currently it works only with local connections.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
To run the RTC-server change to the rtc-server directory and run the following commands:
go build && ./rtc-server
cd
to the rtc-client directory:
cd rtc-client
- Install the dependencies:
npm install
- To run the frontend in the development mode:
npm start
To run the frontend in the release mode:
npm build && \
npm install serve && \
npx serve -s build
RTC-client establishes a connection with RTC-server via TLS. The certificate that RTC-server uses when deployed locally is self-signed and, thus, invalid. To deploy and test the service locally you must add a security exception for the address https://localhost:4443
in your browser. Check the browser documentation for details.
For RTC-server:
- Go version >= 1.9
For RTC-client:
- npm (TODO: add minimal version)
- Start the RTC-server and the RTC-client frontend (see Getting started for details)
- Open a tab in your browser on
localhost:3000
- Enter a username and a name of the chat room
- Open another tab in your browser on
localhost:3000
- Enter a different username and the name of the chat room from step 3
- Enjoy your web chat
TODO
This list is not comprehensive and not sorted in any way.
Sergey Shpak
This project is licensed under the terms of the MIT license.