Coder Social home page Coder Social logo

walma's Introduction

Travis status

Walma - Collaborative Whiteboard

Walma is a collaborative whiteboard tool written with Node.js and CoffeeScript.

http://walma.opinsys.fi/

Installing

Install Node.js 0.6.x and MongoDB (tested with 2.0.x)

git clone git://github.com/opinsys/walma.git
cd walma

Install dependencies

npm install

Setup database

bin/setupdb

Production run

npm start

And point your browser to http://localhost:1337

Hacking

Development run

bin/develop

Tests

npm test

Copyright

Copyright © 2010 Opinsys Oy

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

walma's People

Contributors

esamattis avatar jpkorhonen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

walma's Issues

Live shapes

Now shape is sent to the other client after mouse click has been lift up. It could be sent continuously as user draws it.

Help dialogs

Whiteboard should show some help dialog when user opens it the first time. It should tell about collaborative features and its mission.

Remove confusing tools

For screenshot functionality there is no need for slides so it should be removed. Also circle is pretty useless.

Implement zoom

It's hard to do smaller drawings with tablets without it.

Publishing crashes node server

When I publish the whiteboard, the node server crashes with the following output:

        throw err;
              ^
TypeError: Object #<Stream> has no method 'readBuffer'
    at exports.Drawing.Drawing._readData (/media/sf_Data/webSites/exoLang/sites/all/whiteboard/lib/drawmodel.coffee:322:19)
    at self.collection.collection.find.cursor.nextObject.self.currentChunk.Chunk.n (/media/sf_Data/webSites/exoLang/sites/all/whiteboard/node_modules/mongodb/lib/mongodb/gridfs/gridstore.js:210:15)
    at nthChunk (/media/sf_Data/webSites/exoLang/sites/all/whiteboard/node_modules/mongodb/lib/mongodb/gridfs/gridstore.js:559:9)
    at Cursor.nextObject (/media/sf_Data/webSites/exoLang/sites/all/whiteboard/node_modules/mongodb/lib/mongodb/cursor.js:540:5)
    at Cursor.nextObject.commandHandler (/media/sf_Data/webSites/exoLang/sites/all/whiteboard/node_modules/mongodb/lib/mongodb/cursor.js:522:14)
    at g (events.js:193:14)
    at EventEmitter.emit (events.js:123:20)
    at Db._callHandler (/media/sf_Data/webSites/exoLang/sites/all/whiteboard/node_modules/mongodb/lib/mongodb/db.js:1472:25)
    at Server.connect.connectionPool.on.server._serverState (/media/sf_Data/webSites/exoLang/sites/all/whiteboard/node_modules/mongodb/lib/mongodb/connection/server.js:430:30)
    at MongoReply.parseBody (/media/sf_Data/webSites/exoLang/sites/all/whiteboard/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:127:5)
npm ERR! [email protected] start: node server.js
npm ERR! sh "-c" "node server.js" failed with 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the whiteboard package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node server.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls whiteboard
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.2.0-32-generic-pae
npm ERR! command "nodejs" "/usr/bin/npm" "start"
npm ERR! cwd /media/sf_Data/webSites/exoLang/sites/all/whiteboard
npm ERR! node -v v0.8.12
npm ERR! npm -v 1.1.63
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /media/sf_Data/webSites/exoLang/sites/all/whiteboard/npm-debug.log
npm ERR! not ok code 0```

I'm not sure what tools walma uses on the server side - it looks like it's a problem with Mongo...

Thanks for your help

Navigation map

Navigation map in right bottom corner would help when working with big drawings.

The map would show a small scale version of the drawing and the position and size of the view port.

Icons

Buttons with text labels are boring.

Can we use some freely available clip art or should we draw something our self?

Design a frontpage

Add some general information.

  1. What is it
  2. What collaborative means in whiteboard
  3. Who's
  4. Link to source code
  5. Link to screenshot tool

Logo?

Snapshots for lecture notes

Snapshot saving button. Teacher could use it to create lecture notes during teaching.

Every press would save a snapshot of the current picture and these could be viewed by students after the lecture.

Clean up the UI

Currently it is a dump of buttons.

Maybe we could work with two buttons. One for tool selection and one for misc stuff like saving public image, activating the remote controller etc.

Smart toolbox

Tool box should automatically orient itself to screen.

For example if it is near bottom side the tool box should open above it, not below it as it currently does.

porting to node 0.8

This has the potential to be an awesome project. I've been working on updating walma to be used on node 0.8, but I've hit a snag. I changed the npm-shrinkwrap file to use all updated dependency versions, and it finally installed (http://pastebin.com/23E5sEjd). However, when I run walma, I get several errors (http://pastebin.com/uT0RSW8B) I've hit the limit of what I know. Would someone be able to look at it?

Publish smallest possible image

Not the whole view port. Need to keep track of two sizes in drawarea.coffee. The canvas size (=browser size) and the drawing size.

Dynamic icons

Tools icons should reflect the selected settings.

For example line icon should be red when red is selected.

npm start

Hello opinsys !

I have a problem to make the app on local server, when I enter npm start i have:

node server.js

/Users/Eric/Desktop/MVP Otablo/walma/whiteboard.coffee:9
app = express.createServer();
^
TypeError: express.createServer is not a function
at Object. (/Users/Eric/Desktop/MVP Otablo/walma/whiteboard.coffee:9:17)
at Object. (/Users/Eric/Desktop/MVP Otablo/walma/whiteboard.coffee:314:4)
at Module._compile (internal/modules/cjs/loader.js:777:30)
at Object.require.extensions..coffee (/Users/Eric/Desktop/MVP Otablo/walma/node_modules/coffee-script/lib/coffee-script.js:14:21)
at Module.load (internal/modules/cjs/loader.js:643:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:683:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (/Users/Eric/Desktop/MVP Otablo/walma/server.js:2:1)
at Module._compile (internal/modules/cjs/loader.js:777:30)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Eric/.npm/_logs/2019-08-01T13_45_23_794Z-debug.log

Infinite panning to every direction

Users can currently pan infinitely to down and right, but not left and up. It should be possible to pan every direction always and the canvas shoudld resize and redraw itself correctly.

Optimize startup speed

  1. Stream drawing history. Currently it is sent as a one big dump and drawing is started after it is transferred. Streaming would allow immediate drawing.
  2. Optimize background and cache image loading. We could do these in parallel.
  3. Save background as jpeg? PNGs are quite big
  4. (Pack drawing history json in binary strings. Not relevant in near future... example)

Option for activating collaboration

Sometimes users will likely want to disable collaboration features so that no one can disturb.

This depends on #5. Need to know who's the master etc.

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.