Skip to content

Web-based spreadsheet editor with support for real-time collaboration

License

Notifications You must be signed in to change notification settings

seballot/socialcalc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SocialCalc

This is the npm package for SocialCalc, an in-browser spreadsheet editor with support for real-time collaboration. This version is based on the version used in EtherCalc.

See it in action at ethercalc.net!

Requirements

  • jQuery (only on the client-side)

Usage

You can require('socialcalc') or include node_modules/socialcalc/dist/SocialCalc.js on your web page using a script tag.

In order to create an editor instance use:

var socialCalcControl = new SocialCalc.SpreadsheetControl()
socialCalcControl.InitializeSpreadsheetControl(el /*, height, width, spacebelow*/)

This package also works in node.js. You don't need to callc InitializeSpreadsheetControl here, because that is just initializing the rendering.

Installing for developers

SocialCalc uses npm and gulp

git clone https://github.com/marcelklehr/socialcalc.git
cd socialcalc
npm install
gulp build
# Auto compile when you change some file
gulp watch 
# Open web/index.html in your browser

Licensing

Common Public Attribution License (Socialtext Inc.)

  • socialcalcspreadsheetcontrol.js
  • socialcalctableeditor.js

Artistic License 2.0 (Socialtext Inc.)

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

Mozilla Public License 2.0

  • images/sc_*.png

About

Web-based spreadsheet editor with support for real-time collaboration

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 93.8%
  • CSS 3.9%
  • HTML 2.3%