Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gargron/colorless-chat
Web group chat
https://github.com/gargron/colorless-chat
Last synced: about 1 month ago
JSON representation
Web group chat
- Host: GitHub
- URL: https://github.com/gargron/colorless-chat
- Owner: Gargron
- License: mit
- Created: 2016-01-05T18:29:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-12T12:01:17.000Z (almost 9 years ago)
- Last Synced: 2024-10-28T22:00:58.763Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 509 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Colorless Chat
==============Based on: Express, Socket.io, Webpack and React.js
Uses Redis as session store and Redis pubsub for potential scalability. If Redis goes down chat goes into local-only mode wherein new connections cannot be authenticated but established ones can keep chatting to each other as long as they're on the same app instance.
Deployable via Docker:
docker run -d --restart=unless-stopped \
-e BRAND="The Colorless" \
-e BASE_URL="http://thecolorless.net" \
-e REDIS_HOST="127.0.0.1" \
-e REDIS_PORT=6379 \
-e PORT=3000 \
--net=host \
gargron/colorless-chatThe above command will start a new docker container with the chat app that will always be restarted unless you manually stop the container, in the background, using the host's network interface (so the specified port will actually be taken up on the host system).
Options:
* BRAND: Name of the site displayed in the title and in the header
* BASE_URL: Used to generate links to the homepage and user profiles
* FAVICON_URL: URL of the page icon (usually .ico file)
* CHANNELS: List of channels in the header in the format `Name:id;Name:id`, by default: `/main/:default;/ru/:russian`
* PORT: Which port the chat application will bind to
* REDIS_PORT: Which Redis port to use
* REDIS_HOST: Which Redis host to use
* CLEAN_SLATE: Clean up all chat-related keys from Redis before starting
* CSS_URL: If set, this stylesheet will be embedded after the default one
* JS_URL: If set, this JS will be loaded after the default ones