{"repo":"jsa-aerial/hanasu","free":true,"listed":false,"github":"https://github.com/jsa-aerial/hanasu","clone":"git clone https://github.com/jsa-aerial/hanasu.git","description":"A very light weight, simple websocket based messaging system in Clojure(Script). Converse/talk 話す(hanasu).","language":"Clojure","stars":26,"topics":["clojure","clojurescript","websockets","messaging"],"license":"MIT","category":"chat-messaging","readme_excerpt":"hanasu A very light weight, simple websocket based messaging system in Clojure(Script). Converse/talk 話す(hanasu). Installation To install, add the following to your project :dependencies : [aerial.hanasu \"0.2.7\"] General Hanasu came from a desire to have a simple general purpose messaging system that would be both accommodating and agnostic to application level messaging and semantics. The \"popular\" existing systems are typically large, complex, and rather opinionated - even in the structure and semantics of application level message composition. So, a light weight building block system focused on supporting any application level message structure and behavior was the goal. API Server start-server stop-server send-msg hanasu-handlers Client open-connection close-connection send-msg Message Envelope The only protocol is the messaging envelope protocol. Many systems conflate this with the application messaging protocol, but Hanasu explicitly separates these and an application will be able to define its own domain protocol on top of the msg envelope operation. The structure of Hanasu envelopes is very simple. All messages from servers to clients and clients to servers have the same format: Operator Channels All messaging is communicated to the user via the channels returned by start-server , on the server side, and open-connection , on the client side. These channels are where the message envelopes are placed due to the various communication actions for a connection. For example","default_branch":null,"files":null,"tree":[],"storefront":"/r/jsa-aerial","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jsa-aerial/hanasu/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}