Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nunum/chatstory-http2-chat
- Owner: NunuM
- Created: 2020-09-05T17:05:04.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T21:05:56.000Z (over 4 years ago)
- Last Synced: 2024-11-04T19:42:30.289Z (about 2 months ago)
- Topics: chat, http2-chat, http2-server, nodejs, pwa-apps
- Language: JavaScript
- Homepage: https://chatstory.nunum.me
- Size: 377 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
#### 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.gitcd 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.