Skip to content

Fizcus/ethercalc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

195 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                              -=[ EtherCalc ]=-

    Language: CoffeeScript
    Runtime: Node.js (0.8+ preferred; compatible with 0.4)
    Services: Redis (2.4+; fall-back to on-disk JSON storage if not present)
    Browsers currently tested: Safari, Chrome, Firefox, IE.

                              -[ Installation ]-

    > npm i -g ethercalc
    > ethercalc

                             -[ REST Interface ]-

    GET /_/page
        Fetch the page as a serialization in SocialCalc save format.
        
    PUT /_/page
        Replaces the page with a serialization in SocialCalc save format.

    POST /_/page?command=...
        Runs one or more commands specified as the "command" POST data parameter.

    GET /_/page/cells
        Returns a JSON representation of all defined cells in the page.

    GET /_/page/cells/A1
        Returns a JSON representation of a single cell in the page.

                               -[ Using SSL ]-

    $ openssl genrsa -out ethercalc-key.pem 1024 
    $ openssl req -new -key ethercalc-key.pem -out certrequest.csr
    $ openssl x509 -req -in certrequest.csr -signkey ethercalc-key.pem -out ethercalc-cert.pem

    bin/ethercalc --keyfile ethercalc-key.pem --certfile ethercalc-cert.pem --basepath https://localhost:8000

    Supply basepath because express's @redirect falls back to http.

                               -[ Licensing ]-

    Common Public Attribution License (Socialtext Inc.):

        socialcalcspreadsheetcontrol.js
        socialcalctableeditor.js
        images/*

    Artistic License 2.0 (Socialtext Inc.):

        formatnumber2.js
        formula1.js
        socialcalc-3.js
        socialcalcconstants.js
        socialcalcpopup.js

    MIT License (John Resig, The Dojo Foundation):

        static/jquery.js

    CC0 Public Domain (唐鳳):

        src/*.ls

About

Node.js port of Multi-user SocialCalc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors