Giter VIP home page Giter VIP logo

ouronote's Introduction

ouronote

Real-time collaborative whiteboard web app built with Angular, GUN, and paper.js.

per-user permissions

Drawings are publicly accessible (between your peers), but only users you invite may edit them.

Running the project

Prerequisites

Install Required Software

  • node
  • Yarn / NPM package manager
  • Docker (optional)

Clone this project

git clone https://github.com/nsreed/ouronote.git

cd ouronote

Install Packages

note: npm should also work for the following commands

yarn install

Running with Docker

Build Projects

yarn build

docker-compose

docker-compose.yml will use the project directory as a volume. This means you must have the project built before hosting.

yarn build demo

Generate self-signed certs (not required for localhost)

openssl req -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out ouronote-dev.crt -keyout ouronote-dev.key
docker-compose up -d

Navigate to https://localhost:4430 or http://localhost:8080

Development

Without live reloading (recommended)

  1. Run the above steps for docker-compose.
  2. Run yarn build:watch

Angular CLI

For the time being, a GUN relay peer is required on localhost:8765.

  • To run a local peer using Docker, you may either follow the instructions for docker-compose above, or run docker run -p 8765:8765 gundb/gun
  • Or follow the GUN Installation documentation

Run ng serve. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Disclaimers

This project is in early experimental development. One could even call it a proof of concept. As such, please be aware:

  • Future versions may not be backwards compatible
  • Project has issues with Firefox/Safari. Chrome/chromium works best

Use at your own discretion!

// TODO

  • Peerless mode/peer configuration
  • Cordova (or react native rewrite) for mobile/desktop
  • Iris integration?
  • Tests
  • Non-chromium browser support

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.