This chat program creates a one to one chat session where people chat anonymously. The entire chat application is accessible over the web. No user login is required.
Since the entire server site code is in C, with several optimizations, it can be scaled to any level. So with minimal modifications to the code this chat program can be used for large scale production environments.
- Install git:
sudo apt-get install git ssh
- Setup your git identity:
git config --global user.email '<your email>'
git config --global user.name '<your name>'
- Set up your ssh
- Run:
git clone [email protected]:arkokoley/arc.git
cd arc
- Compile the server:
make
- Make changes in the repository.
- Add any new files to git index using:
git add <file names>
- Commit the changes:
git commit -am '<any message related to the change done>'
- Push to GitHub:
git push origin master
- Place a html or any file in the arc folder.
- Run:
./server -p 4000
- Open your browser and open the url:
localhost:4000
- Wait for someone else to join you at the same link. The test chat history becomes blank.
- Start Chatting.