Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nunum/chatstory-http2-chat

HTTP2 NodeJs Chat
https://github.com/nunum/chatstory-http2-chat

chat http2-chat http2-server nodejs pwa-apps

Last synced: 27 days ago
JSON representation

HTTP2 NodeJs Chat

Awesome Lists containing this project

README

        

### HTTP2 Chat using NodeJS HTTP2 module

This is a chat similar to chat-roulette, where you chat with strangers. You
can check this chat application [here](https://chatstory.nunum.me)

Search for a new match Chating with a stranger Stranger leaves chat

#### Installation

This chat is protected with [Google's RecaptchaV3](https://developers.google.com/recaptcha/docs/v3) for bot detection. After you create your account, change in [script import](https://github.com/NunuM/chatstory-http2-chat/blob/master/public/chat.html#L275) and [app script](https://github.com/NunuM/chatstory-http2-chat/blob/master/public/script.js#L151)

**Note** : If you want to deploy it into production, you must change the auto-sign SSL certificate.

```bash
git clone https://github.com/NunuM/chatstory-http2-chat.git

cd chatstory-http2-chat

npm install
```

#### Run

````bash
HTTP_PORT=4001 PORT=4000 RECAPTCHA_KEY=YOUR_PRIVATE_KEY npm start
````

If you are testing locally: https://localhost:4000 you must open two browsers to match with yourself, **two tabs** will not work.