Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eiriksm/turnt-octo-bear
An extremely persistent chat application
https://github.com/eiriksm/turnt-octo-bear
Last synced: 15 days ago
JSON representation
An extremely persistent chat application
- Host: GitHub
- URL: https://github.com/eiriksm/turnt-octo-bear
- Owner: eiriksm
- Created: 2014-07-12T06:58:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-14T10:21:12.000Z (over 8 years ago)
- Last Synced: 2024-10-28T16:53:51.182Z (2 months ago)
- Language: JavaScript
- Size: 1.27 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
turnt-octo-bear
===============
[![Build Status](https://travis-ci.org/eiriksm/turnt-octo-bear.svg?branch=master)](https://travis-ci.org/eiriksm/turnt-octo-bear)
[![Dependency Status](https://david-dm.org/eiriksm/turnt-octo-bear.svg?theme=shields.io)](https://david-dm.org/eiriksm/turnt-octo-bear)An extremely persistent chat application
## What is it?
It is a real-time chat application that only shows messages after they are saved to the database.## Why is that?
Because I wanted to try [RethinkDB changefeeds](http://www.rethinkdb.com/api/javascript/#changes), and also [hapi](http://hapijs.com/) and [react](https://facebook.github.io/react/).## What does it mean in practice?
It means that if you want to send a "chat-message", the message will not show up simply because you clicked the send button. But rather because RethinkDB has said it is saved in the database. Same goes for the "chat-messages" you receive from others. They are not sent over websockets as they come in, they are sent over websockets when RethinkDB says they are saved in the database.So, an extremely persistent chat application.
## You keep saying "chat-messages" in quotes. Why is that?
That is because you are not actually seeing text when you chat with someone. You are seeing a random svg representation of the message. So as it may seem like you are sending messages and they end up as random svgs, you are actually sending the same "random" svgs each time you send the same text.Or to put it more correctly. Your message is used as the random seed in generating random "artworks".
## I see what that text says, but can you please show it in an animated gif?
Sure![Chatting with a conversation with substance](https://raw.github.com/eiriksm/turnt-octo-bear/master/chat.gif)