Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isiah-lloyd/haptichat
A Node.js and socket.io webapp that sends vibrations to all connected clients on a button press
https://github.com/isiah-lloyd/haptichat
Last synced: about 2 months ago
JSON representation
A Node.js and socket.io webapp that sends vibrations to all connected clients on a button press
- Host: GitHub
- URL: https://github.com/isiah-lloyd/haptichat
- Owner: isiah-lloyd
- License: mit
- Created: 2015-07-08T03:48:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-08T04:13:01.000Z (over 9 years ago)
- Last Synced: 2024-10-15T18:04:24.675Z (3 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HaptiChat
A Node.js and socket.io webapp that sends vibrations to all connected clients on a button press. I made this to learn real time communcation in the web browser using WebSockets.# Features:
* Synchronized vibrations!
* Stats!
* Archaic data store to a file!# How to Run:
$ git clone https://github.com/isiah-lloyd/HaptiChat.git
$ cd HaptiChat
$ npm install
$ node index.js
On run HaptiChat will create/read from button_presses.txt to store the number of times the button has been pressed. The console will output info such as a user connecting/disconnecting or the button being pressed. The button presses will be saved to the file every three minutes or on exit.