Giter Site home page Giter Site logo

html-chat's Introduction

HTML-Chat

A live-updating chat room without any browser JavaScript.

Installation

git clone https://github.com/christianbundy/html-chat.git
cd html-chat
npm install

Usage

npm start

Resources

License

AGPL-3.0

html-chat's People

Contributors

cbleslie avatar christianbundy avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cbleslie

html-chat's Issues

Upside down

@cbleslie I just merged the latest PR and it looks like the messages are reversed and the button is now on the top of the page. Is that intentional, or did I mess something up?

I done goofed.

Currently, when in the getMessages.js lambda, we pull from the redux store, and write our chunk of html body back to the client. That works... The only problem is, there is nothing doing it for everyone else.

Ideally, we would use redux subscribe to propagate the the messages to all the clients, but express isn't designed for that sort of ad-hoc transmission, we would need to go lower level into the http library?

not sure what to do with the mess I have made.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.