A truly monstrous async web chat using no JS whatsoever on the frontend.
This is a NodeJS version for @kkuchta/css-only-chat which is implemented by Ruby.
CSS-only Chat is an asynchronous chat that sends + receives messages in the browser with no reloads and no javascript. This repository use all the tricks mentioned in css-only-chat to build a NodeJS version.
To make it simple, this repository uses an in-memory cache module (cache.js
file) to replace Redis.
- use pseudo-class
:active
to catch the click event - use attribute
background-image
to send data - use stream in the response to update the page without JavaScript
For more details, please visit @kkuchta/css-only-chat.
No external dependency. Just need a NodeJS runtime.
Supposing you have installed NodeJS, just run
npm start