Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Multiplayer SocialCalc with WebSocket - Also see https://github.com/audreyt/ethercalc
JavaScript Perl
Branch: master
#2 Compare This branch is 240 commits ahead of DanBricklin:master.
Failed to load latest commit information.
cpan * Add ContentLength middleware, and make a requirements.txt in prepar…
docs * Various small fixes; replacing the doc pdf with a link.
images Merge commit 'dbrick/master'
third-party * Add PocketIO/lib to third-party/lib/ and remove the redundant web-s…
Changes.txt Upgraded to Tracy's drag palette images and their radii,
LEGAL.txt Added text subtype "tr" (text rich) to formula1.js and socialcalc3.js
LICENSE.txt Added text subtype "tr" (text rich) to formula1.js and socialcalc3.js
Makefile.PL * Add dotcloud integration.
README Merge remote-tracking branch 'origin/master'
SocialCalcServersideUtilities.pm * Fix typo: In datatype, use "v" for numeric value, not "n".
TODO add unwinding TODO
app.psgi * Add ContentLength middleware, and make a requirements.txt in prepar…
dotcloud.yml * Add stand-alone Fliggy server for dotClout thanks to @miyagawa++
formatnumber2.js Major additions (see Changes.txt for specifics and bug fixes):
formula1.js * Establish baseline before merging from dbrick.
index.css * Add support for image and wafls
index.mt * Switch from Web::Hippie to PocketIO.
multiserver.pl * Switch from Web::Hippie to PocketIO.
nginx.conf * Add stand-alone Fliggy server for dotClout thanks to @miyagawa++
player.js * Switch from Web::Hippie to PocketIO.
postinstall * Add stand-alone Fliggy server for dotClout thanks to @miyagawa++
requirements.txt * Add ContentLength middleware, and make a requirements.txt in prepar…
simpleedit14.pl Initial commit
simpleedit15.pl Changed dragging vertical thumb to display part of each proposed new …
socialcalc-3.js * Fix a simple typo that renders non-numeric cells as numeric.
socialcalc.css * Add note on CSS-based combination of multiple inset shadows.
socialcalc2demo-0-8-1.html Moved sum button into socialcalcspreadsheetcontrol.js, made OLPC vers…
socialcalc2demo10.html Added socialcalc2demo10.html. Upgraded socialcalcserver.pl to have in…
socialcalcconstants.js Upgraded to Tracy's drag palette images and their radii,
socialcalcpopup.js * Remove ST-specific dialog code.
socialcalcserver.pl Major additions (see Changes.txt for specifics and bug fixes):
socialcalcspreadsheetcontrol.js Major additions (see Changes.txt for specifics and bug fixes):
socialcalctableeditor.js * Fix {bz: 4953}: Chrome wants "window.focus=true" instead of "window…
socialcalcviewer.js Upgraded to Tracy's drag palette images and their radii,
socketpolicy.pl * Add socketpolicy.pl and include web-socket-js so legacy browsers work.
ssctrltest1.html * Add support for localStorage for ssctrltest1.html.

README

                                -=[Multiplayer Socialcalc]=-

  >> See https://github.com/audreyt/socialcalc/wiki for a book chapter on this project! <<

                            .oO( Advertisement for EtherCalc )Oo.

    Please note that this repository hosts a proof-of-concept that provides
    no capability to save/load spreadsheetgs.

    However, a Node.js port with Redis storage backend is now available at:

        https://github.com/audreyt/ethercalc

    There are now two public playgrounds for experimenting EtherCalc:

        http://ethercalc.org/
        http://ethercalc.no.de/

    Please feel free to take a look at it too!

                                .oO( Setup Instructions )Oo.

0. Install JSON, Fliggy, Protocol::WebSocket and Try::Tiny:

    sudo cpan
    cpan> notest install JSON Fliggy Protocol::WebSocket Try::Tiny

1. Then check out this project and run the stand-alone server:

    git clone git://github.com/audreyt/socialcalc.git

    cd socialcalc
    perl multiserver.pl

2. Open port 9999 in multiple browsers with WebSocket support.

3. See red triangles representing peer cursors.
   Type in a browser, appears in all others!

Browsers currently tested:
    Native WebSocket: Safari 5, Chrome 5, Firefox 4 beta1.
    Flash emulation: Firefox 3, Opera 10.

Share & Enjoy!
Audrey
Something went wrong with that request. Please try again.