Giter Site home page Giter Site logo

morotesovtannu / reichat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kanreisa/reichat

0.0 0.0 0.0 168 KB

A lovely paint chat application like a PaintChatApp built with Node.

Home Page: https://r2.ag/reichat-preview/

License: MIT License

JavaScript 79.86% CSS 11.70% HTML 8.43%

reichat's Introduction

reichat

A lovely paint chat application like a PaintChatApp built with Node.

npm version Linux Build Windows Build Dependency Status devDependency Status

Deploy to Heroku Deploy to Azure

Currently in development. see DEMO (below)

DEMO

Note: They are synchronized using Redis!

Screenshot

Features

  • Pen Input Support
  • Layers
  • Binary Pen / Pencil / Brush
  • Pen / Pencil / Brush
  • Watercolor Brush
  • Pixel Copy / Move
  • Zoom in / out / fullscreen
  • Chat
  • Stabilizer

Designed for

  • Pen Device (pressure/eraser supported)
  • Wacom Cintiq
  • Wacom Intuos
  • Wacom feel IT
  • Microsoft Surface Pen (Surface Pro 3 / Surface 3)
  • Microsoft Pro Pen (Surface Pro / Surface Pro 2)
  • Windows 8.1
  • Internet Explorer 11
  • Windows 10
  • Microsoft Edge
  • Mac OS X Yosemite (10.10)
  • Google Chrome 44
  • Mozilla Firefox 40

Powered by

Installing

$ npm install --global reichat

Case: Azure Websites

Deploy to Azure

for Experts

  1. open your Websites Dashboard on Portal.
  2. click Set up deployment from source control
  3. select External repository and next.
  4. repository url is https://github.com/kanreisa/reichat.git.
  5. done.

Case: Heroku

Deploy to Heroku

Updating

$ npm update --global reichat

Case: Azure Websites

  1. open your Websites Dashboard on Portal.
  2. go to the DEPLOYMENTS.
  3. click SYNC to sync latest version.

Server

$ reichat # start simply with default configurations
$ reichat --port 10133 --title "Example PaintChat Room"
$ reichat --version
$ reichat --help

Case: Azure Websites / Heroku

commands don't needed. it works automatically.

Server Configuration

reichat loads option values in the order of argument, config.json and ENV for each options.

option name Argument ENV (app settings) config.json default value
Path to config.json --config - - -
Host --host HOST host 0.0.0.0
Port --port PORT port 10133
Title --title TITLE title PaintChat
Canvas Width --canvas-width CANVAS_WIDTH canvasWidth 1920
Canvas Height --canvas-height CANVAS_HEIGHT canvasHeight 1080
Data Directory --data-dir DATA_DIR dataDir (tmpdir)
Data File Prefix --data-file-prefix DATA_FILE_PREFIX dataFilePrefix reichat_
Redis Host --redis-host REDIS_HOST redisHost -
Redis Port --redis-port REDIS_PORT redisPort 6379
Redis Password --redis-password REDIS_PASSWORD redisPassword -
Redis Key Prefix --redis-key-prefix REDIS_KEY_PREFIX redisKeyPrefix -
Max Paint Log Count --max-paint-log-count MAX_PAINT_LOG_COUNT maxPaintLogCount 2000
Max Chat Log Count --max-chat-log-count MAX_CHAT_LOG_COUNT maxChatLogCount 100
Forwarded Header --forwarded-header FORWARDED_HEADER forwardedHeader -

Forwarded Header

if in trusted proxy you can use this option for logging.

  • XFF

Shortcuts

  • Eyedropper
  • Ctrl + Alt
  • (Right Click)
  • Eyedropper (Current Layer)
  • Ctrl + Shift + Alt
  • (Shift + Right Click)
  • Hand Tool (Panning)
  • Space
  • Switch to Last Tool
  • Tab
  • Focus to Chat
  • Enter

API

  • /config
  • /canvas
  • /layers/0
  • /layers/1
  • /layers/2

Frequency Asked Questions

Pen Pressure ?

  • Currently, Pen Pressure supported on Windows.
  • Please use Microsoft Edge or Internet Explorer 11.

License

MIT

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.