Skip to content
Akito Iwakura edited this page Mar 24, 2018 · 1 revision

Airin Chat Server

Airin is a realtime chat server based on WebSocket protocol and written in C++. Unlike other chats on GitHub it's not an example of WebSocket app but a functionally rich ready-to-use chat server. It can be used in web projects that require realtime interaction: online radios and streams, live discussion platforms, games, etc.

Installation

To use Airin in your project you need to build it first. To build it you'll need Qt SDK version 5.6 and newer (because of QNetworkRequest support in QWebSocket). Airin does not require anything besides Qt Core, Qt Database and Qt Network, which are included in Qt SDK. Just clone or download Airin and run typical qmake && make, Airin should build without any problems. To use DBMS like PostgreSQL or MySQL you also need to install or build corresponding DBMS libraries and drivers for Qt.

Configuration

Airin uses CLI-like configuration directly from the chat. To do that you need to add your login into a special table in the database. Read Configuration guide to get Airin to work.

Usage

This project is server only. You can write your own client using API Reference. You also can take a look at working example of Airin usage: KKomnata or Provoda.ch.

Clone this wiki locally