GithubHelp home page GithubHelp logo

5ht / chat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from synrc/mail

0.0 3.0 0.0 162 KB

๐Ÿ’ฌ CHAT: Messaging Protocol

Home Page: https://chat.n2o.space

License: ISC License

Erlang 9.61% HTML 8.21% Elixir 1.34% Swift 80.83%

chat's Introduction

CHAT: Messaging Protocol

Build Status

TXT CHAT is a simple mailbox delivery protocol.

Features

  • Database Support: FS, MNESIA, ROCKSDB
  • MQ Support: GPROC, SYN
  • Formatters Support: BERT, JSON, TEXT
  • Size: 80 LOC

Intro

CHAT is an QoS=1 example of messaging system built on top of:

  • SYN for publish subscribe message queue;
  • N2O for protocols;
  • KVX for data storage;
  • and COWBOY for web server.

It also contains simple textual WebSocket protocol for debugging purposes. You can freely use this example with your favourite formatter for user terminal protocol.

$ wscat -c wss://n2o.im
> HELP
< N2O <user>
| SEND <user> <msg>
| BOX
| CUT <id>.
> N2O maxim
< USER maxim
> SEND vlad HELO
< ERROR user doesn't exist.
> N2O vlad
< USER vlad
> SEND maxim OK
< NOTIFY vlad:maxim:1556151953113322286:OK
< ACK "1556151953113322286"
> N2O maxim
< USER maxim
> BOX
< LIST
vlad:maxim:1556151953113322286:OK
> SEND maxim this is me
< NOTIFY maxim:maxim:1556152151055371152:this is me
< ACK "1556152151055371152"
> SEND maxim back again
< NOTIFY maxim:maxim:1556152157283311935:back again
< ACK "1556152157283311935"
> BOX
< LIST
vlad:maxim:1556151953113322286:OK
maxim:maxim:1556152151055371152:this is me
maxim:maxim:1556152157283311935:back again
> CUT 1556152157283311935
< ERASED 3
> BOX
< LIST
>

Documentation

The project homepage is n2o.im.

Credits

  • Maxim Sokhatsky
  • Vladimir Kirillov

OM A HUM

chat's People

Watchers

 avatar  avatar  avatar

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.