The Wayback Machine - https://web.archive.org/web/20201020031156/https://github.com/SheetJS/sgds
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

simplegdocserver

Simple REST Server that emulates Google Docs interface using your Excel files. (currently read-only)

Installation

(requires node + npm)

npm install -g simplegdocserver

Usage

To host files from the current directory, on port 7263:

$ simplegdocserver

To use a different port, either set the PORT environment variable or pass it as an argument:

$ simplegdocserver 8000

To host from a different directory, pass a third argument or set the BASE_DIR environment variable:

$ simplegdocserver 8000 ./test_files

Interaction with Client Libraries

Using tabletop, just set the endpoint:

   Tabletop.init( {
     endpoint:"http://localhost:7263", // <-- adjust based on server settings 
     key: "myfile.xls", // <-- the actual filename
     ...
   });

The demo directory includes a demo using mapsheet to annotate a map.

Notes

there is no caching. This is intentional: you can quickly change your data in Excel and simplegdocserver will immediately see the change.

About

Simple REST Server that emulates Google Docs interface using your Excel files (currently read-only)

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.